Useful tips

How does Veritas determine volume size?

How does Veritas determine volume size?

How to check free space in DG in Veritas File System. vxdg command in the veritas file system will tell you to show you all disk technical details of all the disks in a specific disk group. DG must be in the mounted state. This output will be in block sizes which is difficult to understand.

How do I increase the volume on my VxVM?

Veritas Volume Manager (VxVM) provides the facility to resize both the size a VxVM managed disk and the size of a VxVM managed volume using the vxassist command. The VxVM volume and VxFS file system can also be increased in a single operation using the vxresize command.

How do I resize a Veritas File?

If the file system is mounted and VxFS, you can grow or shrink the size. If a VxFS file system is unmounted, you cannot grow or shrink the size. If the file system is mounted and UFS, you can grow the size only….

Resizing a file system and the underlying volume
Prev Resizing a file system Next

How do I check Veritas DG free space?

# vxassist -g maxsize — This command will show you how much space is there in whole diskgroup which can be used to create new volume.

In which case a volume will have more than one plex?

More than one log plex can exist per RAID-5 volume, in which case the log areas are mirrored.

Which command is used to resize VxFS filesystem only?

vxresize
vxresize works with VxFS file systems only. In some situations, when you resize large volumes, vxresize may take a long time to complete. If you resize a volume with a usage type other than FSGEN or RAID5, you can lose data. If such an operation is required, use the -f option to forcibly resize the volume.

What is VxVM in Linux?

VeritasTM Volume Manager (VxVM) by Symantec is a storage management subsystem that allows you to manage physical disks as logical devices called volumes. VxVM overcomes physical restrictions imposed by hardware disk devices by providing a logical volume management layer. This allows volumes to span multiple disks.

What is the difference between a RAID group and a plex?

A plex is on top of aggr, raid groups reside on top of plexes, volumes reside in raid groups. There can be several raid groups to a single plex. You can only have 1 mirror of a plex in ONTAP 7.

How can I increase the size of my filesystem?

Change the size of the file system using the btrfs filesystem resize command with one of the following methods:

  1. To extend the file system size to the maximum available size of the device, enter. tux > sudo btrfs filesystem resize max /mnt.
  2. To extend the file system to a specific size, enter.

How do I mount a VxVM file system?

You can mount a VxFS file system by using the mount command. When you enter the mount command, the generic mount command parses the arguments and the -V FSType option executes the mount command specific to that file system type.

How do I create a DG in VxVM?

You must associate a disk group with at least one disk. You can create a new disk group when you select Add or initialize one or more disks from the main menu of the vxdiskadm command to add disks to VxVM control. The disks to be added to a disk group must not belong to an existing disk group.

How to resize a volume using vxassist?

There are multiple ways to resize a volume using vxassist. To find out the current size of the volume: To shrink volume myvol by 100m (use -f incase of error, use it carefully as it may damage the data) Now we can similarly shrink the volume to a specific size. I had to use -f to force the shrink.

How to resize volume in VxVM using maxsize?

In that case you can use the maxsize command to see the remaining space in the DG. There are multiple ways to resize a volume using vxassist. To find out the current size of the volume: To shrink volume myvol by 100m (use -f incase of error, use it carefully as it may damage the data) Now we can similarly shrink the volume to a specific size.

What does the vxassist utility do in Veritas?

The vxassist utility is a command-line interface to the Veritas Volume Manager (VxVM) that: – Finds space for and creates volumes – Performs volume conversion – Adds mirrors and logs to existing volumes – Extends and shrinks existing volumes – Migrates data from a specified set of disks – Provides facilities for the online backup…

What’s the syntax of using maxgrow with vxassist?

The syntax of using maxgrow with vxassist is : Now this is tricky, the size 1979Mb is the final size to which the volume can grow to if it uses the complete space in the DG. So even when I grow it by 100MB and see the output of maxgrow command it would again show me that the myvol can be grown to 1979Mb size.