RAID1 unable to boot
- From: "freightcar" <freightcar@xxxxxxxxx>
- Date: 27 Sep 2006 09:15:31 -0700
Debian Etch kernel 2.6.16
I am trying to convert existing ext3 fs to raid1. I created partition
table on second hdd by
"sfdisk -d /dev/sda | sfdisk /dev/sdb"
then I changed fs type to fd, created ext3 fs, created md0 " mdadm
--create /dev/md0 --level=1 --raid-disks=2 missing /dev/sdb1" mounted
the md0 to /mnt and then "cp -dprx / /mnt"
this is menu.lst from grub:
title Debian GNU/Linux, kernel 2.6.16 RAID
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz-2.6.16 root=/dev/md0
md=0,/dev/sda1,/dev/sdb1
initrd (hd0,0)/boot/initrd.img-2.6.16
savedefault
boot
title Debian GNU/Linux, kernel 2.6.16 RAID recovery
root (hd1,0)
kernel (hd1,0)/boot/vmlinuz-2.6.16 root=/dev/md0
md=0,/dev/sdb1
initrd (hd1,0)/boot/initrd.img-2.6.16
savedefault
boot
cat /proc/mdstat
Personalities : [raid1] [raid1]
md0 : active raid1 sdb1[1]
3984080 blocks super 1.0 [2/1] [_U]
unused devices: <none>
cat /etc/fstab
/dev/md0 / ext3 defaults,errors=remount-ro
0 1
mdadm --detail /dev/md0
/dev/md0:
Version : 01.00.03
Creation Time : Tue Sep 26 21:19:11 2006
Raid Level : raid1
Array Size : 3984080 (3.80 GiB 4.08 GB)
Device Size : 3984080 (3.80 GiB 4.08 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Tue Sep 26 21:19:11 2006
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Name : 0
UUID : 385d3301:1b332843:e33546a4:19b64bcf
Events : 0
Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 17 1 active sync /dev/sdb1
when I try to boot new configuration I get the folowing errors:
md: md0 stopped
mdadm: cannot open device xxx:xxx:xxx:etc No such file or directory
mdadm: xxx:xxx:xxx:etc has no superblock -assembly aborted
mdadm: /dev/md0 not identified in config file
above message is repeated 4 times for 2 diferrent devices
and then
Failure: old RAID initialisation script found, getting out of its
way...
and then root fs in not mounted and I end up in initramfs shell
tHanks for help
.
- Follow-Ups:
- Re: RAID1 unable to boot
- From: freightcar
- Re: RAID1 unable to boot
- From: John-Paul Stewart
- Re: RAID1 unable to boot
- Prev by Date: Re: PCLinuxOS .93 Big Daddy? A Piece Of ***!!!!!
- Next by Date: Re: Open source - Free software
- Previous by thread: Re: PCLinuxOS .93 Big Daddy? A Piece Of ***!!!!!
- Next by thread: Re: RAID1 unable to boot
- Index(es):