Disk Enclosures
1748182 Members
3514 Online
108759 Solutions
New Discussion юеВ

Re: rescan /dev/cciss without reboot the server - help please!

 
BiancaP.
Frequent Advisor

rescan /dev/cciss without reboot the server - help please!

I need to you know how to rescan /dev/cciss without reboot the server.
Example: if you create a new logical disc in the Storage, it will not appear in /dev until you did a reboot.
Maybe there is a way to do this... because is not good reboot the server all the time i create a new VM.

Any help, please???
5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: rescan /dev/cciss without reboot the server - help please!

I'll use some mystic power to guess about your OS ... hmm, must be a flavour of linux.

Use "hp_rescan".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
BiancaP.
Frequent Advisor

Re: rescan /dev/cciss without reboot the server - help please!

Yes, my SO is Linyx - Red Hat:

Linux lab1 2.6.9-67.ELsmp #1 SMP Thu Apr 17 08:47:35 BRT 2008 i686 i686 i386 GNU/Linux


and I have a two HP DL380 servers and one HP MSA500 storage with 10 disks of 146GB.

But this command (hp_rescan) don't exist... =/
Heironimus
Honored Contributor

Re: rescan /dev/cciss without reboot the server - help please!

If memory serves, hp_rescan is actually a part of the fibreutils package and is used to rescan HP-branded HBAs for new SAN LUNs, not for cciss devices.

If you use the ACU to create a new drive it should rescan everything for you. Do you get any errors in dmesg or logs?
Torsten.
Acclaimed Contributor

Re: rescan /dev/cciss without reboot the server - help please!

Heironimus you are right. hp_rescan is for SAN, cciss is RAID (smartarray). I didn't work with linux since years, sorry.

Google found this (I don't know if this works, but it sounds good ;-))

echo "rescan" > /proc/scsi/cciss0/1


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dana MacPhail
New Member

Re: rescan /dev/cciss without reboot the server - help please!

The echo "rescan" >> /proc/scsi/scsi won't work in this case since the system doesn't treat these as scsi devices, only cciss devices. Doing the same rescan >> /proc/cciss/cciss0 also does nothing. Did anyone ever find a way to do this without a reboot?