此範例顯示如何使磁碟裝置群組 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/Solaris Volume Manager: # 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/Solaris Volume Manager: # 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 |