VXVM 6.1 – How to use Vxassist to create snapshot mirrors?

vxvm-how-toCreates a new volume by taking one or more attached temporary mirrors (with state SNAPDONE) to use as its plexes.
 The nmirror= number attribute can be used to specify the number of mirrors in a snapshot volume. At least number SNAPDONE plexes must be available in the original volume. By default, one plex is used if nmirrors is not specified. The comment attribute may also be used to set the comment field for the snapshot volume.
The following are examples of the use of the nmirror and comment attributes:
# vxassist snapshot nmirror=2 comment=”mirrored snapvol for myvol” myvol snapvol
Note:
  • If the fsgen usage type is used with a volume containing a Veritas File System (VxFS), some times the command will attempt to synchronize any in-memory data associated with the volume (such as unwritten file system modifications) when the snapshot operation is done.
  • For ufs and s5, the synchronization operation calls sync. This makes the snapshot a better image, but it may leave some inconsistencies between in-memory file system data and the data residing on the backup image.
  • The snapshot command accepts more than one volume. All the given volumes are split atomically (in a single transaction). That is, all the given volumes are relatively consistent as a result of taking the snapshot.
  • If you specify the -o allvols, it is not necessary to specify any volume names. vxassist attempts to create a sufficiently long vxplex command to take a snapshot of all the volumes in the disk group.
  • The option -o name= pattern  used to generate names for the snapshot volumes. Otherwise, the default name assigned to each snapshot volume takes the form SNAP%d-%v.
Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

1 Response

  1. September 18, 2015

    […] options with vxassist command Read – How to use ctrl ( Storage Controller) option with vxassist? Read – How to use Vxassist to create snapshot mirrors? Read – How to Create volume using Vxassist […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us