keronunit.blogg.se

Veritas volume manager command line
Veritas volume manager command line





Shrink a volume to a specific length as follows: If you do not shrink the file system first, you risk unrecoverable data loss.Īlways make sure you have a good backup of the data volume to be shirnked. If you have a VxFS file system, you can shrink the file system and then shrink the volume. Ģ.1 Extending a volume up to certain length,Ĭaution – Do not shrink a volume below the size of the file system. #vxassist make appvol4 100m layout=raid5.Ĭaution : If you plan to use volume size change (grow or shrink ) on a volume with data make sure you have the good backup of the volume available before carrying out such operation.To create the RAID-5 volume appvol4 with the default stripe unit size on the default number of disks with RAID-5 log, vxassist make volume_name length layout=raid5.A RAID-5 volume may also contain one or more RAID-5 log plexes, which are used to log information about data and parity being written to the volume. Only one RAID-5 plex can exist per volume. #vxassist make appvol2 100m layout=stripe disk04 disk05 disk06Ī RAID-5 volume contains a RAID-5 plex that consists of two or more subdisks located on two or more physical disks.To create a striped volume appvol2 100MB striped volume on three specific disks. #vxassist make appvol2 100m layout=stripe.To create a striped volume appvol2 with the default stripe unit size on the default number of disks vxassist make volume_name length layout=stripe.

veritas volume manager command line

To create the volume appvol of 100MB on disk03Ī striped volume contains at least one plex that consists of two or more subdisks located on two or more physical disks. To create a new volume appvol of 100 MB in the default disk group rootdg with available disks: #vxassist make volume_name volume_length.Raw Device Node /dev/vx/rdsk/diskgroup_name/volume_nameīy default, vxassist creates a concatenated volume using the space available on a disk or on the number of disks in a diskgroup if the volume size specified is more then the one available on a single disk.ĭisks can be specified from a diskgroup for a volume group but if not mentioned available disks are selected by the volume manager. Keywords used are make, mirror, move, growto ,growby ,shrintto ,shirnkby ,snapstart, snapshot ,snapwaitĪttributes specify volumes layout disks controllar to include exclude etcīlock Device Node /dev/vx/dsk/volume_nameīlock Device Node /dev/vx/dsk/diskgroup_name/volume_name d file containing defaults for vxassist if not specified /etc/default/vxassist is used Removing a RAID-5 Log 10.Preparing a Volume for Online Backup 11.Displaying Volume Configuration Information 12.Next StepsĬommonly used options are given below (See man vxassist for complete list of supported options) Mirroring a Volume 5.1 Creating & Mirroring a New Volume 5.2 Mirroring an Existing Volume 5.3 Mirroring All Volumes 6. Shrinking a Volume 3.1 Shrinking to a Given Length 3.2 Shrinking by a Given Length 4.

veritas volume manager command line

Extending a Volume 2.1 Extending a volume up to certain length, 2.2 Extending by a Given Length 3.

veritas volume manager command line

Creating a Volume 1.1 Creating a Concatenated Volume 1.2 Creating a Striped Volume 1.3 Creating a RAID-5 Volume 2. The default length is taken as number of blocks but this can be specified in Kilobytes or Megabytes or Gigabytes. The default behavior of vxassist is to create volumes in the rootdg diskgroup if diskgroup is not specified. Vxassist utility in Veritas Volume Manager is used to create volumes, add mirrors and logs to existing volumes, extend and shrink existing volumes, provides for the migration of data from a specified set of disks, and provides facilities for the on-line backup of existing volumes. Veritas Volume Manager – 2 covers vxassist command for volume







Veritas volume manager command line