Sun Cluster 3.0 U1 系統管理手冊

3.3.19.1 範例 - 使磁碟裝置群組進入維護狀態

此範例顯示如何使磁碟裝置群組 dg-schost-1 處於維護狀態,以及如何從維護狀態移除磁碟裝置群組。


[Place the disk device group in maintenance state.] # scswitch -m -D dg-schost-1

 
[If needed, manually import the diskset or disk group.] For Solstice DiskSuite:
  # metaset -C take -f -s dg-schost-1
For VERITAS Volume Manager:
  # vxdg -t import dg1
  
[Complete all necessary repair procedures.]
  
[Release ownership.] For Solstice DiskSuite:
  # metaset -C release -s dg-schost-1
For VERITAS Volume Manager:
  # vxdg deport dg1
  
[Bring the disk device group online.] # scswitch -z -D dg-schost-1 -h phys-schost-1