Académique Documents
Professionnel Documents
Culture Documents
Listed below is a selection of standard varitas volume manager commands and there meaning
If you think i should add any commands or more indepth expllanations then please send me an e-mail.
e-mail: neville_seed@yahoo.com
Command Meaning
Interactive front end to the vxdisk program
vxdiskadmin
vxassist naxsize This shows the largest stripe you can have on the system i.e.
http://www.geocities.com/arndike/veritas-commands.html?200823 11/23/2008
Sample Veritas commands Page 2 of 5
vxedit -g rootdg rename rename the disk disk99 to be called disk88 in the group rootdg
disk99 disk88
vxedit -g homedg set set disk99 in the group homedg to ba a hot spare
spare=on disk99
vxedit set user=red
sets the user to red, the group to green and the mode rw-rw-rw on the
group=green mode=0666
volume neville
neville
vxedit -rf rm neville remove a volume called neville and any plex(es) and subdisks
vxedit set
comment"testing" set the comment field of sunbisk subdisk01-01 to testing
subdisk01-01
vxmirror rootdisk disk99 mirror all the volumes on the disk rootdisk to the disk disk99
vxdg -g homedg rmdisk from the disk group homedg remove the disk disk99
disk99
vxdg -g homedg adddisk
in the disk group homedg add the physical disk c0t0d0 calling it disk99
disk99=c0t0d0
xvdg free display free space on the disks
http://www.geocities.com/arndike/veritas-commands.html?200823 11/23/2008
Sample Veritas commands Page 3 of 5
vxsd mv subdisk-99 move the contents of subdisk-99 to subdisk-88 then move subdisk-88 to
sundisk-88 the plex where subdisk-99 was. this leaves subdisk-99 free for whatever.
vxsd join subdisk-88
joins subdisk-88 and subdisk-77 to create the new bigger subdisk-99
subdisk-77 subdisk-99
vxplex att neville plex-01 attaches the plex plex-01 to the volume neville
vxinfo volume-name usefull info about the volume. usefull if it wont come up.
http://www.geocities.com/arndike/veritas-commands.html?200823 11/23/2008
Sample Veritas commands Page 4 of 5
vxdctl mode / enable / the enabled mode. to check this use the command vxdctl mode if it is not
disable enabled enable it.
This is the daemon that allows for extended I/O calls without blocking
calling processes.
As this is a kernel thread you cannot see it with ps hense you have to use
vxiod
the vxiod command to see if it is running.
use the command vxiod set X to set the number of threads where X is the
desired number (usually 10)
This is the main deamon and needs to be running all the time. It is started
vxconfigd
at boot time.
http://www.geocities.com/arndike/veritas-commands.html?200823 11/23/2008
Sample Veritas commands Page 5 of 5
vxmksdpart -g rootdg Rebuild the partition table after recovering from a root disk failure.
diskpart 1 0x03 0x01 This is after re-mirroring the disk
http://www.geocities.com/arndike/veritas-commands.html?200823 11/23/2008