

- #Root mirroring in veritas volume manager how to#
- #Root mirroring in veritas volume manager software#
How will you setup and unsetup disks explicitly using VxVM ?ĪNS: You can use /etc/vx/bin/vxdiskunsetup to unsetup the disk, and /etc/vx/vxdisksetup to setup the disk.Ĩ. This WILL NOT REDUCE the file system by reducing new size. Shrinkto option: This will shrink your file system as per the new size. Shrinkby option: This will shrink your file system by reducing new size from existing file system. This WILL NOT ADD new size to the existing one. Growto option: This will grow your file system as per the new size. Growby option: This is will grow your file system by adding new size to the existing file system. How will you grow/shrink the volume/file system ? What is the meaning of growby and growto options ? What is the meaning on shrinkto and shrinkby options ?ĪNS: vxassist command is used to do all volume administration, following is the description and syntax. How will you add new disk to the existing disk group ?ĪNS: Run vxdiskadm command, which will open menu driven program to do various disk operations, select add disks option or you can use another command vxdiskadd.Ħ. Shared DG: The DG which is sharable and visible to the other cluster nodes.ĥ. What is the basic difference between private disk group and shared disk group ?ĪNS: Private DG: The DG which is only visible for the host on which you have created it, if the host is a part of cluster, the private DG will not be visible to the other cluster nodes. Which are the different layouts for volumes in VxVM ?ĪNS: mirror, stripe, concat (default one), raid5, stripe-mirror, mirror-stripe.Ĥ. How will you create private and shared disk group using VxVM ?ģ. Name the mandatory disk group in VxVM 3.5 ? How will you configure VxVM in 3.5 ?ĪNS: rootdg is the mandatory disk group in VxVM 3.5, vxinstall is the command to configure VxVM, It will create the disk groups, initializes the disks and adds them to the group.Ģ. Metastat gives you the status of your mirrors # metastat Metadetach mirror submirror metadetach d0 d20Īfter completing the step above you should clear the concat/stripe metaclear d20
#Root mirroring in veritas volume manager how to#
If you need to start over, you can use the command below to remove metadatabases.Ī u 16 8192 /dev/dsk/c0t2d0s7 How to Detach Mirrors: Other Helpful Commands: How to Delete Metadbs: The metaroot command is used to modify the /etc/fstab You can then edit the /etc/fstab with the new metadevices. You will want to reboot, and attach the other side of the mirror. The example below shows how attach your one way mirror to your metadevice. Note that you do not need to specify "d10 1 1 c5t0d0s0" if you have added this information to the md.tab Use the '-f' switch when the filesystem on that slice is currently mounted. Here I am initializing each side of the mirror. In the example below you are initializing your one way mirror. Not sure if you need the -f option on the second db, but it does not seem to cause any issues. In the example above you are creating 3 metadbs on the mirror disk. The normal standard that I follow, has me creating them on slice 3. Make sure that you create them on the correct slice. In the example below the metadevice d0 has two submirrors, d10 and d20. The file /etc/md.tab is basically a map file where you define your metadevices and the physical devices that they represent. Then switch to the other disk and label the other disk with the saved Name to save off you partition table to disk.

Using the format command, select your initial disk. Adding a new Disk? Create your Partition Table for your Mirror: The process below outlines steps that you need to take to setup basic root disk mirroring.
#Root mirroring in veritas volume manager software#
Solaris Volume Manager (formerly known as Online: DiskSuite, and later Solstice DiskSuite is a software package for creating, modifying and controlling RAID disks in Solaris.
