솔라리스(solaris)에서 연결된 스토리지 장비를 확인하는 방법에 대해 알아보겠습니다.
솔라리스에서는 주로 cfgadm, fcinfo, luxadm 커맨드를 사용하여 연결된 장비들을 확인 합니다.
아래처럼 cfgadm을 사용하면 연결된 디바이스들을 확인 및 수정할 수 있습니다.
# cfgadm -alv
Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
c0 connected configured unknown
unavailable scsi-bus n /devices/pci@1c,600000/scsi@2:scsi
c0::dsk/c0t0d0 connected configured unknown FUJITSU MAW3147NCSUN146G
unavailable disk n /devices/pci@1c,600000/scsi@2:scsi::dsk/c0t0d0
c0::dsk/c0t1d0 connected configured unknown FUJITSU MAW3147NCSUN146G
unavailable disk n /devices/pci@1c,600000/scsi@2:scsi::dsk/c0t1d0
c0::dsk/c0t2d0 connected configured unknown SEAGATE ST336607LSUN36G
unavailable disk n /devices/pci@1c,600000/scsi@2:scsi::dsk/c0t2d0
c0::dsk/c0t3d0 connected configured unknown FUJITSU MAT3073N SUN72G
unavailable disk n /devices/pci@1c,600000/scsi@2:scsi::dsk/c0t3d0
c1 connected configured unknown
unavailable fc-fabric n /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:fc
c1::216000c0ff804601 connected configured unknown
unavailable disk n /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:fc::216000c0ff804601
c1::266000c0ffe04601 connected configured unknown
unavailable disk n /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:fc::266000c0ffe04601
c2 connected unconfigured unknown
unavailable scsi-bus n /devices/pci@1c,600000/scsi@2,1:scsi
fcinfo 명령어를 통해서 hba와 연결된 디바이스들을 확인 할 수 있습니다.
# fcinfo hba-port
HBA Port WWN: 210000e08b9a1a56
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
Model: QLA2340
Firmware Version: 03.03.28
FCode/BIOS Version: fcode: 1.13;
Serial Number: not available
Driver Name: qlc
Driver Version: 20110825-3.06
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 200000e08b9a1a56
아래는 luxadm 명령어를 통해서 확인하는 방법입니다.
먼저 probe 를 이용하여 모든 장치를 확인하고, display를 통해서 자세한 내용을 확인할 수 있습니다.
# luxadm probe
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node WWN:206000c0ff004601 Device Type:Disk device
Logical Path:/dev/rdsk/c3t600C0FF00000000000460112B2BE1100d0s2
Node WWN:206000c0ff004601 Device Type:Disk device
Logical Path:/dev/rdsk/c3t600C0FF00000000000460112B2BE1101d0s2
Node WWN:206000c0ff004601 Device Type:Disk device
Logical Path:/dev/rdsk/c3t600C0FF00000000000460112B2BE1102d0s2
Node WWN:206000c0ff004601 Device Type:Disk device
Logical Path:/dev/rdsk/c3t600C0FF00000000000460112B2BE1103d0s2
Node WWN:206000c0ff004601 Device Type:Disk device
Logical Path:/dev/rdsk/c3t600C0FF00000000000460112B2BE1104d0s2
Node WWN:206000c0ff004601 Device Type:Disk device
Logical Path:/dev/rdsk/c3t600C0FF00000000000460112B2BE1105d0s2
Node WWN:206000c0ff004601 Device Type:Disk device
Logical Path:/dev/rdsk/c3t600C0FF00000000000460112B2BE1106d0s2
# luxadm display /dev/rdsk/c3t600C0FF00000000000460112B2BE1100d0s2
DEVICE PROPERTIES for disk: /dev/rdsk/c3t600C0FF00000000000460112B2BE1100d0s2
Vendor: SUN
Product ID: StorEdge 3510
Revision: 423A
Serial Num: 00460112B2BE1100
Unformatted capacity: 20000.000 MBytes
Read Cache: Enabled
Minimum prefetch: 0x0
Maximum prefetch: 0xffff
Device Type: Disk device
Path(s):
/dev/rdsk/c3t600C0FF00000000000460112B2BE1100d0s2
/devices/scsi_vhci/ssd@g600c0ff00000000000460112b2be1100:c,raw
Controller /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0
Device Address 216000c0ff804601,0
Host controller port WWN 210000e08b9a1a56
Class primary
State ONLINE
Controller /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0
Device Address 266000c0ffe04601,0
Host controller port WWN 210000e08b9a1a56
Class primary
State ONLINE
'IT 지식정리 > 운영체제' 카테고리의 다른 글
[리눅스] Linux에서 iso 파일 마운트(mount) 하기 2014. 12. 8. (0) | 2017.11.04 |
---|---|
[솔라리스] Solaris에서 disk set과 metaset(메타셋)에 대해서 2015. 2. 26. (0) | 2017.11.04 |
[솔라리스] 익스플로러(explorer) 버젼확인 2012. 7. 10. (0) | 2017.11.04 |
[솔라리스] 익스플로러(explorer) 실행 및 수집 2012. 6. 15. (0) | 2017.11.04 |
솔라리스,리눅스에서 *.bin 파일 실행 2012. 6. 15. (0) | 2017.11.04 |