티스토리 뷰

Linux OS이하에서 iSCSI 로 할당 받은 SCSI Device 정보는 아래와 같이 확인이 가능하다.

 

[root@DEDI-01 ~]#
[root@DEDI-01 ~]# iscsiadm -m session
tcp: [1] 10.217.97.231:3260,2 iqn.1986-03.com.sun:02:ea886003-c52b-cac6-ae11-dccde68a8d14
[root@DEDI-01 ~]#
[root@DEDI-01 ~]#
[root@DEDI-01 ~]# iscsiadm -m session -r 1 -P3 | grep -i "Attached SCSI devices" -B1 -A4
  ************************
  Attached SCSI devices:
  ************************
  Host Number: 5 State: running
  scsi5 Channel 00 Id 0 Lun: 37
   Attached scsi disk sdb  State: running
[root@DEDI-01 ~]#
[root@DEDI-01 ~]#
[root@DEDI-01 ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: WDC WD5002ABYS-0 Rev: 3B03
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: ATA      Model: WDC WD5002ABYS-0 Rev: 3B03
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi0 Channel: 01 Id: 04 Lun: 00
  Vendor: LSILOGIC Model: Logical Volume   Rev: 3000
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi5 Channel: 00 Id: 00 Lun: 37
  Vendor: NEXENTA  Model: COMSTAR          Rev: 1.0
  Type:   Direct-Access                    ANSI SCSI revision: 05
[root@DEDI-01 ~]#
[root@DEDI-01 ~]#
[root@DEDI-01 ~]#
[root@DEDI-01 ~]# fdisk -l 2>&- | grep Disk | grep sdb
Disk /dev/sdb: 3298.5 GB, 3298534883328 bytes
[root@DEDI-01 ~]#
[root@DEDI-01 ~]#
[root@DEDI-01 ~]#

 

반응형
반응형
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday