Software RAID question

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

 



I'm trying to mirror my two disks in my system (F12 x86_64)...

I have the following disk partitions
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md127             7692840    508960   6793104   7% /
tmpfs                  1016196       260   1015936   1% /dev/shm
/dev/md1                380760     44094    316993  13% /boot
/dev/sda6              7684844   3956688   3337780  55% /usr
/dev/md5               7692776    418204   6883800   6% /var
/dev/md7             934037448 388908936 497682148  44% /home

I am trying to get /dev/sda6 and /dev/sdb6 to become a RAID-1 volume...

I have created /dev/md6 as a degraded array and copied everything from /dev/sda6 to /dev/md6 in single user mode (actually booted from the recovery CD) and after mounting both partitions ran "find . -depth | cpio --passthrough --reset-access-time --make-directories --preserve-modification-time /mnt2" (/dev/md6 was mounted on /mnt2). The copy took a few minutes and completed successfully.

I then modified my /etc/fstab to read (only showing physical disks) (I commented the old UUID and added the new UUID)

UUID=abcf3490-11d2-4641-bf47-c33d1614066d /       ext4    defaults 1 1
UUID=e28d03fe-50ec-4313-a281-f1abecd4ed10 /boot   ext4    defaults 1 2
# following is /dev/sda6
#UUID=3b891301-1b89-447b-81e3-4ddc5c835b3f /usr    ext4    defaults 1 2
# following is /dev/md6
UUID=e0eb5abe-1765-48f7-923f-da8295b54313 /usr   ext4    defaults 1 2
UUID=e35b19c3-b303-49fc-87d4-0712ac3de571 /var    ext4    defaults 1 2
UUID=6f6600c4-5577-4617-b312-649fc2e2706a swap    swap    defaults 0 0
UUID=93cc01f6-98e7-445b-bdc4-37356588e957 /home   ext4    defaults 0 0

My mdadm.conf file reads -

MAILADDR root
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=1c0ba7ba:5b4e8354:14c0bbc3:de3ed72e ARRAY /dev/md127 level=raid1 num-devices=2 UUID=1bcb5496:c7d158e6:14c0bbc3:de3ed72e ARRAY /dev/md3 level=raid1 num-devices=2 UUID=1cea36b2:9f1a3ab8:14c0bbc3:de3ed72e ARRAY /dev/md5 level=raid1 num-devices=2 UUID=ab27f39f:f0e972c9:14c0bbc3:de3ed72e ARRAY /dev/md7 level=raid1 num-devices=2 UUID=398fe67f:959048ba:14c0bbc3:de3ed72e ARRAY /dev/md6 level=raid1 num-devices=2 UUID=9b98d1c6:73b621e1:14c0bbc3:de3ed72e


The entries for the disks in /dev/disk/by-uuid -
lrwxrwxrwx 1 root root 10 2009-12-13 15:44 3b891301-1b89-447b-81e3-4ddc5c835b3f -> ../../sda6 lrwxrwxrwx 1 root root 9 2009-12-13 15:44 e0eb5abe-1765-48f7-923f-da8295b54313 -> ../../md6


I copied the initramfs-2.6.31.6-166.fc12.x86_64.img file to another directory and decompressed and extracted it and the only reference I found in there to the raid disks was in etc/mdadm.conf which was identical what is in /etc/mdadm.conf

I can mount /dev/md6 manually (as something other than /usr) with no issues


I think I'm missing something pretty simple, another set of eyes would be appreciated

TIA, Jeff

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux