How to discover newly-added LUNs in MPXIO
本帖最后由 chinaux 于 2010-02-01 18:58 编辑
Environment:
1. Solaris 10 Sparc or Solaris 10 X64
2. HDS AMS500
Summary of the procedure:
1. devfsadm -C
2. cfgadm -a
Details of my practice:
# mpathadm list lu | grep rdsk | inqraid -CLI
DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID
c5t4849544143484920373530313333343030303039d0s2 CL2-A 75013340 9 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303038d0s2 CL2-A 75013340 8 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303037d0s2 CL1-A 75013340 7 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303036d0s2 CL2-A 75013340 6 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303035d0s2 CL2-A 75013340 5 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303034d0s2 CL1-A 75013340 4 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303033d0s2 CL2-A 75013340 3 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303032d0s2 CL1-A 75013340 2 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303031d0s2 CL2-A 75013340 1 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303030d0s2 CL2-A 75013340 0 - s/s/ss 0000 5:00-00 DF600F
# luxadm probe | grep "Logical Path:" | sed -e 's/Logical Path://' | inqraid -CLI
DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID
c5t4849544143484920373530313333343030303039d0s2 CL1-A 75013340 9 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303038d0s2 CL1-A 75013340 8 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303037d0s2 CL2-A 75013340 7 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303036d0s2 CL1-A 75013340 6 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303035d0s2 CL1-A 75013340 5 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303034d0s2 CL2-A 75013340 4 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303033d0s2 CL1-A 75013340 3 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303032d0s2 CL2-A 75013340 2 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303031d0s2 CL1-A 75013340 1 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303030d0s2 CL1-A 75013340 0 - s/s/ss 0000 5:00-00 DF600F
# devfsadm -C
# luxadm probe | grep "Logical Path:" | sed -e 's/Logical Path://' | inqraid -CLI
DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID
c5t4849544143484920373530313333343030303039d0s2 CL2-A 75013340 9 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303038d0s2 CL2-A 75013340 8 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303037d0s2 CL1-A 75013340 7 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303036d0s2 CL2-A 75013340 6 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303035d0s2 CL2-A 75013340 5 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303034d0s2 CL1-A 75013340 4 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303033d0s2 CL2-A 75013340 3 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303032d0s2 CL1-A 75013340 2 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303031d0s2 CL2-A 75013340 1 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303030d0s2 CL2-A 75013340 0 - s/s/ss 0000 5:00-00 DF600F
# mpathadm list lu | grep rdsk | inqraid -CLI
DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID
c5t4849544143484920373530313333343030303039d0s2 CL1-A 75013340 9 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303038d0s2 CL1-A 75013340 8 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303037d0s2 CL2-A 75013340 7 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303036d0s2 CL1-A 75013340 6 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303035d0s2 CL1-A 75013340 5 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303034d0s2 CL2-A 75013340 4 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303033d0s2 CL1-A 75013340 3 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303032d0s2 CL2-A 75013340 2 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303031d0s2 CL1-A 75013340 1 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303030d0s2 CL1-A 75013340 0 - s/s/ss 0000 5:00-00 DF600F
# cfgadm -a
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t2d0 disk connected configured unknown
c6 fc-fabric connected configured unknown
c6::2100001b320074a0 unknown connected unconfigured unknown
c6::2100001b32171e7b unknown connected unconfigured unknown
c6::2100001b3217907a unknown connected unconfigured unknown
c6::50060e80102341c0 disk connected configured unknown
c7 fc-fabric connected configured unknown
c7::2100001b3200f99f unknown connected unconfigured unknown
c7::2100001b3217287b unknown connected unconfigured unknown
c7::2100001b32173c7b unknown connected unconfigured unknown
c7::50060e80102341c2 disk connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb0/3 usb-device connected configured ok
usb1/1 usb-storage connected configured ok
usb1/2 usb-floppy connected configured ok
usb1/3 unknown empty unconfigured ok
# mpathadm list lu | grep rdsk | inqraid -CLI
DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID
c5t4849544143484920373530313333343030303039d0s2 CL2-A 75013340 9 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303038d0s2 CL2-A 75013340 8 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303037d0s2 CL1-A 75013340 7 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303036d0s2 CL2-A 75013340 6 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303035d0s2 CL2-A 75013340 5 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303034d0s2 CL1-A 75013340 4 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303033d0s2 CL2-A 75013340 3 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303032d0s2 CL1-A 75013340 2 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303031d0s2 CL2-A 75013340 1 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303030d0s2 CL2-A 75013340 0 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303133d0s2 CL2-A 75013340 13 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303132d0s2 CL2-A 75013340 12 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303131d0s2 CL2-A 75013340 11 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303130d0s2 CL2-A 75013340 10 - s/s/ss 0000 5:01-00 DF600F
# luxadm probe | grep "Logical Path:" | sed -e 's/Logical Path://' | inqraid -CLI
DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID
c5t4849544143484920373530313333343030303133d0s2 CL1-A 75013340 13 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303132d0s2 CL1-A 75013340 12 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303131d0s2 CL1-A 75013340 11 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303130d0s2 CL1-A 75013340 10 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303039d0s2 CL1-A 75013340 9 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303038d0s2 CL1-A 75013340 8 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303037d0s2 CL2-A 75013340 7 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303036d0s2 CL1-A 75013340 6 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303035d0s2 CL1-A 75013340 5 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303034d0s2 CL2-A 75013340 4 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303033d0s2 CL1-A 75013340 3 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303032d0s2 CL2-A 75013340 2 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303031d0s2 CL1-A 75013340 1 - s/s/ss 0000 5:00-00 DF600F
c5t4849544143484920373530313333343030303030d0s2 CL1-A 75013340 0 - s/s/ss 0000 5:00-00 DF600F
#
P.S. Please refer to HPRC for the tool "inqraid".
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
学习了
不错,学习一下.
本帖最后由 waily 于 2010-02-02 08:24 编辑
看得有点晕,先收藏了
the newly-add lun as following,it's belong to ECC group 05-01,map to CL1-A on ASM500
--------------------------------------------------------------------------------------
c5t4849544143484920373530313333343030303133d0s2 CL1-A 75013340 13 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303132d0s2 CL1-A 75013340 12 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303131d0s2 CL1-A 75013340 11 - s/s/ss 0000 5:01-00 DF600F
c5t4849544143484920373530313333343030303130d0s2 CL1-A 75013340 10 - s/s/ss 0000 5:01-00