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

Bug#255541: software raid1 installation fails

Udo Rader wrote:

Package: debian-installer
Version: tc1

During installation I was successfully able to set up a kernel 2.6 based
software raid1 array with XFS on it, but after the reboot the array is
not accessible:

$ mount /usr
XFS: SB read failed
mount: /dev/md0: can't read superblock

Mounting one of the individual physical devices instead works and they
even contain the expected /usr file & directory structure, so the base
installation process itself was probably successful. My first thought
was that it might be /usr related and made a completely fresh install,
this time using /storage as the mount point for the array. But that
would not work either.

/etc/fstab looks ok, but I notice a missing /etc/raidtab (if that is
still neccessary for 2.6 kernels).

happy hacking

The default install doesn't seem to create entries in /etc/mdadm/mdadm.conf to start the RAID arrays configured durring install, and the startup-scripts don't seem to start all RAID arrays by default. The only RAID arrays started automatically after a fresh install seem to be the array holding root (if you have root on RAID), as this is started by the initrd scripts.

Creating an appropriate mdadm.conf file for your system should fix the problem.

Charles Steinkuehler

Reply to: