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/htm...
https://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-Vi...
Alexander