RAID/LVM Root Filesystem on SuSE8.2
A. Khattri
ajai
Tue Feb 8 23:00:36 PST 2005
On Tue, 8 Feb 2005, Matthew Carpenter wrote:
> md: RAID level 1 does not need chunksize! Continuing anyway.
> md1: max total readahead window set to 508k
> md1: 1 data-disks, max readahead per data-disk: 508k
> raid1: device hdc1 operational as mirror 0
> raid1: raid set md1 active with 1 out of 1 mirrors
> md: updating md1 RAID superblock on device
> md: hdc1 [events: 00000013]<6>(write) hdc1's sb offset: 104320
> [events: 00000000]
> md: invalid raid superblock magic on md1
> md: md1 has invalid sb, not importing!
> md: no nested md device found
> md: considering hdc2 ...
> md: adding hdc2 ...
> md: created md0
> md: bind<hdc2,1>
> md: running: <hdc2>
> md: hdc2's event counter: 00000014
> md: RAID level 1 does not need chunksize! Continuing anyway.
> md0: max total readahead window set to 508k
> md0: 1 data-disks, max readahead per data-disk: 508k
> raid1: device hdc2 operational as mirror 0
> raid1: raid set md0 active with 1 out of 1 mirrors
> md: updating md0 RAID superblock on device
> md: hdc2 [events: 00000015]<6>(write) hdc2's sb offset: 29206080
> [events: 2f007300]
> md: invalid raid superblock magic on md0
> md: md0 has invalid sb, not importing!
> md: no nested md device found
> md: ... autorun DONE.
> done ...
> Root-NFS: No NFS server available, giving up.
> VFS: Unable to mount root fs via NFS, trying floppy.
> VFS: Insert root floppy and press ENTER
>
> Any hints would be much appreciated! Thank you so very much.
I am using RAID boot devices on several servers with a 2.6 kernel
successfully. Im trying to understand how you built the RAID? Also what
kind of RAID is it?
If its any use, I will briefly describe the procedure I used (I used RAID
1, i.e. mirrored drives).
1. Partitioned disks and set partition type to 'Linux auto-detect RAID'.
I also made sure the two partitions that make up /boot were set as
bootable.
2. I then wrote a raidtab file (its well documented format but I can
post one of mine if need be).
3. I used mkraid to build each array.
4. I then used mke2fs to built an ext3 file system on each md device.
5. At that point I could mount the disks and do a regular install (Im
using Gentoo so no fancy GUI for me ;-) I made sure the raidtab file
was copied over to /etc on the root md device.
6. I dont use initrd's on my servers (why make things more complicated?)
so I built a kernel with SCSI and RAID support built in (no modules).
7. When installing grub, I did a separate boot sector install on the two
drives that make up md0 (/boot).
This setup seems to work for me.
--
Aj.
More information about the Linux-users
mailing list