分享
 
 
 

Use EMC powermt to solve PowerPath Problem

王朝other·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

原文链接:

http://www.eygle.com/unix/Use.EMC.Powermt.Solve.Config.Problem.htm

在EMC系统中,如果你频繁的增减磁盘,重新分配规划磁盘组,那么主机可能无法正确检测到磁盘,这是后我们可以使用powermt来检测配置,

解决问题.

1.你可以会遇到如下问题

你已经分配磁盘给主机系统,但是在format时无法发现:

# format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

0. c1t0d0

/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106d9781,0

1. c1t1d0

/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106ef871,0

Specify disk (enter its number): 1

selecting c1t1d0

[disk formatted]

Warning: Current Disk has mounted partitions.

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

2.此时可以使用powermt来检测PowerPath连接状态

Powermt means:PowerPath 4.x Management Utility

# powermt display dev=all

Pseudo name=emcpower4a

CLARiiON ID=CK200041200044

Logical device ID=6006016028A610000AF03A428708D911

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP B, current=Unknown

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

2304 pci@8/fibre-channel@4 c2t0d3s0 SP B0 active dead 0 0

2304 pci@8/fibre-channel@4 c2t1d3s0 SP A0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t0d3s0 SP B0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t1d3s0 SP A0 active dead 0 0

Pseudo name=emcpower5a

CLARiiON ID=CK200041200044

Logical device ID=6006016028A610005ABD62655B08D911

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=Unknown

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

2304 pci@8/fibre-channel@4 c2t0d2s0 SP B0 active dead 0 0

2304 pci@8/fibre-channel@4 c2t1d2s0 SP A0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t0d2s0 SP B0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t1d2s0 SP A0 active dead 0 0

Pseudo name=emcpower0a

CLARiiON ID=CK200041200044

Logical device ID=6006016028A61000C65024C992D4D811

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP B, current=Unknown

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

2304 pci@8/fibre-channel@4 c2t0d0s0 SP B0 active dead 0 0

2304 pci@8/fibre-channel@4 c2t1d0s0 SP A0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t0d0s0 SP B0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t1d0s0 SP A0 active dead 0 0

Pseudo name=emcpower1a

CLARiiON ID=CK200041200044

Logical device ID=6006016028A61000F075BD4E93D4D811

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=Unknown

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

2304 pci@8/fibre-channel@4 c2t0d1s0 SP B0 active dead 0 0

2304 pci@8/fibre-channel@4 c2t1d1s0 SP A0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t0d1s0 SP B0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t1d1s0 SP A0 active dead 0 0

Pseudo name=emcpower6a

CLARiiON ID=CK200041200044

Logical device ID=6006016028A61000FC68E575620CD911

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP B, current=Unknown

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

2304 pci@8/fibre-channel@4 c2t0d4s0 SP B0 active dead 0 0

2304 pci@8/fibre-channel@4 c2t1d4s0 SP A0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t0d4s0 SP B0 active dead 0 0

2305 pci@8/fibre-channel@5 c3t1d4s0 SP A0 active dead 0 0

这些active dead的状态都是错误的.

3.执行重新配置

# powermt check

Warning: CLARiiON device path c2t0d0s0 is currently dead.

Do you want to remove it (y/n/a/q)? y

Warning: CLARiiON device path c2t0d1s0 is currently dead.

Do you want to remove it (y/n/a/q)? y

Warning: CLARiiON device path c2t0d2s0 is currently dead.

Do you want to remove it (y/n/a/q)? a

Warning: CLARiiON device path c2t0d3s0 is currently dead.

Warning: CLARiiON device path c2t0d4s0 is currently dead.

Warning: CLARiiON device path c2t1d0s0 is currently dead.

Warning: CLARiiON device path c2t1d1s0 is currently dead.

Warning: CLARiiON device path c2t1d2s0 is currently dead.

Warning: CLARiiON device path c2t1d3s0 is currently dead.

Warning: CLARiiON device path c2t1d4s0 is currently dead.

Warning: CLARiiON device path c3t0d0s0 is currently dead.

Warning: CLARiiON device path c3t0d1s0 is currently dead.

Warning: CLARiiON device path c3t0d2s0 is currently dead.

Warning: CLARiiON device path c3t0d3s0 is currently dead.

Warning: CLARiiON device path c3t0d4s0 is currently dead.

Warning: CLARiiON device path c3t1d0s0 is currently dead.

Warning: CLARiiON device path c3t1d1s0 is currently dead.

Warning: CLARiiON device path c3t1d2s0 is currently dead.

Warning: CLARiiON device path c3t1d3s0 is currently dead.

Warning: CLARiiON device path c3t1d4s0 is currently dead.

# powermt config

# powermt restore

# powermt save

# powermt display dev=all

Pseudo name=emcpower7a

CLARiiON ID=CK200041200044 [Storage Group 2]

Logical device ID=6006016028A61000482F2BA9720CD911 [LUN 1]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP B, current=SP B

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

2304 pci@8/fibre-channel@4 c2t0d0s0 SP B0 active alive 0 0

2304 pci@8/fibre-channel@4 c2t1d0s0 SP A0 active alive 0 0

2305 pci@8/fibre-channel@5 c3t0d0s0 SP B0 active alive 0 0

2305 pci@8/fibre-channel@5 c3t1d0s0 SP A0 active alive 0 0

此时的active alive状态正常.

4.此时执行format可以看到正确的磁盘

# format

Searching for disks...done

c2t0d0: configured with capacity of 40.00GB

c2t1d0: configured with capacity of 40.00GB

c3t0d0: configured with capacity of 40.00GB

c3t1d0: configured with capacity of 40.00GB

emcpower7a: configured with capacity of 40.00GB

AVAILABLE DISK SELECTIONS:

0. c1t0d0

/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106d9781,0

1. c1t1d0

/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106ef871,0

2. c2t0d0

/pci@8,700000/fibre-channel@4/sd@0,0

3. c2t1d0

/pci@8,700000/fibre-channel@4/sd@1,0

4. c3t0d0

/pci@8,700000/fibre-channel@5/sd@0,0

5. c3t1d0

/pci@8,700000/fibre-channel@5/sd@1,0

6. emcpower7a

/pseudo/emcp@7

Specify disk (enter its number): ^D

具体Powermt命令参考:

http://blog.csdn.net/eygle/archive/2004/09/23/113881.aspx

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有