12.07.2015 Views

Veritas Storage Foundation™ and High Availability Solutions ...

Veritas Storage Foundation™ and High Availability Solutions ...

Veritas Storage Foundation™ and High Availability Solutions ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

48<strong>Storage</strong> Foundation <strong>and</strong> <strong>High</strong> <strong>Availability</strong> <strong>Solutions</strong> support for Solaris ZonesExporting VxVM volumes to a non-global zoneTo export VxVM volumes to a non-global zone1 Create a volume vol1 in the global zone:global# ls -l /dev/vx/rdsk/rootdg/vol1crw------- 1 root root 301, 102000 Jun 312:54 /dev/vx/rdsk/rootdg/vol1crw------- 1 root sys 301, 102000 Jun 3 12:54 /devices/pseudo/vxio@0:rootdg,vol1,102000,raw2 Add the volume device vol1 to the non-global zone myzone:global# zonecfg -z myzonezonecfg:myzone> add devicezonecfg:myzone:device> set match=/dev/vx/rdsk/mydg/vol1zonecfg:myzone:device> endzonecfg:myzone> commit3 Ensure that the devices will be seen in the non-global zone:global# zoneadm -z myzone haltglobal# zoneadm -z myzone boot4 Verify that /myzone/dev/vx contains the raw volume node <strong>and</strong> that thenon-global zone can perform I/O to the raw volume node.The exported device can now be used for performing I/O or for creating filesystems.VxVM devices in Solaris 10 global zonesOn the Solaris 10 operating environment, there are two physical nodescorresponding to each volume node entry, /devices <strong>and</strong> /dev, respectively, withthe same major <strong>and</strong> minor number. The physical nodes appear as follows:/devices raw volume node : /devices/pseudo/vxio@0:dgname,volname,minor_number,raw/devices block volume node : /devices/pseudo/vxio@0:dgname,volname,minor_number,blk/dev raw volume node : /dev/vx/rdsk/dgname/volumename/dev block volume node : /dev/vx/dsk/dgname/volumenameThe following example provides sample values in /devices:ls -l /devices/pseudo/vxio*vol1*brw------- 1 root sys 302, 66000 Mar 25

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

Saved successfully!

Ooh no, something went wrong!