当前系统状态,可以看到lpfc启用IP功能的地址:
# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 172.16.33.70 netmask ffffff00 broadcast 172.16.33.255
ether 0:3:ba:3c:2a:d
lpfc0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 65280 index 3
inet 172.16.33.70 netmask ffffff00 broadcast 172.16.33.255
ether 0:0:c9:3d:cf:d3
在EMC中给主机分配磁盘组,此时可以看到共享磁盘,如果安装PowerPath,可以看到双路通道(本例未安装PowerPath Client):
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@0,0
1. c0t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@1,0
2. c2t0d0 <DGC-RAID5-0206 cyl 61438 alt 2 hd 256 sec 20>
/pci@1d,700000/fibre-channel@1/sd@0,0
3. c2t1d0 <drive type unknown>
/pci@1d,700000/fibre-channel@1/sd@1,0
Specify disk (enter its number): 2
selecting c2t0d0
[disk formatted]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> q
#