Re: System halt when re-inserting a HotSwap SCSI in Soft RAID1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jens Arnfelt wrote:

> Hi There!
>
> I have two scsi disk with idendical partitiontables (see below) 
> installed on a SCA HotSwap enable Fujitsu-Siemens server.
>
> As a test I've removed one of the disks and the /dev/md0 went in 
> degraded mode as expected. (se snip from /var/log/messages below)

[snip]

> The real problems start when I re-insert the /dev/sda.
> The systems stops all activity on HD after some errore in the 
> /var/log/messages and a hard reset is only option.


This isn't a soft raid problem, it's a SCSI layer issue:
(from the HOWTO)
"Hot-swapping with SCA

With SCA, it should be possible to hot-plug devices. However, I don't 
have the hardware to try this out, and I haven't heard from anyone who's 
tried, so I can't really give any recipe on how to do this.

If you want to play with this, you should know about SCSI and RAID 
internals anyway. So I'm not going to write something here that I can't 
verify works, instead I can give a few clues:

    * Grep for remove-single-device in linux/drivers/scsi/scsi.c
    * Take a look at raidhotremove and raidhotadd
"

Regards,
Mads Bach

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux