On Mon, 13 Mar 2000, Danilo Godec wrote:

> If I have a three disk RAID5 array and one disk seems to be slowly
> failing. The disks are on hot-swapable backplane. 
> 
> I know that 'echo "scsi remove-single-device X X X X" > /proc/scsi/scsi'
> works for me and I can remove and replace the disk, but NOT as long it is
> in use in RAID5 array. I don't want to stop the array for two reasons: 
> 
> 1. / file system is on it
> 2. it's a production machine, running web and mail services for a lot of
> users
> 
> Is it somehow possible to temporarily mark the disk as unused (failed?),
> apply this setting to the running array and thus 'free' the device for
> removal?
> 
Try raidhotremove /dev/md? <device to be removed>

But be prepared that your machine might go down when you physically remove
the disk, since some SCSI drivers don't handle this correctly. I think
only symbios and aic7xxx drivers do handle this. But I might be wrong.

Holger

Reply via email to