Re: Oops /etc/raidtab is gone!
Luca Berra <[email protected]> Sun, 3 Apr 2005 11:44:33 +0200
| Newsgroups | gmane.linux.mandrake.cooker.amd64 |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Apr 03, 2005 at 04:13:42AM -0500, Marc Lijour wrote: >On April 3, 2005 04:59, Luca Berra wrote: >> On Sun, Apr 03, 2005 at 12:45:03AM -0500, Marc Lijour wrote: >> >Is the upgrade supposed to remove /etc/raidtab ? >> >> yes, >> all data from raidtab is now in /etc/mdadm.conf > >I have my drive sdb7 missing here: >DEVICE /dev/sda5 /dev/sdb5 /dev/sda7 /dev/sda2 /dev/sdb2 >ARRAY /dev/md1 UUID=538fffc7:e1c9ef5e:c327834e:dc009cee auto=yes >ARRAY /dev/md2 UUID=3d45ddc7:2e817d29:35df26dd:0ad85d4f auto=yes >ARRAY /dev/md0 UUID=8613bba9:e62fedf9:574fb9b2:9524550e auto=yes >DEVICE partitions > >How do I put it back safely? don't worry: the line DEVICE partitions will cause mdadm to look into /proc/partitions to find all your drives, so sdb7 is included. You can even remove the first DEVICE line. mdadm will use the UUID to identify which drive is part of an array. >My actual status is: ># cat /proc/mdstat >Personalities : [raid1] >md2 : active raid1 sdb7[1] sda7[0] > 138536384 blocks [2/2] [UU] > >md1 : active raid1 sda5[0] sdb5[1] > 10169024 blocks [2/2] [UU] > >md0 : active raid1 sda2[0] sdb2[1] > 56128 blocks [2/2] [UU] > which means everything is working perfectly -- Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \