[lkml]   [2002]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: RAID superblock confusion
Neil Brown writes:
> On Wednesday April 10, wrote:
> >
> > The device is set up (i.e. SCSI host driver is loaded) long before I
> > do raidstart /dev/md/0
> raidstart simply does not and cannot work reliably when your device
> numbers change around. It takes the first device listed in
> /etc/raidtab and gives it to the kernel.
> The kernel reads the superblock, finds some device numbers and tries
> to attach those devices. If device number have changed, you loose.

Sounds to me like the flaw is in the ioctl(2) interface, in that it
doesn't allow passing all the block devices in the RAID set. If it
allowed you to pass all the block devices, then it could check if all
the signatures on each block device match.

I tried the alternative of setting persistent-superblock=0 in
/etc/raidtab, but the stupid thing complained because it found a
superblock. Sigh.

If there was only a "do as I say, regardless" mode, I would be happy.
This programmer-knows-best attitude smacks of M$.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:25    [W:0.151 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site