SCSI

From DikapediaV2
Revision as of 14:25, 11 September 2024 by Ardika Sulistija (talk | contribs) (Created page with "SCSI CONTROLLERS: ----------------- Windows vCenter ioc0:0:0:4:0 ioc0:0:0:3:0 ioc0:0:0:2:0 ioc0:0:0:0:0 ioc0:0:0:1:0 ioc2:1:0:4:0 you can see the address of device and ioc0, ioc2 mean different SCSI controllers in original vCenter LINUX -- Determine SCSI ID from Device Names in Linux (/dev/sdX) -------------------------------------------------------------------- To determine the SCSI ID from device names enter ls -d /sys/block/sd*/device/scsi_device/* linux:~ #...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SCSI CONTROLLERS:


Windows vCenter

ioc0:0:0:4:0 ioc0:0:0:3:0 ioc0:0:0:2:0 ioc0:0:0:0:0 ioc0:0:0:1:0 ioc2:1:0:4:0

   you can see the address of device and ioc0, ioc2 mean different SCSI controllers in original vCenter


LINUX -- Determine SCSI ID from Device Names in Linux (/dev/sdX)


To determine the SCSI ID from device names enter ls -d /sys/block/sd*/device/scsi_device/*

linux:~ # ls -d /sys/block/sd*/device/scsi_device/* /sys/block/sda/device/scsi_device/0:0:0:0 /sys/block/sdb/device/scsi_device/0:0:1:0 /sys/block/sdc/device/scsi_device/0:0:2:0 /sys/block/sdd/device/scsi_device/0:0:3:0 /sys/block/sde/device/scsi_device/0:0:4:0 /sys/block/sdf/device/scsi_device/0:0:5:0 /sys/block/sdg/device/scsi_device/0:0:6:0 /sys/block/sdh/device/scsi_device/0:0:8:0 /sys/block/sdi/device/scsi_device/0:0:10:0 /sys/block/sdj/device/scsi_device/0:0:12:0 /sys/block/sdk/device/scsi_device/0:0:14:0 /sys/block/sdl/device/scsi_device/1:0:0:0 /sys/block/sdm/device/scsi_device/1:0:1:0 /sys/block/sdn/device/scsi_device/1:0:2:0

You can see the the device name, and 4 numbers a:b:c:d

   a = Hostadapter ID /Host controller
   b = SCSI channel
   c = Device ID
   d = LUN