Quick query of common volume manager commands

Source: Internet
Author: User
Veritas Volume Manager Command set

Vxassist [-G diskgroup] Move volume! Olddisk newdisk migrates the sub-Disks in the volume between disks.

Vxassist [-G diskgroup] maxsize layout = layout [attributes]
Displays the maximum size of the volume that can be created.

Vxassist make volume length [layout = layout] [attributes] Create a volume.

Vxassist make volume length layout = mirror [nmirror = N] [attributes]
Create an image volume.

Vxassist make volume length layout = layout exclusive = on [attributes]
Create a volume that can only be opened by a single node in the cluster in the form of a row.

Vxassist make volume length layout = stripe | RAID5 [stripeunit = W] [ncol = N] [attributes]
Create a tape or raid-5 volume.

Vxassist make volume length layout = layout mirror = ctlr [attributes]
Use the image data plex on different controllers to create a volume.

Vxassist mirror volume [attributes] adds the image to the volume.

Vxassist remove mirror volume [attributes] deletes an image from a volume.

Vxassist addlog volume [attributes] adds the log to the volume.

Vxassist remove log volume [attributes] removes logs from a volume.

Vxassist snapstart volume prepares the snapshot image of the volume.

Vxassist snapshot volume snapshot creates a snapshot of the volume.

Vxassist Snapback volume snapshot combines the snapshot with the original volume.

Vxassist snapclear snapshot makes the snapshot volume independent.

Vxassist [-G diskgroup] relayout volume [layout = layout] [relayout_options]
Execute online relayout of the volume.

Vxassist relayout volume layout = RAID5 stripeunit = W ncol = N
Relay the volume into a raid-5 volume with a bandwidth of W and n columns.

Vxassist convert volume [layout = layout] [convert_options]
Converts a hierarchical volume to a non-hierarchical volume layout.

Vxassist convert volume layout = mirror-stripe
Converts a Strip Image volume to an image strip volume.

Vxassist growto volume length increases the volume to a specified size.

Vxassist growby volume length expands the volume by a specific length.

Vxassist shrinkto volume length reduces the volume to a specified size.

Vxassist shrinkby volume length reduces the volume by a specific length.

Vxassist remove Volume volume Delete volume.

Vxcommand-T tasktag [Options] [arguments] specifies the task tag of the command.

Vxdisk list [diskname] lists the disks controlled by ESX.

Vxdisk offline devicename takes the disk offline.

Vxdisk RM diskname is used to delete a disk from the Control List.

Vxdiskadm uses the menu-based interface to manage the disk.

Vxdiskadd [devicename] Add a disk specified by the device name.

Vxdg list [diskgroup] lists information about a disk group.

Vxdg-s list lists information about the shared disk groups in the cluster.

Vxdg-G diskgroup rmdisk diskname deletes the disk from its disk group.

Vxdg init diskgroup [diskname =] devicename use a pre-initialized disk to create a disk group.

Vxdg-s init diskgroup [diskname =] devicename use a pre-initialized disk to create a shared disk group in the cluster.

Vxdg [-N newname] deport diskgroup evict the disk group and rename it as needed.

Vxdg [-N newname] import diskgroup to import the disk group and rename it as needed.

Vxdg [-N newname]-s import diskgroup import the disk group shared by the cluster and rename it as needed.

Vxdg [-O expand] listmove sourcedg targetdg object... lists objects that may be affected by moving the disk group ".

Vxdg [-O expand] Move sourcedg targetdg object... move objects between disk groups.

Vxdg [-O expand] split sourcedg targetdg object... split the disk group and move the specified object into the target disk group.

Vxdg [-O expand] Join sourcedg targetdg combines two disk groups and deletes the source disk group.

Vxdg-G diskgroup set activation = ew | Ro | SW | off sets the activation mode of the shared disk group in the cluster.

Vxdg destroy diskgroup destroys the disk and releases the disk.

Vxedit rename olddisk newdisk: Rename the disk controlled by ESX.

Vxedit set reserve = on | off diskname specifies a disk in the disk group.

Vxedit set nohotuse = on | off diskname disallow/allow hot relocation of free space on the disk.

Vxedit set spare = on | off diskname Add/delete disks in the hot relocation backup disk pool.

Vxedit RM subdisk: delete a sub-disk.

Vxinfo [-G diskgroup] [Volume...] displays information about volume accessibility and availability.

Vxmake SD subdisk diskname, offset, and length create a sub-disk.

Vxmake plex SD = subdisk1 [, subdisk2,...] create a continuous plex.

Vxmake plex layout = stripe | RAID5 stwidth = W ncolumn = n SD = subdisk1 [, subdisk2,...]
Create a striped plex or raid-5 plex.

Vxmake-uusage_type vol volume [Len = length] plex = plex ,...
Create a volume from an existing plex.

Vxmend on plex re-enable the Plex for use.

Vxplex ATT volume plex mounts the plex to an existing volume.

Vxplex det plex separates the plex.

Vxplex off plex offline for maintenance.

Vxplex MV oldplex newplex replaces plex.

Vxplex CP volume newplex copies the volume to the plex.

Vxplex fix clean plex sets the state of the plex in a volume that cannot be started to clean.

Vxplex-o rM dis plex detaches from the volume and deletes the plex.

Vxrecover-G diskgroup-Sb starts all volumes in the imported disk group.

Vxrelayout-o bg reverse volume reverses the direction of the paused volume layout.

Vxresize-B-f xvfs volume length diskname...
Resizes the volume and basic Veritas File System.

Vxsd assoc plex subdisk... associate the sub-disk with the existing plex.

Vxsd assoc plex subdisk1: 0... subdiskm: The N-1 adds the subdisk to the end of the column of the Strip volume or raid-5 volume.

Vxsd aslog plex subdisk associates the log sub-disk with the existing plex.

Vxsd MV oldsubdisk newsubdisk replaces the sub-disk.

Vxsd-s size split subdisk sd1 SD2 Splits a sub-disk into two sub-disks.

Vxsd join sd1 SD2 subdisk combines two subdisks.

Vxsd dis subdisk is used to split an ionic disk from the plex.

Vxsd-o rM dis subdisk detaches from the plex and deletes the sub-disk.

Vxunreloc [-G diskgroup] original_disk migrates the sub-disk to the original disk.

Vxvol start volume initializes and starts the volume for use.

Vxvol init zero volume initializes and clears the volume for use.

Vxvol stop volume.

Vxvol set fastresync = on | off volume enables or disables fast synchronization of volumes.

Vxprint-HDR [object] prints a single row of information about objects in ESX.

Vxprint-ST [subdisk] displays information about the sub-disk.

Vxprint-Pt [plex] displays information about the plex.

Vxtask [-H] list lists Tasks running on the system.

The vxtask monitor task monitors the progress of a task.

Vxtask pause task suspends the operation of the task.

Vxtask-P list lists all paused tasks.

Vxtask resume task continues to execute the paused task.

Vxtask abort task cancels the task and tries to cancel its impact

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.