Home tmade.de

Home Wiki

LUN (Logical Unit Number)

Recognise a "LUN" in a running system

VMWARE

A „LUN“ (or virtual Disk) can be recognised in VMware with the following command:

echo "- - -" > /sys/class/scsi_host/host1/scan

“host1” represents the controller ID.

Physical Machine

For QLogic-Fibrechannel-Devices (qla2xxx):

echo „scsi-qlascan“ > /proc/scsi/qla2xxx/0

or

echo „scsi-qlascan“ > /proc/scsi/qla2xxx/1

“0” and “1” represents the fibrechannel controler ID.

For other devices:

echo „scsi add-single-device 0 0 0 3“ > /proc/scsi/scsi

If HP PSP has been installed:

hp_rescan –a

Reload Kernel Partitiontable

sfdisk -R /dev/XXX