does it work if you mark all partitions as autostart? raidstart cannot
find all partitions in the system (obviously) and so weird things might
happen if the SCSI chain is shuffled around without raidtab being updated.
-- mingo
On Mon, 18 Oct 1999, Jakub Jelinek wrote:
> Hi!
>
> Until now I was using non-persistant superblocks, a few days ago I changed a lot
> of small (4 disk) md devices into a few big ones with persistant
> superblocks and I must say I'm quite disappointed by totally loosing control
> over what's going on and kernel doing weird things.
> The arrays work fine until I try to remove 5 SCSI disks (on which some other
> raid existed but was commented out already from raidtab). The kernel does
> not initialize most of the arrays at all.
> Attached is /proc/scsi/scsi content, /etc/raidtab, kernel messages from the
> raidstart -a command, /proc/mdstat content and kernel messages from kernel
> shuting down the arrays from immediately before the disk removal and
> immediately after it.
> Although I can hack raid superblocks manually and change device
> numbers/recalculate checksums for now, I fear as soon as one single disk
> somewhere dies off, I won't loose just a single raid0 array, but all of
> them. And I thought persistant superblocks are there exactly so that RAID
> arrays are independent of drive shuffling.
> The kernel should try hard to find a raid superblock on some other disk now
> when this functionality went into the kernel so one cannot provide a
> translation table where which disk moved to (I have edited raidtab properly
> but raidstart does not care).
>
> Is there some way how can I remove those disks from the system and avoid
> having to loose all the data on all those raid0 devices?
>
> Distribution: RH6.0 + kernel 2.2.12-29smp + rh6.1 raidtools
> Ultra Enterprise 3500, 43 disks on 5 SCSI HBAs
>
> Cheers,
> Jakub
> ___________________________________________________________________
> Jakub Jelinek | [EMAIL PROTECTED] | http://sunsite.mff.cuni.cz/~jj
> Linux version 2.3.18 on a sparc64 machine (1343.49 BogoMips)
> ___________________________________________________________________
>