# dmesg |grep -i attached |grep disk
[ 2.762674] sd 0:0:2:0: [sdc] Attached SCSI disk
[ 2.762809] sd 0:0:9:0: [sdf] Attached SCSI disk
[ 2.762836] sd 0:0:6:0: [sdd] Attached SCSI disk
[ 2.762928] sd 0:0:1:0: [sdb] Attached SCSI disk
[ 2.762961] sd 0:0:8:0: [sde] Attached SCSI disk
[ 2.762997] sd 0:0:0:0: [sda] Attached SCSI disk
[18647253.012910] sd 0:0:3:0: [sdg] Attached SCSI disk
[18647313.331712] sd 0:0:4:0: [sdh] Attached SCSI disk
[26860732.210774] sd 0:0:5:0: [sdi] Attached SCSI disk
[26870984.784002] sd 0:0:10:0: [sdj] Attached SCSI disk
sd a:b:c:d
a = Hostadapter ID
b = SCSI channel
c = Device ID
d = LUN
# dmesg |grep sg |grep Attached
[ 4.025984] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 4.026346] sd 0:0:1:0: Attached scsi generic sg1 type 0
[ 4.026442] sd 0:0:2:0: Attached scsi generic sg2 type 0
[ 4.026534] sd 0:0:6:0: Attached scsi generic sg3 type 0
[ 4.026735] sd 0:0:8:0: Attached scsi generic sg4 type 0
[ 4.027240] sd 0:0:9:0: Attached scsi generic sg5 type 0
[ 4.027612] sr 3:0:0:0: Attached scsi generic sg6 type 5
[18647253.011313] sd 0:0:3:0: Attached scsi generic sg7 type 0
[18647313.330908] sd 0:0:4:0: Attached scsi generic sg8 type 0
[26860732.209070] sd 0:0:5:0: Attached scsi generic sg9 type 0
[26870984.779959] sd 0:0:10:0: Attached scsi generic sg10 type 0
"sgX" de X vmware 'de görünen Hard Disk numarasıdır.
sg10 Vmware 'deki
Hard disk 10 dur. sg10 için diskte sd
0:0:10:0 bilgisini görüyoruz. Bunun da
ilk komuttan sdj olduğunu öğreniyoruz.