On Mon, 2011-01-10 at 10:47 +0100, Per Jessen wrote:
Roger Oberholtzer wrote:
On Fri, 2011-01-07 at 16:55 +0100, Per Jessen wrote:
Roger Oberholtzer wrote:
I have moved a RAID1 setup from an 11.0 to a 11.3 system. I want to be sure I do not mess it up. I can access the system if I do:
mdadm --auto-detect
and then mount it as before. I would prefer to have this happen automatically at boot.
If you run "mdadm --examine --scan >/etc/mdadm.conf", you'll get the array(s) started at boot-up.
This seems not to work for me. I have the file, which looks like this:
ARRAY /dev/md0 UUID=d679bc98:c9dcd593:b738ad98:3a9a198a
Yes, that look fine.
But the disks are not mounted. When I try to mount by hand, this is still not enough. I need to do "mdadm --auto-detect" before I can mount.
Before you do the auto-detect, what does /proc/mdstat say? I'm guessing it is empty.
Before: Personalities: unused devices: <none> After: Personalities: [raid1] md0: active raid1 sdc1[1] sdb1[0] 293000000 blocks [2/2] [UU] unused devices: <none>
I looked at the file from 11.0 when the disks did mount properly, and the file looked like this:
DEVICE partitions ARRAY /dev/md0 level=unknown UUID=d679bc98:c9dcd593:b738ad98:3a9a198a
So I tried that file as well. Same thing. Mounting fails until I run "mdadm --auto-detect".
I must still be missing something.
Partition type 0xFD ?
fdisk -l /dev/sdc Disk /dev/sdc: 300.1 GB, 300069052416 bytes 255 heads, 63 sectors/track, 36481 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000b7f1b Device Boot Start End Blocks Id System /dev/sdc1 1 36480 293025568+ fd Linux raid autodetect Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org