Sun/Cluster : 原 RG 已 offline 了, 但在另外個 node 要掛載它的 volume 失敗
Node1 # clrg offline mrtest
Node2# mount /zone/mrtest
mount: No such device
mount: Cannot mount /dev/md/mrtest-ds/dsk/d106
以上失敗的原因為 disk group 還在 node 1 上, 需用 cldiskgroup 指令切換到 node 2 之後才能掛載
# cldg switch -n Node2 mrtest-ds
之後可以用 cldg show 查詢最新狀態
# cldg show
=== Device Groups ===
Device Group Name: mrtest-ds
Type: SVM
failback: false
Node List: m4000a, m4000b
preferenced: true
numsecondaries: 1
diskset name: mrtest-ds
Device Group Name: issrv1-ds
Type: SVM
failback: false
Node List: m4000a, m4000b
preferenced: true
numsecondaries: 1
diskset name: issrv1-ds
Device Group Name: issrv2-ds
Type: SVM
failback: false
Node List: m4000a, m4000b
preferenced: true
numsecondaries: 1
diskset name: issrv2-ds
Device Group Name: pw250-ds
Type: SVM
failback: false
Node List: m4000a, m4000b
preferenced: true
numsecondaries: 1
diskset name: pw250-ds
Node2# mount /zone/mrtest
mount: No such device
mount: Cannot mount /dev/md/mrtest-ds/dsk/d106
以上失敗的原因為 disk group 還在 node 1 上, 需用 cldiskgroup 指令切換到 node 2 之後才能掛載
# cldg switch -n Node2 mrtest-ds
之後可以用 cldg show 查詢最新狀態
# cldg show
=== Device Groups ===
Device Group Name: mrtest-ds
Type: SVM
failback: false
Node List: m4000a, m4000b
preferenced: true
numsecondaries: 1
diskset name: mrtest-ds
Device Group Name: issrv1-ds
Type: SVM
failback: false
Node List: m4000a, m4000b
preferenced: true
numsecondaries: 1
diskset name: issrv1-ds
Device Group Name: issrv2-ds
Type: SVM
failback: false
Node List: m4000a, m4000b
preferenced: true
numsecondaries: 1
diskset name: issrv2-ds
Device Group Name: pw250-ds
Type: SVM
failback: false
Node List: m4000a, m4000b
preferenced: true
numsecondaries: 1
diskset name: pw250-ds
留言
張貼留言