metaset异状!蜘蛛大侠来看看
本帖最后由 yulemi 于 2011-05-04 22:02 编辑
一开始我metaset 建立磁盘组命名错误,我能顺利的删除,后来我把3个磁盘组全部建立了,但现在却删除不了,我一直用的是root用户操作的
root@HNZZ-PS-WEB-RA02 # scdidadm -L
1 HNZZ-PS-WEB-RA01:/dev/rdsk/c0t0d0 /dev/did/rdsk/d1
2 HNZZ-PS-WEB-RA01:/dev/rdsk/c1t0d0 /dev/did/rdsk/d2
3 HNZZ-PS-WEB-RA01:/dev/rdsk/c1t1d0 /dev/did/rdsk/d3
4 HNZZ-PS-WEB-RA01:/dev/rdsk/c15t600000E00D000000000129EB00030000d0 /dev/did/rdsk/d4
4 HNZZ-PS-WEB-RA02:/dev/rdsk/c5t600000E00D000000000129EB00030000d0 /dev/did/rdsk/d4
5 HNZZ-PS-WEB-RA01:/dev/rdsk/c15t600000E00D000000000129EB00020000d0 /dev/did/rdsk/d5
5 HNZZ-PS-WEB-RA02:/dev/rdsk/c5t600000E00D000000000129EB00020000d0 /dev/did/rdsk/d5
6 HNZZ-PS-WEB-RA01:/dev/rdsk/c15t600000E00D000000000129EB00010000d0 /dev/did/rdsk/d6
6 HNZZ-PS-WEB-RA02:/dev/rdsk/c5t600000E00D000000000129EB00010000d0 /dev/did/rdsk/d6
7 HNZZ-PS-WEB-RA01:/dev/rdsk/c15t600000E00D000000000129EB00000000d0 /dev/did/rdsk/d7
7 HNZZ-PS-WEB-RA02:/dev/rdsk/c5t600000E00D000000000129EB00000000d0 /dev/did/rdsk/d7
8 HNZZ-PS-WEB-RA02:/dev/rdsk/c0t0d0 /dev/did/rdsk/d8
9 HNZZ-PS-WEB-RA02:/dev/rdsk/c1t0d0 /dev/did/rdsk/d9
10 HNZZ-PS-WEB-RA02:/dev/rdsk/c1t1d0 /dev/did/rdsk/d10
root@HNZZ-PS-WEB-RA02 # metaset
Set name = syb_dg, Set number = 1
Host Owner
HNZZ-PS-WEB-RA01
HNZZ-PS-WEB-RA02
Mediator Host(s) Aliases
HNZZ-PS-WEB-RA01
HNZZ-PS-WEB-RA02
Drive Dbase
/dev/dsk/c5t600000E00D000000000129EB00000000d0 Yes
Set name = wap_dg, Set number = 2
Host Owner
HNZZ-PS-WEB-RA01
HNZZ-PS-WEB-RA02
Drive Dbase
/dev/dsk/c5t600000E00D000000000129EB00010000d0 Yes
Set name = xbase_dg, Set number = 3
Host Owner
HNZZ-PS-WEB-RA01
HNZZ-PS-WEB-RA02
Drive Dbase
/dev/dsk/c5t600000E00D000000000129EB00020000d0 Yes
root@HNZZ-PS-WEB-RA02 # metset -s syb_dg -df /dev/dsk/c5t600000E00D000000000129
EB00000000d0
bash: metset: command not found
root@HNZZ-PS-WEB-RA02 # metaset -s syb_dg -df /dev/dsk/c5t600000E00D000000000129
EB00000000d0
metaset: HNZZ-PS-WEB-RA02: syb_dg: must be owner of the set for this command
root@HNZZ-PS-WEB-RA02 # mount /dev/dsk/c5t600000E00D000000000129EB00000000d0s6
/mnt
mount: I/O error
mount: Cannot mount /dev/dsk/c5t600000E00D000000000129EB00000000d0s6
root@HNZZ-PS-WEB-RA02 #
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
1、先检查是不是本机是不是syb_dg的primary主机:
# scstat -D
2、如果不是primary主机,要先take,
# metaset -s syb_dg -t -f
# scstat -D
# metaset //这里应该能看到本机owner一列是yes,然后再尝试删除磁盘:
# metaset -s syb_dg -df /dev/dsk/c5t600000E00D000000000129EB00000000d0
3、如果上述方法无法获得owner权限进行常规删除,那只能强制在本机清除磁盘集信息了:
# metaset -s syb_dg -P
root@HNZZ-PS-WEB-RA01 # scstat -D
-- Device Group Servers --
Device Group Primary Secondary
------------ ------- ---------
-- Device Group Status --
Device Group Status
------------ ------
-- Multi-owner Device Groups --
Device Group Online Status
------------ -------------
root@HNZZ-PS-WEB-RA01 # metaset -s syb_dg -t -f
metaset: failed to notify DCS of take
root@HNZZ-PS-WEB-RA01 #
root@HNZZ-PS-WEB-RA01 # metaset -s syb_dg -df /dev/dsk/c15t600000E00D000000
29EB00000000d0
metaset: HNZZ-PS-WEB-RA01: syb_dg: must be owner of the set for this comman
root@HNZZ-PS-WEB-RA01 # metaset -s syb_dg -P
metaset: HNZZ-PS-WEB-RA01: Failed to purge hosts from DCS service: no error
回复 3# yulemi
# metaset -s syb_dg -C purge
# metaset
metaset: HNZZ-PS-WEB-RA01: syb_dg: must be owner of the set for this comman
路过,期待蜘蛛建议,。
metaset -s syb_dg -C purge
这个是正解