You are on page 1of 15

Archive for the ‘veritas volume manager’ Category Creating Veritas Volume using vxmake Posted July 13, 2012

Filed under: veritas volume manager | Leave a Comment We will see how to create a veritas volume using vxmake command. There are two ways to create a vx volume. A top to bottom approach wherein you create a volume and veritas creates the plex and subdisk for you. A bottom to top approach where in you create the objects and then build a volume. On a comparative note, vxassist is the easier way as it creates the volume top to bottom. Vxmake is comparatively difficult to manage in a production environment.. Knowing how to build a volume from scratch does not hurt and is a good exercise in learning the building blocks of VX. Let’s see in detail how it works out. vxmake allows you to create objects individually. The approach will be to create Subdisks, associate plex with subdisk and put the plex in the volume. I am assuming that the disk test01 is part of the testdg diskgroup. 1. Create the Subdisk; #vxmake sd test01-01 test01,0,104857600 ( The value is in sectors ) 2. Build the Plex ; # vxmake plex testplex 3. Associate the Plex with subdisk ; # vxsd assoc testplex test01-01 assoc indicates we are associating the subdisk to the plex. 4. Attach the plex to volume ; # vxmake -U fsgen vol testvol plex=testplex 5. Check the status of the Objects. # vxprint -g testdg -hrtdg testdg default default 0 dm test01 c1t0d0s2 sliced 2048 104857600 v testvol fsgen DISABLED EMPTY 104857600 ROUND pl testplex testvol DISABLED EMPTY 104857600 CONCAT – RW sd test01-01 testplex test01 0 104857600 0 c1t0d0 ENA 6. Start the volume ; # vxvol -g testdg start testvol 7. Check the status ; #vxprint -g testdg -hrt Missing Volboot file in VxVM Posted July 3, 2012 Filed under: veritas volume manager | Leave a Comment How to recover from a missing /etc/vx/volboot file? The volboot is an important file, it contains the hostid of the system and this is used by VxVM to establish the ownership of disks. The volboot is important in the management of vxconfigd as well. If the rootdisk is under VxVM control it also has the information of boot disk group information. During boot up, vxvm config dameon reads the volboot file, if the file is missing, vxconfigd fails and the boot sequence is aborted. Solution will be a) to copy the volboot file from backup and reboot the system. b) If a valid backup is not available we may need to run the sequence of commands to enable it again. Obtain the hostid of the system from vxprivutil.

cd /a/etc/vx/reconfig. Here is a procedure to recover from the situation. this will recreate the /etc/vx/volboot file ) cfgadm:::Device being used by VxVM Posted November 3. The way to resolve this is to disable the disks path from DMP control. root@abc>/> Rootdg corruption Server fails to boot Posted May 1. Mount the rootdisk. if its running ) # vxiod set 10 # vxconfigd -m disable ( start the vxconfigd in disable mode ) # vxdctl init <hostid> ( hostid obtained from vxprivutil.0/pci@1c.d/state.# vxprivutil list /dev/dsk/c0t1d0s3 |grep -i hostid # vxdctl stop ( stop the vxconfigd. veritas volume manager | Leave a Comment root@abc>/> cfgadm -c unconfigure c1::dsk/c1t0d0 cfgadm: Component system is busy. 2010 Filed under: Solaris.700000/pci@1/SUNW.0 Resource Information —————— ————————/dev/dsk/c1t0d0s2 Device being used by VxVM “cfgadm unconfigure” command fails here.d/ . try again: failed to offline: /devices/ssm@0.c1t6d0s2 Disk Disk You can see the path now disabled from DMP.Edit /a/etc/system. 1. root@abc>/> cfgadm -c unconfigure c1::dsk/c1t0d0 cfgadm goes through fine. 2010 Filed under: veritas volume manager | Comments (1) There are times when one has to go through the cut… Server has a bad panic/power trip and it corrupts the rootdg badly and the server is unable to boot with VxVM. disable the start up of VxVM. Boot from the cdrom or from the network 2. Comment out the vx parameter as follow: *rootdev:/pseudo/vxio@0:0 *set vxio:vol_rootdev_is_volume=1 . . 3. Once mounted.c1t0d0s2 Disk Disk c1t6d0s2 ENABLED(A) . Since there is only one path to this disk. the “-f” (for force) option needs to be used: root@abc>/> vxdmpadm -f disable path=c1t0d0s2 root@abc>/> vxdmpadm getsubpaths ctlr=c1 NAME STATE[A] PATH-TYPE[M] DMPNODENAME ENCLR-TYPE ENCLR-NAME ATTRS ============================================================================== == c1t0d0s2 DISABLED .isptwo@4/sd@0.

vxdctl init . If the volume not started. Mirror to second bootdisk .format -d <c#t#d#> 9. Should see it is in disabled mode. . Re encapsulate the disk.. Option 1 to Add or initialize the second bootdisk . Option 2 to encapsulate the primary bootdisk . 5. . Verify for the boot and all volumes coming up clean. then run “/usr/sbin/vxconfigd -m disable” .mount all the volume and verify.vxdg deport rootdg 8. . Manually start the veritas volume manager.rm install-db .ps -ef |grep vxconfigd. Deport the rootdg so that it does not come up again. .Revert back the /etc/vfstab. to verify all the volume are enabled.vxdiskadm.rm root-done .withvm to /etc/vfstab .withvm . .0 MP3. . the disks should show as error. I upgraded to Storage Foundation 5. 11. If vxconfigd is not running.vxdctl enable .vxdiskadm. 2010 Filed under: veritas volume manager | Leave a Comment Lets look at VxVM Upgrade this week… The setup is a) Solaris 9 b) VxVM 4. Check the diskgroups.prevm /a/etc/vfstab .vxprint -ht. .vxdiskadm.cp -p /a/etc/vfstab /a/etc/vfstab. Zero out private and public region partitions from the disks on the rootdg.vxdg list 7.d/ .vxdctl mode 6.vxdctl mode.cp -p /a/etc/vfstab.touch install-db .vxiod set 10 . .vxdisk list 10.cd /etc/vx/reconfig. The tech plan is as below: . Ensure the server comes up without veritas starting up.d/state.Reboot machine upon completed Option 2 above. 12.init 6 4. . then run “vxvol -g groupname startall” to start the volume. Option 6 to mirror the secondary bootdisk VxVM Upgrade Posted February 13.0 / VxDMP –> No powerpath c) Oracle databases. Once this is done.

Break the rootmirror 4.p S” | fsdb -F vxfs <Raw_Device> | grep clean Receive: flags 0 mod 0 clean clean_value Note: A clean_value value of 0x5a indicates the file system is clean. Ensure all applications/Databases are shutdown and the file-systems are down. Install the VRTSspt Package.root/etc/vx/reconfig. Unencapsulate the rootmirror. Run the VRTSexplorer and keep the file at a safe location if you may need it in case you run in any issue. Verify the pre-staged software is not corrupted and working fine.root/etc # touch /alt. ( You can do this by doing a tar and keeping the software ready) 10. SUNWcfclx packages and patch 114477-04. 6. and 0×69 indicates the file system is dusty.Ensure that the root mirror is removed from rootdg. 8. 0x3c incidates the file system is dirty.root/etc/system file Make changes to /etc/vfstab to ensure the system boots from the mirror disk ( c#t#d#) 5. Ensure all the apps/db’s are umounted clean . Down load the package from symantec website 2. Boot the server from rootmirror and verify for the server coming up. Note: If a file system is not clean. enter the following commands for that file system: Enter: fsck -F vxfs filesystem Enter: mount -F vxfs [Block_Device] [mountpoint] Enter: umount [mountpoint] Note: This should complete any extended operations that were outstanding on the file system and unmount the file system cleanly.com/downloads and choose A-Z downloads 9. Un encapsulate the rootdisk Remove the following lines from /etc/system rootdev:/pseudo/vxio@0:0 set vxio:vol_rootdev_is_volume=1 .root # cd /alt. 7. Solaris 9 for Storage Foundation need SUNWcfcl. Packages and patches can be downloaded from http://www.d/state. Check for the pre-requiste packages. 12. 11.SUNWcfclr. A dusty file system has pending extended operations. Run the upgrade_start -check # /storage_foundation/scripts/upgrade_start -check -Note: this is a veritas check script that will check to see if this machine is eligible for upgrade.d/install-db rootdev:/pseudo/vxio@0:0 set vxio:vol_rootdev_is_volume=1 Remove the above lines from /alt. 13. 3. Boot again from the rootdisk. # mount /dev/dsk/c0t1d0s0 /alt.sun. # echo “8192B. # /sbin/vxdg –g rootdg –f rmdisk rootmirror 14.1. Install the packages first and then the patches.

Veritas Leave a Comment I did an activity to add LUNS to existing database file systems running sun Cluster 3. Ensure applications are working fine 23.1.d/state. The steps I followed are : a) Get the LUN information from Storage and update the sd. #/usr/bin/cd /etc/vx/reconfig.Prevent veritas from starting up. 20. Manually Encapsualte the rootdisk after upgrade. If you are upgrading from 4.d #/usr/bin/rm root-done #/usr/bin/touch install-db 15 . # format d) Configure emcpower devices. veritas volume manager | Tags: Sun cluster. 22. Solaris 9 OS with VxVM. # vxdiskadm h) Grow the FS Identifying multiple paths for a disk under VxVM control . Remirror the rootdrive follow standard procedures. 2009 Filed under: Solaris. Insome cases veritas may not start correctly and will require a reboot. 17./installer Note : Answer the questions and complete the installation. Run on both nodes if required. # vxdiskadm Choose option 2 and give the root disk for encapsulation. # devfsadm # scgdevs f) Verify the sun Cluster DID devices. # pkginfo | grep VRTS # pkgrm VRTSxxxx 18. 21. 19. Extending Filesystems in Sun Cluster using VxVM Posted October 25. 16. Run the command on both the nodes #update_drv -f sd c) Verify for the LUNS present.0 Software # .conf accordingly on both the servers b) Make the LUNS Visible on the server. Deport all appdiskgroups. Install the Veritas 5. Don’t remove the VRTSvlic packages. Import the disk groups and mount the filesystems. I believe you can remove this as well. # scdidadm -L g) Add the disks to veritas diskgroup . Run on both the servers. Sun cluster.0 or later the licenses should take of themselves. Remove all packages that start with VRTS but for VRTSvlic. but I have not tried it myself. # /etc/powermt config # /etc/powermt save e) Create the Sun Cluster DID devices. Reboot the node to single user mode.

# vxdisk list <diskname> In this one can look at the numpaths value at the bottom of the output. A workaround is # vxassist -g <dgname> make testvol 1g layout=mirror init=active dgname01 dgname02 init=active is the keyword here. then the waiting time is more. 2008 Filed under: veritas volume manager | Leave a Comment If you are mirroring empty Veritas plexes. If the plex size is large.) 2000002037f39796 2 On (Login failed) 3 Not Installed 4 Not Installed 5 Not Installed 6 Not Installed 7 Not Installed 8 Not Installed 9 Not Installed 10 Not Installed 11 Not Installed SUBSYSTEM STATUS . Normally we would wait ensuring the plexes are in sync. 2008 Filed under: veritas volume manager | Leave a Comment This is a routine task for people dealing with VERITAS volume manager. I wanted to make sure if the disk has indeed failed. recently i ran in to a problem of failed disk with V880. So to identify that #luxadm probe Found Enclosure: SUNWGS INT FCBPL Name:LoopA Node WWN:508002000011d7d8 Logical Path:/dev/es/ses0 #luxadm display LoopA SUNWGS INT FCBPL DISK STATUS SLOT DISKS (Node WWN) 0 On (O.K. Mirroring an Empty volume under VxVM Posted November 14. this post is for you. This can be accomplished by the below command.K. Identifying and Replacing failed disks in V880 Posted October 17. 2008 Filed under: Servers. veritas volume manager | Leave a Comment Hi. Did these commands to identify the disk failure. V880 has internal FCAL loop.Posted December 8. There are times when one need to confirm the number of paths for the disk.) 2000002037f87099 1 On (O. This should save lot of time. Server was running VxVM.

# ls -ld /dev/rdsk/c1t2d0* 5. # vxdisk offline c1t2d0s2 2. 3=Exp LoopB SSC100 #0: O. # vxtask list Thats it you should see the replaced disk doing just fine. 12. Replace the disk physically 6. label the disk .online . 2=Exp Bkpln.K. # devfsadm 7.A) SSC100 #2: Not Installed SSC100 #3: Not Installed Temperature Sensors – 0 Base. This is a good way to identify the failed disk under internal FCAL loop. # vxdisk list DEVICE TYPE DISK GROUP STATUS c1t0d0s2 sliced rootdisk rootdg online c1t1d0s2 sliced disk01 rootdg online c1t1d0s2 sliced – . After running vxdiskadm the output should look similar to this: # vxdisk list DEVICE TYPE DISK GROUP STATUS c1t0d0s2 sliced rootdisk rootdg online c1t1d0s2 sliced disk01 rootdg online c1t2d0s2 sliced . make sure its in failed was or removed state. Do the luxadm to remove the device.A) SSC100 #1: O. Now use vxdiskadm option 5 to replace the disk. Verify the sync . Put the disk into offline state.. 1 Expansion 0:21ºC 1:Not Installed Here we can identify the disk failure at the slot no 2. # vxdisk list .(11. check the device file . . # luxadm display LoopA 8.. Give yes to the access question.(11. you would see a new disk. Veritas recovery features . #luxadm remove_device /dev/rdsk/c1t2d0s2 4..K. # luxadm -e offline /dev/rdsk/c1t2d0s2 3.FW Revision:9218 Box ID:0 Node WWN:508002000011d7d8 Enclosure Name:LoopA SSC100′s – 0=Base Bkpln. use format and label 9.online . run the luxadm offline to remove the WWN entries and device links for the failed drive . Since its a VxvM disk. #devfsadm -C . Run the devfsadm . 1=Base LoopB. verify with luxadm display . 11.disk02 rootdg removed was:c1t2d0s2 1. # vxdctl enable 10. VxVM is ready for removal of the disk.disk02 rootdg failed was:c1t2d0s2 Run vxdiskadm option 4 to remove the disk for replacement.

vxvol -g <dgname> start <vol_name> Volume is ready to do I/O. One can also manually do the object backups using the vxconfigbackup command. Whenever a configuration change occurs. backups of individual object information will come in handy… You can schedule a cron to backup individual object configuration… /usr/sbin/vxprint -rhmvps ${volume_name} > ${DIR_NAME}/${volume_name}. If we need to recover the configuration information for the entire datadg. we can use the vxconfigrestore option. In order to save our a** its always better to be proactive and do the objects backups.5 MP3 ( if am correct) vxvm offers vxconfigbackup & vxconfigrestore options for automatic object backups. the machine fails to boot and remains in ok prompt? what could bethe possible reason? . vxprint -g datadg -hrt Start the volume .Posted August 19. As an admin. There can be situations where the configuration information is completely lost due to system outages or reboots. One can use the “-l” option to change the default location of the backups. From 3. vxvm interview questions How do you replace a failed boot disk under meta in solaris? Step by step explanation? How do you remove meta only for the root slice? remaining slices should run under meta? what you would do if you want to replace a slice using metareplace option? what is the significance of 51% state database replicas in SVM? what are the common errors you find in Solaris Volume manager? You have a boot disk under svm. we may face situations where one deletes a volume accidentally or destroy a dg by mistake. In such situations.${DATE} using the backed up file and vxmake we can easily recover the deleted volume configuration… vxmake -g <dgname> -d <file_name> Verify the recovery using vxprint . If we do not have configuration backups of the objects. /etc/vx/bin/vxconfigrestore -p /var/vxvmbackups datadg # to precommit the changes /etc/vx/bin/vxconfigrestore -c /var/vxvmbackups datadg # to commit the changes A vxprint output will give the confirmation vxprint -g datadg I just explained how to go about backingup and recovering configuration data using the vxconfigbackup and vxconfigrestore options. vxconfigbackupd daemon updates the directories with the latest configuration. 2008 Filed under: Recovery. All the backups are stored in /etc/vx/cbr/bk/dgname directory. veritas volume manager | Leave a Comment In this post i will explain the volume recovery and disk group recovery in veritas volume manager. these options should be experimented before using in the production setup. vxconfigbackup -l /var/vxvmbackups datadg This would update all the configuration backups to /var/vxvmbackups directory for datadg. we are in for some trouble. vxconfigbackupd is a daemon which runs in the background and do upto date backups of all the disk group and the objects associated with it. There may be situations when someone accidentally deletes the volume of a diskgroup. As with the case with any recovery options.

What is a Split brain scenario ? =# Name the mandatory disk group in VxVM 3. How would you freeze a service group? 33.What is a layered volume? how to create it using vxmake? 19.5 and greater versions… 12. How would switch a service group? 32. if the volume is empty? 20. Actually you find disk and metavolumes are ok and I/O is happening to the filesystems… how will youremove the metareplace message that comes out of metastat. raid5.metastat -p shows a metavolume needs replacement. How can you unencapsulate a boot disk in VxVM? 14. initializes the disks and adds them to the group. stripe. What is the difference between private and public regions in Veritas Volume manager? 10. Shared DG: The DG which is sharable and visible to the other cluster nodes. What is the difference between Vxdmp and EMC powerpath? 16. Whats the difference between SVM and VxVM? What would you recommend to your clients? why? 27. How to replace a corrupt private region? in vxvm 3. How will you recover? what are the steps to follow? 24. How to replace a failed disk in Veritas? 23.How to quickly mirror a volume.how will you start VCS service? What are the configuration files in VCS? 31.# How will you create private and shared disk group using VxVM ?ANS: For Private DG:Command: vxdg initFor Shared DG:Command: vxdg -s init < disk1 disk2 disk3 ># Which are the different layouts for volumes in VxVM ? ANS: mirror.what is the difference between detached and disassociate state of plexes? 25. Whats the boot process of VxVM? 26. concat (default one). mirror-stripe. What is the difference between failing and failed disks? 22. what are the various layouts that are available in VxVM? 18.What are the various clusters you have worked on? 28.5. Metavolume is a single way mirror only. Itwill create the disk groups.5 ? How will you configure VxVM in 3.# How will you add new disk to the existing disk group ? . Plex is in a disabled state. 8. Which cluster is better VCS or Sun cluster? 29. Compare and contrast VCS and Sun Cluster.# What is the basic difference between private disk group and shared disk group ? ANS: Private DG: The DG which is only visible for the host on which you have created it. if the host is apart of cluster. How to identify multiple paths for a disk. How would you convert a volume from gen to fsgen? why should you do that? 13. 15. 30. How to create a shared disk group in VxVM? 9. How to grow a volume? 21. what would you do if the private region of a particular disk group is full? What are the designconsiderations for the size of private region in Vxvm disk group? 11. vxdisk -o alldgs list o/p shows some disk groups in braces… What does that signify? 17. the private DG will not be visible to the other cluster nodes. stripe-mirror.5 ? ANS: rootdg is the mandatory disk group in VxVM 3. vxinstall is the command to configure VxVM.

backup the data before using this option]what is the significance of 51% state database replicas in SVM?if the system is having 51 % of replica the system will bootup normally. In short words it has metadata of the disk. and /etc/vx/vxdisksetup to setup thedisk. it also stores the disk ID and diskgeometry. growby.mirror are layered volumes and ## First make subdisksvxmake -g sybdg sd sybdg32-15 sybdg32.21389040. then the system will panic.1365376vxmake -g sybdg sd sybdg55-25 sybdg55. Inthis situation boot the system into single user mode anddelete the unavailable replica and create new set ofreplicas and boot the system.# How will you grow/shrink the volume/file system ? What is the meaning of growby and growtooptions ? What is the meaning on shrinkto and shrinkby options ? ANS: vxassist command is used to do all volume administration. which will open menu driven program to do various disk operations.25483768.1365376vxmake -g sybdg sd sybdg56-30 sybdg56. Growto option: This will grow your file system as per the new size. This WILL NOT ADD new size to theexisting one.27216512.# How will you list the disks.1365376vxmake -g sybdg sd sybdg36-19 sybdg36. Shrinkto option: This will shrink your file system as per the new size. but if there are less then or = 50% of replicasare present in the system .ANS: Run vxdiskadm command.1365376##Now make the plexesvxmake -g sybdg plex datadev93-SV00A sd=sybdg32-15vxmake -g sybdg plex datadev93-SV01A sd=sybdg36-19vxmake -g sybdg plex datadev93-SV02A sd=sybdg5319vxmake -g sybdg plex datadev93-SV00B sd=sybdg54-17vxmake -g sybdg plex datadev93SV01B sd=sybdg55-25vxmake -g sybdg plex datadev93-SV02B sd=sybdg56-30## Now create .Growby option: This is will grow your file system by adding new size to the existing file system.# What is the private region in VxVM ? ANS: Private region stores the structured VxVM information.1767000.select add disks option or you can use another command vxdiskadd.1365376vxmake -g sybdg sd sybdg53-19 sybdg53. otherwiseunsetup the disk using using /etc/vx/bin/vxdiskunsetup and setup the disks again using /etc/vx/bin/vxdisksetup. you cancheck the same using vxprint command too.mirrorconcat .Command:vxassist -g [growto.14607200.what are the common errors you find in Solaris Volume manager?Disk c#t#d# is faulty and need to be replaced QuestionWhat is a layered volume? how to create it using vxmake? Answer# 1 stripe. this will definitely help! [ /etc/vx/bin/vxdiskunsetup will remove the privateregion from the disk and destroys data. which are in different disk groups ? ANS: vxdisk list is the command will list the disks from the DG which is currently imported.# If. following is the description and syntax. Shrinkby option: This will shrink your file system by reducing new size from existing file system. shrinkto. vxdisk list command gives you disks status as "error".1365376vxmake -g sybdg sd sybdg54-17 sybdg54.22355000. shrinkby] length# How will you setup and unsetup disks explicitly using VxVM ? ANS: You can use /etc/vx/bin/vxdiskunsetup to unsetup the disk. what steps you will follow to make therespective disks online ? ANS: If you faced this issue because of fabric disconnection then simply do vxdisk scandisks. This WILL NOT REDUCE the filesystem by reducing new size. vxdisk -o alldgs list command list all the disks which are indifferent dg's.

0.140947I/O policy settings were not persistent between reboots.272263Changing a disk's I/O policy could hang vxconfigd.alu .229538Multiple enclosures of the same type generated unexpected enclosure-based names.IncidentDescription137175The vxdiskadm utility no longer truncates default disk names to 9 characters.1365376## Now create a new plex with all subvolumes invxmake -g sybdg plex datadev93-A sd=datadev93-SD00. 511750Swap space and tunable changes were required for using fsck and mkfs on big file systems. among other things.sub volumes containing the plexes.0.datadev93-SD02 layout=stripest_width=128## Now make the main volumevxmake -g sybdg vol datadev93 plex=datadev93-Ause_type=genvxvol -g sybdg init active datadev93#vxedit -g sybdg set user=sybase group=dba datadev93 Veritas File System fixed issues The following table contains information about fixed issues in this release of VxFS.311530Renaming an enclosure with a longer name caused vxconfigd to dump core.506139If the naming scheme was changed.1203.datadev93-SV02B use_type=gen##Let them be subvolumesvxedit -g sybdg set layered=on datadev93-SV00 datadev93-SV01 datadev93-SV02## Activate!vxvol -g sybdg init active datadev93-SV00vxvol -g sybdg init active datadev93-SV01vxvol -g sybdg init active datadev93-SV02## Turn into subdisks so we can add them all to another plexvxmake -g sybdg sd datadev93-SD00 datadev93-SV00.datadev93-SV01B use_type=genvxmake -g sybdg vol datadev93-SV02 plex=datadev93SV02A.1365376vxmake -g sybdg sd datadev93-SD01 datadev93-SV01.272891vxnotify did not receive events relating to the change of controller states in DMP.vxmake -g sybdg vol datadev93-SV00 plex=datadev93SV00A. Veritas Volume Manager fixed issues The following table contains information about fixed issues in this release of VxVM.1365376vxmake -g sybdg sd datadev93-SD02 datadev93SV02.0. Recover/Start a volume that has a plex in the disabled& recover state January 6. 2008 by sun4u The vxprint -ht output gives. the kernel state (column 4) and the state (column 5)of a plex . IncidentDescription 472089vxfs_ninode and vx_bc_bufhwm tunables are now dynamic. 478142fsck binaries are included for older log versions.datadev93-SD01. Consider the following case: # vxprint -ht -g testdg DG NAME NCONFIG NLOG MINORS GROUP-IDDM NAME DEVICE TYPE PRIVLEN PUBLEN STATERV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRLRL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNKV NAME RVG KSTATE STATE LENGTH USETYPE PREFPLEX RDPOLPL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODESD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODESV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE dg testdg default default 84000 970356463.info could cause vxconfigd to dump core.272309Incomplete records in /etc/vx/disk. the default arguments to vxconfigd were not preserved.datadev93-SV00B use_type=genvxmake -g sybdg vol datadev93-SV01 plex=datadev93SV01A.

use the vxmend command.1203.dm testdg01 c1t4d0s2 sliced 2179 8920560 dm testdg02 c1t6d0s2 sliced 2179 8920560 v test –DISABLED ACTIVE 17840128 fsgen –SELECTpl test-01 test DISABLED RECOVER 17841120 CONCAT –RWsd testdg01-01 test-01 testdg01 0 8920560 0 c1t4d0 ENAsd testdg0201 test-01 testdg02 0 8920560 8920560 c1t6d0 ENA From the above output. or toplexes associated with a volume. # vxmend on test-01 The below output shows plex test-01 in the DISABLED and STALE state: # vxprint -ht -g testdg DG NAME NCONFIG NLOG MINORS GROUP-IDDM NAME DEVICE TYPE PRIVLEN PUBLEN STATERV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRLRL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNKV NAME RVG KSTATE STATE LENGTH USETYPE PREFPLEX RDPOLPL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODESD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODESV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE dg testdg default default 84000 970356463. This operation applies only to volumes.1203. Bring plex test-01 to the DISABLED and STALE state using the following command: vxmend on <recover_plex> For example. it can be seen that the volume test has plex test-01 in the DISABLED andRECOVER state. This will manually reset or change the state of a plex or volume.alu dm testdg01 c1t4d0s2 sliced 2179 8920560 dm testdg02 c1t6d0s2 sliced 2179 8920560 v test –DISABLED ACTIVE 17840128 fsgen –SELECTpl test-01 test DISABLED STALE 17841120 CONCAT –RWsd testdg01-01 test-01 testdg01 0 8920560 0 c1t4d0 ENAsd testdg02-01 test-01 testdg02 0 8920560 8920560 c1t6d0 ENA . To recover the volume test. Bring plex test-01 to the DISABLED and OFFLINE state using the following command: vxmend -oforce off <recover_plex> For example.alu dm testdg01 c1t4d0s2 sliced 2179 8920560 dm testdg02 c1t6d0s2 sliced 2179 8920560 v test –DISABLED ACTIVE 17840128 fsgen –SELECTpl test-01 test DISABLED OFFLINE 17841120 CONCAT –RWsd testdg01-01 test-01 testdg01 0 8920560 0 c1t4d0 ENAsd testdg02-01 test-01 testdg02 0 8920560 8920560 c1t6d0 ENA 2. The following is the procedure to recover/start this volume: 1.# vxmend -o force off test-01 The below output shows plex test-01 in the DISABLED and OFFLINE state: # vxprint -ht -g testdg DG NAME NCONFIG NLOG MINORS GROUP-IDDM NAME DEVICE TYPE PRIVLEN PUBLEN STATERV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRLRL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNKV NAME RVG KSTATE STATE LENGTH USETYPE PREFPLEX RDPOLPL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODESD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODESV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE dg testdg default default 84000 970356463.

3.1203. Bring plex test-01 to the DISABLED and CLEAN state using the following command: vxmend fix clean <recover_plex> For example.aludm testdg01 c1t4d0s2 sliced 2179 8920560 dm testdg02 c1t6d0s2 sliced 2179 8920560 v test –DISABLED ACTIVE 17840128 fsgen –SELECTpl test-01 test DISABLED CLEAN 17841120 CONCAT –RWsd testdg01-01 test-01 testdg01 0 8920560 0 c1t4d0 ENAsd testdg02-01 test-01 testdg02 0 8920560 8920560 c1t6d0 ENA 4.1203.alu dm testdg01 c1t4d0s2 sliced 2179 8920560 dm testdg02 c1t6d0s2 sliced 2179 8920560 v test –ENABLED ACTIVE 17840128 fsgen –SELECTpl test-01 test ENABLED ACTIVE 17841120 CONCAT –RWsd testdg01-01 test-01 testdg01 0 8920560 0 c1t4d0 ENAsd testdg02-01 test-01 testdg02 0 8920560 8920560 c1t6d0 ENA Questionwhat is the difference between detached and disassociatestate of plexes? Answer# 2 when you detach the plex from volume means i/o performancewill stop from detached plexwe can understand that we took the backup of the plex we canattach this plex any time to any volume Disassociate plex means we are breaking the link betweenvolume and plex we can can't attach this plex to any volumebut if server reboot plex will be sync with volumeQuestionWhats the boot process of VxVM? Boot Process of vxvm is as similar as solaris booting butthe only difference is when we bring the root disk undervxvm control there is one entrie will be createdunder /etc/system file . the volume test can be started with the followingcommand: vxvol start <volume> For example. # vxvol start test It can be seen in the below output that the volume is now ENABLED and ACTIVE: # vxprint -ht -g testdg DG NAME NCONFIG NLOG MINORS GROUP-IDDM NAME DEVICE TYPE PRIVLEN PUBLEN STATERV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRLRL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNKV NAME RVG KSTATE STATE LENGTH USETYPE PREFPLEX RDPOLPL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODESD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODESV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE dg testdg default default 84000 970356463. # vxmend fix clean test-01 The below output shows plex test-01 in the DISABLED and CLEAN state: # vxprint -ht -g testdg DG NAME NCONFIG NLOG MINORS GROUP-IDDM NAME DEVICE TYPE PRIVLEN PUBLEN STATERV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRLRL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNKV NAME RVG KSTATE STATE LENGTH USETYPE PREFPLEX RDPOLPL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODESD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODESV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE dg testdg default default 84000 970356463. Once plex test-01 is in the DISABLED/CLEAN state.

Windows.5 and greater versions…12.8. How to grow a volume?21. What is the difference between private and public regions in Veritas Volumemanager?10.AIX etc. the machine fails to boot and remains in okprompt? what could be the possible reason?7. How to identify multiple paths for a disk. vxdisk -o alldgs list o/p shows some disk groups in braces… What does thatsignify?17.HP-UX. Only available for Solaris Can't decrease online the volume size. Metavolume is a single waymirror only. Can resize (increase or decrease) the volume online. How to create a shared disk group in VxVM?9. Available for all popular OS (Solaris. what are the various layouts that are available in VxVM?18. what are the common errors you find in Solaris Volume manager?6. 2. What is the difference between Vxdmp and EMC powerpath?16. what is the significance of 51% state database replicas in SVM?5. You have a boot disk under svm. How do you remove meta only for the root slice? remaining slices should run undermeta?3. How to replace a failed disk in Veritas? .starts with "rootdev" This will readby the kernel before loading the modules and it helpssystem to mount root volume rather than root partition.cf etc/llttab etc/llthosts etc/gabtab etc/VRTSvcs/conf/config/types. How do you replace a failed boot disk under meta in solaris? Step by stepexplanation?2. QuestionWhats the difference between SVM and VxVM? What would yourecommend to your clients? why? Answer# 1 SVM: Inbuild in Solaris. Actually you find disk and metavolumes are ok and I/O is happening tothe filesystems… how will you remove the metareplace message that comes out of metastat. if the volume is empty?20. How would you convert a volume from gen to fsgen? why should you do that?13. metastat -p shows a metavolume needs replacement. What is the difference between failing and failed disks?22. what you would do if you want to replace a slice using metareplace option?4.) 3. Third party tool. what would you do if the private region of a particular disk group is full? What arethe design considerations for the size of private region in Vxvm disk group?11.How to quickly mirror a volume.15. How to replace a corrupt private region? in vxvm 3.Linux. How can you unencapsulate a boot disk in VxVM?14.cf QuestionHow would switch a service group? Answer# 2 (1) hagrp -switch {Service Group} -to {target node} (2) hagrp -offline {Service Group} -sys {current node} (3) hagrp -online {Service Group} -sys {target node} These are some of the L3 level unix interview questions…1.VxVM: 2.Questionhow will you start VCS service? What are the configurationfiles in VCS? Answer# 2 hastart etc/VRTSvcs/conf/config/main.What is a layered volume? how to create it using vxmake?19.

TLM.TL4.13)What is TLD.A stable disk copy of the data prior to backup. There are twobasic types: copy-on-write and mirror.TLH.216. causing minimal impact on other applications. A frozen image is createdvery rapidly.10)What is a frozen image ? Answer.12)What is tape spanning ?Using more than one tape to store a single backup image.5)What does these status codes mean. The retentionperiod is specified on the schedule.menu interface that can be run from terminals that do not have X Windowscapabilities.298.Netbackup Interview Question 1) Which are the backup types that are available in Netbackup ? Answer-Differential Incremental BackupCommulative Incremental BackupUser BackupUser ArchiveFull Backup2)What is a master server & media server?3)What is volume pools & volume Groups?4)What is media multiplexing? Answer-The process of sending concurrent-multiple backups from one or more clientsto a single storagedeviceand interleaving those images onto the media.11)What is retention period ? Answer-The length of time that NetBackup keeps backup and archive images.50?6)What is the process of importing images and why do we import images?7)What does it mean by inventoring a robot?8) What is avrd ? Answer-The automatic volume recognition daemon on UNIX and process on Windows9) What is bpadm? Answer. 256. It has a character-based.An administrator utility that runs on NetBackupUNIX servers.TL8?TLD-Tape Library DLTTLH-Tape Library Half-inchTLM-Tape Library MultimediaTL4-Tape Library 4MMTL8-Tape Library 8MM14) What is the full form of DLT? .