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

Re: Issue on Debian Wheezy with hot-plug SAS hdd



On Tue, 26 Jun 2012 16:57:28 +0300, Кирилл Рудов wrote:

(please, no html formatted posts, thanks)

> I have HP Proliant DL380 G7 with four SAS hdd on HP SmartArray p410i.
> All hdd are configured as RAID-0. 

Wait.. unless I'm missing something, raid-0 will no prevent for data loss 
when you remove one of the disks regardless their hot-swapping 
capabilities :-o

> I installed on it Debian Wheezy (linux-image 3.2.0-amd64) without any
> troubles. But when I tried to test hot-swap I had an issue.
> Disconnected disks did not disappear from system until reboot.

And the system was still running fine after you removed the disk? Wow, I 
wonder what dmesg was saying...

> Before switch-off:
> 
> meta@ark:~$ lsscsi
> [0:0:0:0] storage HP P410i 5.12 -
> [0:0:0:1] disk HP LOGICAL VOLUME 5.12 - 
> [0:0:0:2] disk HP LOGICAL VOLUME 5.12 /dev/sda 
> [0:0:0:3] disk HP LOGICAL VOLUME 5.12 /dev/sdb 
> [0:0:0:4] disk HP LOGICAL VOLUME 5.12 /dev/sdc 
> [1:0:0:0] cd/dvd hp DVD A DS8A5LH 1HE4 /dev/sr0
> 
> ...and after:
> meta@ark:~$ lsscsi
> [0:0:0:0] storage HP P410i 5.12 -
> [0:0:0:1] disk HP LOGICAL VOLUME 5.12 - 
> [0:0:0:2] disk HP LOGICAL VOLUME 5.12 /dev/sda 
> [0:0:0:3] disk HP LOGICAL VOLUME 5.12 /dev/sdb 
> [0:0:0:4] disk HP LOGICAL VOLUME 5.12 /dev/sdc 
> [1:0:0:0] cd/dvd hp DVD A DS8A5LH 1HE4 /dev/sr0 

If you are using the stock "hpsa" driver I'd take a look at the docs:

http://www.mjmwired.net/kernel/Documentation/scsi/hpsa.txt

Greetings,

-- 
Camaleón


Reply to: