Documente Academic
Documente Profesional
Documente Cultură
Examples
Tags:
Veritas VM
# vxdisk list
# vxprint -ht
# vxtask list
# vxdiskadd <devicename>
rename a disk
# vxedit rename <old_diskname> <new_diskname>
take a disk offline (first remove the disk from its disk group)
(devicename=cXtXdXs2)
remove a disk
# vxdisk rm <devicename>
(see 'add a disk to volume manager - if the group does not exist, you
will be prompted)
# vxdg list
(stop any applications associated with all volumes in the disk group,
unmount and stop all volumes in the disk group:
--import (enable local access) the disk group and its disks from the
second system
# vxmirror -g <diskgroup> -a
# vxrootmir -v <medianame>
resize a volume
--stop volume
# vxedit -r rm <volumename>
»
Add new comment
64735 reads
This brings the credibility of the rest of this document into question; You have not specified
which version of Veritas this applied to ;P
»
reply
It's been a while since I've used VXVM, but I can assure you these examples are correct. I cut
and pasted them as I ran them. I believe the last version I used was 4.0, and I believe these
examples were run on 3.x. Although, I can't claim that these commands are correct for newer
versions.
http://www.adminschoice.com/docs/vxassist.htm
http://www.cuddletech.com/veritas/layeredvols/x74.html
What version does your example apply to? I'm all for keeping this info relevant and updated, so
feel free to post more details about the newer versions.
Thanks.
»
reply
I want to add new disks into a group and mirror volumes from old to new disks. I want to be able
later to remove old disks and stop mirroring.
Is it so possible?
What do think about volume movement? Is it secure?
thnx
»
reply
Lifesaver
Submitted by Dave (not verified) on Thu, 11/06/2008 - 16:01.
Just want to you know that I refer to this page all the time and it's the only way I can ever
remember how to do all this stuff. Thanks!
»
reply