Re: Automatically detecting LUNs without a reboot

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



  On 01/09/2010 05:00, cpolish@xxxxxxxxxxxx wrote:
> On Tue, Aug 31, 2010 at 04:48:01PM +0100, Gabriel Tabares wrote:
>>    From there, I went to
>> http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_Storage_Reconfiguration_Guide/rescan-scsi-bus.html
>>
>> Where it says :
>>
>> "In order for |rescan-scsi-bus.sh| to work properly, |LUN0| must be the
>> first mapped logical unit. The |rescan-scsi-bus.sh| can only detect the
>> first mapped logical unit if it is |LUN0|. The |rescan-scsi-bus.sh| will
>> not be able to scan any other logical unit unless it detects the first
>> mapped logical unit even if you use the |--nooptscan| option. "
>>
>> So I went to the array interface, deleted the volumes and tried
>> re-creating a new volume with a LUN ID of 0, and I get the following error:
>> "Unable to create volume vd01_v001.
>> LUN zero is reserved as the SCC/SES device on this host. (vd01_v001) -
>> The LUN specified (0) must be in the range of 1 - 511."
>>
>> I can't create a LUN with ID 0, which means that rescan-scsi-bus.sh will
>> not work, as per the above text.
>>
>> Any more suggestions?
>>
>> Thanks
>>
>> Gabriel
> rescan-scsi-bus is a shell script. It accepts this argument:
>
> --luns=LIST     Scan only lun(s) in LIST
>
> so it may work for you after all?
>
OK, let me do my best Homer Simpson impersonation. DUH!!!!

That worked! How did I miss that?

Thank you so very much!

Gabriel


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux