Score:1

copying one virtual raid disk to another using dd

to flag
haz

Using a Dell-Perc Raid controller in Ubuntu I have a virtual disk as a raid 0 array composed of 4 physical drives (1Tb SSDs).

I would like to copy the virtual disk onto another virtual disk also raid 0 composed of 4 physical drives.

I would like to use the dd command to do this by booting from a flash drive.

Is this possible?

Zareh Kasparian avatar
us flag
the answer to your question is: "Yes". but please be aware that raid0 is not safe. if any of your 4 disks fails, whole data will be lost.
Score:2
mx flag

Legally required note: I work for Dell.

Is it possible in a strictly literal sense... yes. Is it possible in a practical sense? No for the same sorts of reasons I mention in this answer.

Your partitions will almost certainly break because the disk geometry is going to be different. All the physical addresses are going to be different because there's a very low chance that the Logical Block Addresses (LBAs) are the same. LBAs are how SSDs/NVMe present physical addresses. The SSD controller will map the LBA to a physical address but this process is transparent to the host.

This is further complicated because you have the RAID controller in the mix and it is going to be trying to stripe all this stuff.

Just because the marketing material says two drives are the same size does not make them even remotely the same drive. Ex: the guts of a Samsung drive and a Micron drive that advertise the same effective disk space could be 1000000% different. Different guts means different LBAs means broken stuff.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.