You are here

VXVM. Delete all Volume/DG/disk Config

19pespare3:/:> df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t10d0s0 5043518 1914995 3078088 39% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
swap 1008368 16 1008352 1% /var/run
swap 1008928 576 1008352 1% /tmp
/dev/md/dsk/d2 97306 2 87574 1% /fs_d2
/dev/md/dsk/d5 191611 2 172448 1% /fs_d5
/dev/dsk/c1t10d0s7 6050182 47946 5941735 1% /export/home
/dev/vx/dsk/datdg/datvol02
10321884 9 10218657 1% /data02
/dev/vx/dsk/datdg/datvol01
8297099 9 7799265 1% /data01
19pespare3:/:>
19pespare3:/:>
19pespare3:/:> umount /data02
19pespare3:/:> umount /data01
19pespare3:/:> vxvol -g datdg stopall
19pespare3:/:> vxassist -g datdg remove volume datvol01
19pespare3:/:> vxassist -g datdg remove volume datvol02
19pespare3:/:> vxassist -g datdg remove volume datvol03
19pespare3:/:> vxdg -g datdg rmdisk datdg02 datdg03
19pespare3:/:> vxdg destroy datdg
19pespare3:/:> vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t10d0s2 sliced - - error
c1t11d0s2 sliced - - error
c3t0d0s2 sliced disk01 rootdg online
c3t6d0s2 sliced - - error
c3t10d0s2 sliced - - online
c3t20d0s2 sliced - - online
c3t21d0s2 sliced - - online
c3t24d0s2 sliced - - error
19pespare3:/:> vxdisk rm c3t10d0
19pespare3:/:> vxdisk rm c3t20d0
19pespare3:/:> vxdisk rm c3t21d0
19pespare3:/:> vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t10d0s2 sliced - - error
c1t11d0s2 sliced - - error
c3t0d0s2 sliced disk01 rootdg online
c3t6d0s2 sliced - - error
c3t24d0s2 sliced - - error

Unix Systems: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.

Fatal error: Class CToolsCssCache contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (DrupalCacheInterface::__construct) in /homepages/37/d228974590/htdocs/sites/all/modules/ctools/includes/css-cache.inc on line 52