[CentOS] Mounting LUNs from a SAN array - LUN mappings to devices in /dev/ - are they static?

Rafał Radecki radecki.rafal at gmail.com
Sat Oct 4 17:18:45 UTC 2014


Thanks Alexander, these links make the topic VERY clear :)
Have a nice day :)

BR,
Rafal.

2014-10-04 18:49 GMT+02:00 Alexander Dalloz <ad+lists at uni-x.org>:

> Am 04.10.2014 um 18:22 schrieb Rafał Radecki:
>
> [ ... ]
>
>  In sysfs in /sys/bus/scsi/devices/7:0:0:8 I found:
>>
>> # ll block\:sdj
>> lrwxrwxrwx 1 root root 0 Oct  4 17:57 block:sdj ->
>> ../../../../../../../../../../block/sdj
>>
>> Where else can I look for the LUN<->/dev/ device mapping rules? How are
>> the
>> LUNs mapped to operating system devices? Is there a way to add a static
>> mapping so that also on a new server after attaching SAN array LUN number
>> 8
>> will be visible as /dev/sdj? I think that there is a possibility that on a
>> new server mentioned LUN will be visible as a different /dev/sd? :( That
>> could potentially break my logical volume setup on the destination server.
>>
>> Any info will be greatly appreciated :)
>>
>> BR,
>> Rafal.
>>
>
>
> Please see
>
> https://access.redhat.com/documentation/en-US/Red_Hat_
> Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/
> persistent_naming.html
>
> https://www.centos.org/docs/5/html/5.2/Virtualization/sect-
> Virtualization-Virtualized_block_devices-Configuring_
> persistent_storage_in_a_Red_Hat_Enterprise_Linux_5_environment.html
>
> Alexander
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list