On 09/14/2011 05:13 PM, Istvan Gabor wrote:
David, I guess this is not correct. When you enter the fakeraid BIOS you can make an array and choose 'copy' option. This will make the array and copy the content of disk1 to disk2.
Or you can make the array without copying, then boot a live linux (eg knoppix) and use dd to copy disk1 to disk2.
It is not necessary to copy disk1 to disk3, make array with disks 1 and 2, and copy back the data from disk3 to the array. However I agree that it is the safest solution since you will have a complete backup.
Cheers,
Istvan
Hah!, I hope you are right. I haven't seen the copy option with any of the bios raid setups I have. The issue is getting to bios to recognize the filesystems on the existing disks while creating the dmraid arrays. e.g.: [06:54 archangel:/home/david] # dmraid -r /dev/sdd: nvidia, "nvidia_baaccaja", mirror, ok, 1465149166 sectors, data@ 0 /dev/sdc: nvidia, "nvidia_fdaacfde", mirror, ok, 976773166 sectors, data@ 0 /dev/sda: nvidia, "nvidia_fdaacfde", mirror, ok, 976773166 sectors, data@ 0 /dev/sdb: nvidia, "nvidia_baaccaja", mirror, ok, 1465149166 sectors, data@ 0 It's my understanding that the bios must create the array prior to dmraid assigning the dm-descriptor (e.g. "nvidia_fdaacfde") to the array. With all the bios setups I have, the process of designating 2 disks as an array in the bios will remove all current filesystem boundaries basically wiping the disk clean. Then after the array is created, you can re-partition the new array or use dd to restore a working install. Things may have gotten better by now. All my bios raid setups are at least 2 years old, so there may be new functionality. I sure hope there is because that would make setup a breeze... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org