当前系统状态,可以看到lpfc启用IP功能的地址:
># ifconfig -a
>lo0: flags=1000849
inet 127.0.0.1 netmask ff000000
>bge0: flags=1000843
inet 172.16.33.70 netmask ffffff00 broadcast 172.16.33.255
>ether 0:3:ba:3c:2a:d
>lpfc0: flags=1000842
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/pci@1c,600000/scsi@2/sd@0,0
>1. c0t1d0/pci@1c,600000/scsi@2/sd@1,0
>2. c2t0d0/pci@1d,700000/fibre-channel@1/sd@0,0
>3. c2t1d0/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
>!- execute, then return
>quit
>format> q
>#
>分配磁盘组后,重起主机