Raid1 device disappears on reboot
Hi
After failing to resolve this problem at the time of install (d-i rc2),
I
created a Raid1 array manually.
This box has 1 80Gb ATA disk with sarge installed. Plus 2 SATA 120Gb
drives
with the following:
description: RAID bus controller
product: 82801EB (ICH5R) SATA (cc=RAID)
vendor: Intel Corp.
physical id: 1f.2
bus info:
pci@00:1f.2
version: 02
clock: 66MHz
I created the raid device with:
mdadm -Cv /dev/md0 -n2 -l1 /dev/sda1 /dev/sdb1
cma@Mars:~$ sudo mkfs.ext3 /dev/md0
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
15007744 inodes, 30013408 blocks
1500670 blocks (5.00%) reserved for the super user
First data block=0
916 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Checked /etc/fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0
1
/dev/md0 /home ext3 defaults 0 2
/dev/hda8 /tmp ext3 defaults 0 2
/dev/hda5 /usr ext3 defaults 0 2
/dev/hda6 /var ext3 defaults 0 2
/dev/hda7 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
I then mounted it:
cma@Mars:~$ sudo mount /home
cma@Mars:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 251M 109M 129M 46% /
tmpfs 252M 0 252M 0% /dev/shm
/dev/hda8 358M 8.1M 331M 3% /tmp
/dev/hda5 4.6G 300M 4.1G 7% /usr
/dev/hda6 2.8G 81M 2.6G 3% /var
/dev/md0 113G 33M 107G 1% /home
So everything is fine and dandy until I reboot:
dmesg output:
SCSI subsystem initialized
sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org>
Capability LSM initialized
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: md0 stopped.
EXT3-fs: unable to read superblock
Once booted I try to mount or fsck /dev/md0 and it's like it disappeared
;(
Googling found posts relating to mounting / or /boot. I'm stumped ;)
Regards
Clive
--
www.clivemenzies.co.uk ...
...strategies for business
Reply to: