Linux RAID subsystem development
 help / color / mirror / Atom feed
* Diff between 2.4 and 2.6 kernels for raid
@ 2005-10-17  4:08 Paul Aviles
  0 siblings, 0 replies; only message in thread
From: Paul Aviles @ 2005-10-17  4:08 UTC (permalink / raw)
  To: linux-raid

I have a setup script that has worked great for configuring servers in the 
2.4 kernels. The scripts works from a pxe load, mounts a bunch of nfs drives 
and then partitions and formats the drives and later installs a rpms in a 
chroot mode. This works great for my Fedora Core 1 distribution, but when I 
changed the rpms for the CentOS it creates the partitions as needed, but 
when is time to boot the newly created server is gives the following error 
right after it starts checking the root filesystem

fsck.ext3 /dev/md1
invalid argument while trying to open /dev/md1

and it drops you to a shell to run maintenance on the drive. It passes all 
the test so I know the partition and formats are ok.  Are there differences 
between the way the 2.4 and 2.6 kernels handled this or anything else to 
look for?

Here is my configuration.

Thanks

Paul

/etc/fstab
/dev/md1              /         ext3    defaults                          1 
1
/dev/md2              /var      ext3    defaults,nosuid                   3 
3
/dev/md3              swap      swap    defaults                          0 
0
/dev/md4              /home     ext3    defaults,usrquota,grpquota        4 
4
none                  /proc     proc    defaults                          0 
0
none                  /dev/pts  devpts  gid=5,mode=0620                   0 
0
none                  /dev/shm  tmpfs   defaults                          0 
0

/etc/raidtab
raiddev               /dev/md1
raid-level            0
nr-raid-disks               1
nr-spare-disks        0
persistent-superblock 1
chunk-size      64
device  /dev/hda1
raid-disk       0

raiddev               /dev/md2
raid-level            0
nr-raid-disks               1
nr-spare-disks        0
persistent-superblock 1
chunk-size      64
device  /dev/hda2
raid-disk       0

raiddev               /dev/md3
raid-level            0
nr-raid-disks               1
nr-spare-disks        0
persistent-superblock 1
chunk-size      64
device  /dev/hda3
raid-disk       0

raiddev               /dev/md4
raid-level            0
nr-raid-disks               1
nr-spare-disks        0
persistent-superblock 1
chunk-size      64
device  /dev/hda4
raid-disk       0

/boot/grub/grub.conf
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title CentOS (2.6.9-11.EL)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-11.EL ro root=/dev/hda1 acpi=on
        initrd /boot/initrd-2.6.9-11.EL.img



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-17  4:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-17  4:08 Diff between 2.4 and 2.6 kernels for raid Paul Aviles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox