@@ 방법1
#yum -y install sysfsutils
# sysctool -c fc_host -v
Class = "fc_host"
Class Device = "host1"
Class Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:02:00.0/host1/fc_host/host1"
dev_loss_tmo = "45"
fabric_name = "0x100000051e04b4bf"
issue_lip = <store method only>
max_npiv_vports = "127"
node_name = "0x200000e08b9c8e5f"
npiv_vports_inuse = "0"
port_id = "0x010600"
port_name = "0x210000e08b9c8e5f"
port_state = "Online"
port_type = "NPort (fabric via point-to-point)"
speed = "4 Gbit"
supported_classes = "Class 3"
supported_speeds = "1 Gbit, 2 Gbit, 4 Gbit"
symbolic_name = "QLE2462 FW:v5.08.00 DVR:v8.04.00.08.06.4-k"
system_hostname = ""
tgtid_bind_type = "wwpn (World Wide Port Name)"
uevent =
vport_create = <store method only>
vport_delete = <store method only>
Device = "host1"
Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:02:00.0/host1"
fw_dump =
nvram = "ISP "
optrom =
optrom_ctl = <store method only>
reset = <store method only>
sfp = ""
uevent = "DEVTYPE=scsi_host"
vpd = "‚."
Class Device = "host2"
Class Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:02:00.1/host2/fc_host/host2"
dev_loss_tmo = "45"
fabric_name = "0xffffffff"
issue_lip = <store method only>
max_npiv_vports = "127"
node_name = "0x200100e08bbc8e5f"
npiv_vports_inuse = "0"
port_id = "0x000000"
port_name = "0x210100e08bbc8e5f"
port_state = "Linkdown"
port_type = "Unknown"
speed = "unknown"
supported_classes = "Class 3"
supported_speeds = "1 Gbit, 2 Gbit, 4 Gbit"
symbolic_name = "QLE2462 FW:v5.08.00 DVR:v8.04.00.08.06.4-k"
system_hostname = ""
tgtid_bind_type = "wwpn (World Wide Port Name)"
uevent =
vport_create = <store method only>
vport_delete = <store method only>
Device = "host2"
Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:02:00.1/host2"
fw_dump =
nvram = "ISP "
optrom =
optrom_ctl = <store method only>
reset = <store method only>
sfp = ""
uevent = "DEVTYPE=scsi_host"
vpd = "‚."
@@ 방법2
# cd /sys/class/fc_host
위 경로에서
# for i in 0 1 2 3 4 5; do cat host$i/device/fc_host/host$i/port_name; done
@@ 참고
/sys/class/fc_host
위 경로에서 host'n' 번호가 많아서 일일이 찾기가 힘들기 때문에 방법2로 볼 수 있다.
@@ Multipath
패키지 설치 확인
# rpm -qa | grep device-mapper-multipath
# yum -y install device-mapper-multipath ( o/s 설치시 풀패키지라면 설치 되어 있다. )
# mpathconf --enable --with_multipathd y
# /etc/multipath.conf 파일이 생성되면서, multipath 자동 설정됨
# fdisk -l
...
Disk /dev/mapper/xxxxx : xxxx GB 인식 확인
#mkfs.ext4 /dev/mapper/xxxxx 포맷 후 마운트 사용 하면 된다.
'Work > Linux(6.x)_centos' 카테고리의 다른 글
redhat NIC driver 적용 및 원복 (0) | 2014.11.12 |
---|---|
Centos Wine 설치 (0) | 2014.08.06 |
iso 파일 마운트 하기 (0) | 2014.07.19 |
보안설정 (0) | 2014.07.06 |
리눅스에서 FAT32 포맷하기 (0) | 2014.06.20 |