Veritas Storage Foundation™ and High Availability Solutions ...

Veritas Storage Foundation™ and High Availability Solutions ... Veritas Storage Foundation™ and High Availability Solutions ...

sfdoccentral.symantec.com
from sfdoccentral.symantec.com More from this publisher
12.07.2015 Views

66Storage Foundation and High Availability Solutions support for Oracle VM Server for SPARCFeaturesTo use this vxloadm utility1 Load the vxlo driver in memory:# cd /kernel/drv/sparcv9# add_drv -m '* 0640 root sys' vxlo# modload vxlo2 Check if the driver is loaded in memory:# modinfo| grep vxlo226 7b3ec000 3870 306 1 vxlo (Veritas Loopback Driver 0.1)3 Run the vxloadm utility:# /etc/vx/bin/vxloadm4 You can now use the utility.See “Examples of using the vxloadm utility” on page 66.5 Symantec recommends once you are done using the vxloadm utility to unloadthe vxlo driver:# rem_drv vxlo# modinfo| grep vxlo226 7b3ec000 3870 306 1 vxlo (Veritas Loopback Driver 0.1)# modunload -i 226where 226 is the module ID from the modinfo | grep vxlo command.Examples of using the vxloadm utilityUse the vxloadm addall command to create device(s) mapping the variouspartition(s) contained in a VxVM volume. For example:# /etc/vx/bin/vxloadm addall vol1 /dev/vx/dsk/testdg/vol1This creates a device node entry for every slice or partition contained within thevolume in the /dev/vxlo/dsk/ and /dev/vxlo/rdsk/ directories.# ls -l /dev/vxlo/dsk/lrwxrwxrwx 1 root root 46 Sep 25 14:04 vol1s0-> ../../../devices/pseudo/vxlo@0:vol1s0,1,blklrwxrwxrwx 1 root root 46 Sep 25 14:04 vol1s3-> ../../../devices/pseudo/vxlo@0:vol1s3,2,blk

Storage Foundation and High Availability Solutions support for Oracle VM Server for SPARCFeatures67# ls -l /dev/vxlo/rdsk/lrwxrwxrwx 1 root root 46 Sep 25 14:04 vol1s0-> ../../../devices/pseudo/vxlo@0:vol1s0,1,rawlrwxrwxrwx 1 root root 46 Sep 25 14:04 vol1s3-> ../../../devices/pseudo/vxlo@0:vol1s3,2,rawUse the vxloadm get command to display the list of all currently mappedpartition(s) created using the vxloadm utility. For example:# /etc/vx/bin/vxloadm getVxVM INFO V-5-1-0 NAME FILENAMEMOUNT OFFSET C/H/SVxVM INFO V-5-1-15260 vol1s0 /dev/vx/dsk/testdg/vol16180 6787/1/618VxVM INFO V-5-1-15260 vol1s3 /dev/vx/dsk/testdg/vol14326000 50902/1/618Use the appropriate file system commands to access the file system(s). For example:# fstyp /dev/vxlo/rdsk/vol1s0ufs# mount -F ufs /dev/vxlo/dsk/vol1s0 /mntUse the vxloadm delete to remove the partition mappings of a volume. Forexample:# /etc/vx/bin/vxloadm delete vol1s0# /etc/vx/bin/vxloadm delete vol1s3Note: This vxloadm utility should only be used on volumes that are currently notin use or held open by a guest domain.The vxformat utility automatically relabels the virtual diskbacked by a VxVM volume in the guest domainThe vxformat utility provides the user the ability to automatically relabel a virtualdisk backed by a VxVM volume. This utility is meant to be executed from insidethe guest domain only.The vxformat utility is particularly useful when a VxVM volume with existingpartitions is grown in size and you need to access the new size from the guestdomain.Requirements for relabeling to succeed

<strong>Storage</strong> Foundation <strong>and</strong> <strong>High</strong> <strong>Availability</strong> <strong>Solutions</strong> support for Oracle VM Server for SPARCFeatures67# ls -l /dev/vxlo/rdsk/lrwxrwxrwx 1 root root 46 Sep 25 14:04 vol1s0-> ../../../devices/pseudo/vxlo@0:vol1s0,1,rawlrwxrwxrwx 1 root root 46 Sep 25 14:04 vol1s3-> ../../../devices/pseudo/vxlo@0:vol1s3,2,rawUse the vxloadm get comm<strong>and</strong> to display the list of all currently mappedpartition(s) created using the vxloadm utility. For example:# /etc/vx/bin/vxloadm getVxVM INFO V-5-1-0 NAME FILENAMEMOUNT OFFSET C/H/SVxVM INFO V-5-1-15260 vol1s0 /dev/vx/dsk/testdg/vol16180 6787/1/618VxVM INFO V-5-1-15260 vol1s3 /dev/vx/dsk/testdg/vol14326000 50902/1/618Use the appropriate file system comm<strong>and</strong>s to access the file system(s). For example:# fstyp /dev/vxlo/rdsk/vol1s0ufs# mount -F ufs /dev/vxlo/dsk/vol1s0 /mntUse the vxloadm delete to remove the partition mappings of a volume. Forexample:# /etc/vx/bin/vxloadm delete vol1s0# /etc/vx/bin/vxloadm delete vol1s3Note: This vxloadm utility should only be used on volumes that are currently notin use or held open by a guest domain.The vxformat utility automatically relabels the virtual diskbacked by a VxVM volume in the guest domainThe vxformat utility provides the user the ability to automatically relabel a virtualdisk backed by a VxVM volume. This utility is meant to be executed from insidethe guest domain only.The vxformat utility is particularly useful when a VxVM volume with existingpartitions is grown in size <strong>and</strong> you need to access the new size from the guestdomain.Requirements for relabeling to succeed

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!