Encrypted MD Device
EredicatorX
eredicatorx at hugedesigns.net
Wed Apr 20 04:01:12 UTC 2011
I was running CentOS/w Xen on my home server. I decided to move to FC14
because I finally got a TV that can double as a monitor, and wanted to
give KVM and VirtualBox a try.
In all the excitement I forgot about my 500GB RAID1 disk set. It has all
of my work from the past 10 years.
I use to run these comands that I would copy and paste in after each
reboot;
cryptsetup luksOpen /dev/md0 crypt1
mount /dev/mapper/crypt1 /export/data_private
In CentOS all was well.
Now in Fedora I know I need to recreate the /dev/md0 device but I want
to do it with out harming the data on the drives.
I was tried the following;
mdadm --assemble /dev/sdc1 /dev/sdd1
mdadm: device /dev/sdc1 exists but is not an md array.
But these are both of my discs;
Disk /dev/sdc: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a75d9
Device Boot Start End Blocks Id System
/dev/sdc1 63 976768064 488384001 fd Linux raid
autodetect
Disk /dev/sdd: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b30e2
Device Boot Start End Blocks Id System
/dev/sdd1 63 976768064 488384001 fd Linux raid
autodetect
^C
Can someone help me get on the right track with this???
E./
More information about the users
mailing list