How can I have zone1 see and use the three Veritas volumes, file
systems and /dev/odm from global zone ?
Thanks in advance for you assistance. Bill
# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global
running / native shared
1 zone1 running /export/zone/zone1 native
shared
<<<<<<<<<<<< "global" ZONE >>>>>>>>>>>>>>>>
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c2t1d0s0 46392565 19899091 26029549 44% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/
contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 79166848 1704 79165144 1% /etc/svc/
volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/
sharetab
fd 0 0 0 0% /dev/fd
swap 79165224 80 79165144 1% /tmp
swap 79165216 72 79165144 1% /var/run
swap 79165144 0 79165144 0% /dev/vx/dmp
swap 79165144 0 79165144 0% /dev/vx/rdmp
/dev/odm 0 0 0 0% /dev/odm
/dev/vx/dsk/testdg/testu01
131030016 98761 122748059 1% /u01
/dev/vx/dsk/testdg/test02
131030016 98761 122748059 1% /u02
/dev/vx/dsk/testdg/test03
131030016 98761 122748059 1% /u03
<<<<<<<<<<<<<< "zone1" LOCAL ZONE >>>>>>>>>>>>>>>>>>>
# zlogin zone1
[Connected to zone 'zone1' pts/2]
# format
Searching for disks...done
No disks found!
Zones only "see" the resources you've assigned to them.
To view resources assigned to zone1:
# zonecfg -z zone1 export
You can add file systems or devices to zones. See these
http://docs.sun.com/app/docs/doc/817-1592/z.conf.start-73?l=en&q=zone&a=view
http://docs.sun.com/app/docs/doc/817-1592/gbnyo?q=solaris+10+resource+management&a=view
I don't know, but it's straight forward with ZFS. Do you need Veritas?
--
Ian Collins
Have you assigned the filesystems to the zone ?
zonecfg -z zone1 info will tell you.
http://www.snpnet.com/clients/sun/containers06092005/SolarisContainers_ChatLog_v1.pdf
That's old, but assuming it hasn't changed, that means you need to mount
the filesystems in the global zone, and present them as lofs mounts.
You don't need to see the actual storage in the local zone.
--
Darren