Encrypted MD Device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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./




-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux