Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

vxdiskadd device_name - Bring a disk under Volume Manager control.

vgcreate /dev/vol_grp - Create a disk group


vxdg init disk_group disk_name - Add a disk to an existing disk group

vxresize -g disk_group -F vxfs vol_name length


vxassist growto vol_name new_length - these three commands increase the volume by
or to a given length

vxassist growby vol_name length_change /

vxresize -g disk_group -F vxfs vol_name \ to_length

vxassist -b shrinkby vol_name length - these three commands reduce a volume by or


to a given length

vxassist -b shrinkto vol_name newlength /

vxdg -tfC -n newname import disk_group - Import a disk group

vxdg deport disk_group - Deport a disk group

dgcfgbackup -f /pathname/filename vol_grp


- Back up volume group configuration information

gcfgrestore -n /dev/vol_grp /dev/rdsk/disk_name - Restore volume group


configuration to a particular physical volume.

vxdg deport disk_group - Destroy a disk group.

vxdg init disk_group - Destroy a disk group

vxdiskadd disk_name - Add one or more disks to the disk group

vxdg -g disk_group -k rmdisk disk_nam - Remove a disk from disk group

vxmirror -g disk_group -d yes|no disk_name [new_disk_name] - Mirroring a


disk - HP-UX 11i Version 1.5 only.

vxassist make vol_name length - Create a concatenated volume

vxassist make vol_name length layout=mirror, stripe - Create a striped mirror


volume

vxassist make vol_name length layout=raid5 - Create a RAID-5 volume

vxprint -vt - Display all volume information.

vxprint -ht vol_name - Display information about a specific volume.

vxdisk list/vxdg list - Display disk group information.

vxprint -g disk_group/vxdisk list disk_group - Display information about a specific


disk group

vxinfo/vxprint - Display information about Volume Manager volumes

vxedit rm vol_name - Remove a volume.


vxdisk rm disk_group - Remove disks from a disk group.

vxdg rmdisk disk_name - Remove disks from a disk group.

vxdg -g group_name rmdisk disk_name - Remove disks from a disk group.

vxdg deport disk_group - Deport a disk group

vxassist make vol_namelength layout=mirrorvxmake plexplex_namesdisk_name - Create a


mirrored volume/plex or add a mirror to an existing volume.

vxplex att vol_nameplex_name - Create a mirrored volume/plex or add a mirror to an


existing volume.

vxplex -o rm dis plex_name - Remove mirrors or reduce the number of plexes/mirrors.

vxedit -rf rm vol_name - Remove a volume with the plexes associated with it.

vxassist mirror vol_name - Add mirrors to a volume or increase the number of


plexes.

vxassist snapshot vol_name new_vol_name - Snapshot a volume and create a new


volume.

vxplex mv orig_plex new_plex - Move a plex.

vxvol resync - Resynchronize operations for the given volumes.

vxrecover -s vol_name - Resynchronize operations for the named volumes, or for


volumes residing on the named disks.

vxrecover -s vol_name - Start a volume.

vxvol start vol_name - Start a volume.

vxvol stop vol_name - Stop a volume.

vxedit set spare=on disk_name - Make a disk available as a hot spare.

You might also like