Professional Documents
Culture Documents
Command Line
vxmake -g diskgroup sd subdisk_name diskname offset length vxedit -g diskgroup rm subdisk_name vxprint st vxprint -l subdisk_name vxsd assoc plex_name subdisk_name vxsd dis subdisk_name
Command Line
vxmake -g diskgroup plex plex_name sd=subdisk_name, vxplex g diskgroup att vol_name plex_name vxplex o rm dis plex_name vxvol {start|stop} vol_name vxvol {startall|stopall} vxrecover -sn vol_name vxplex g diskgroup det plex_name vxplex g diskgroup att vol_name plex_name vxmend fix {active|clean|stale} plex_name vxmend {on|off} plex_name vxvol set fastresync=on vol_name
VERITAS Education
http://us.training.veritas.com
800-327-2232 (option 2)
Copyright 2004 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans are trademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks or registered trademarks of their respective companies. Specifications and product offerings subject to change without notice. Printed in USA and the EU. August 2004.
Command Line
vxstat -g diskgroup [-i interval] [-c count] d vol_name vxtrace -g diskgroup [t duration] d [filename] o dev,disk vol_name; vxtrace l f /tmp/tracedata | pg vxbench w {read|write} i iosize=size,iocount=count filename vxbench w {rand_read|rand_write} i iosize=size,iocount=count, maxfilesize=size filename
vxassist -g diskgroup relayout vol_name layout=new_layout [attributes...] rule_name -g diskgroup run rule_name info rule_name list rule_name check vxassist -g diskgroup convert vol_name layout=new_layout [attributes...]
Command Line
Example: View the current setting for the kernel parameter vol_max_vol: # echo vol_max_vol/D | mdb k # echo vol_max_vol/E | mdb k Example: Change the VxVM kernel parameter vol_max_vol from the current value to a new value of 5000 by adding the parameter to the /kernel/drv/vxio.conf file: name="vxio" parent="pseudo" instance=0 vol_max_vol=5000; Save the file, and reboot the system.
VERITAS Education
http://us.training.veritas.com
800-327-2232 (option 2)
Copyright 2004 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans are trademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks or registered trademarks of their respective companies. Specifications and product offerings subject to change without notice. Printed in USA and the EU. August 2004.
Command Line vxassist -g diskgroup [-b] prepare origvol vxsnap -g diskgroup make source=origvol/newvol=snapvol/plex=plex vxsnap -g diskgroup make source=orig/newvol=snapvol/cachesize=size vxassist -g diskgroup make cachevolname size layout=mirror init=active
Command Line fsckptadm [-nruv] create ckpt_name mount_point fsckptadm [-cv] list mount_point mount -F vxfs -o ckpt=ckpt_name /dev/vx/dsk/diskgroup/vol:ckpt_name mount_point fsckptadm [-fm] setquotalimit mount_point hard_limit soft_limit fsckpt_restore [-l] device_name ckpt_name fsckptadm [-sv] remove ckpt_name mount_point vxassist -g diskgroup snapprint vol_name
Create a shared cache object for a space-optimized vxmake -g diskgroup cache cacheobjectname instant snapshot cachevolname=cachevol regionsize=size
name vxcdsconvert [-A] [-d defaultsfile] Converting a Non-CDS Disk -g diskgroup [-o novolstop] Group to a CDS Disk Group alignment|alldisks|disk name|group [attribute]
VERITAS Education
http://us.training.veritas.com
800-327-2232 (option 2)
Copyright 2004 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans are trademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks or registered trademarks of their respective companies. Specifications and product offerings subject to change without notice. Printed in USA and the EU. August 2004.