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.
Error | HP-UX Tips & Tricks Site

Error

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /homepages/37/d228974590/htdocs/includes/common.inc:2567) in drupal_send_headers() (line 1207 of /homepages/37/d228974590/htdocs/includes/bootstrap.inc).
  • PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'dbo229817041'@'217.160.155.192' for table 'watchdog': INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => cron [:db_insert_placeholder_2] => Attempting to re-run cron while it is already running. [:db_insert_placeholder_3] => a:0:{} [:db_insert_placeholder_4] => 4 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://hpuxtips.es/?q=content/vxvm-delete-all-volumedgdisk-config [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.162.3.15 [:db_insert_placeholder_9] => 1503351041 ) in dblog_watchdog() (line 157 of /homepages/37/d228974590/htdocs/modules/dblog/dblog.module).
The website encountered an unexpected error. Please try again later.