Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris 10 Zones - how to see and setup Veritas 5.0 Volumes and File Systems in zone - BEGINNER QUESTION

51 views
Skip to first unread message

underh20

unread,
Jun 30, 2009, 7:37:13 PM6/30/09
to
Our Solaris 10 server is running Veritas Oracle DB Edition 5.0. It has
two zones, i.e., "global" and "zone1". We built three Veritas volumes
and Veritas file systems from the SAN storage disks in the "global"
zone. We need "zone1" to see these three Veritas volumes/file
systems (/u01, /u02, /u03) and /dev/odm also. Unfortunately, all the
storage disks exist in "global" zone only and no disk is showing in
"format" in zone1. See below.

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!

ITguy

unread,
Jun 30, 2009, 10:32:20 PM6/30/09
to
> Our Solaris 10 server is running Veritas Oracle DB Edition 5.0. It has
> two zones, i.e., "global" and "zone1".  We built three Veritas volumes
> and Veritas file systems from the SAN storage disks in the "global"
> zone.   We need "zone1" to see these three Veritas volumes/file
> systems (/u01, /u02, /u03) and /dev/odm also. Unfortunately, all the
> storage disks exist in "global" zone only and no disk is showing in
> "format" in zone1. See below.
>
> How can I have zone1 see and use the three Veritas volumes, file
> systems and /dev/odm from global zone ?

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

Ian Collins

unread,
Jul 1, 2009, 1:13:48 AM7/1/09
to
underh20 wrote:
> Our Solaris 10 server is running Veritas Oracle DB Edition 5.0. It has
> two zones, i.e., "global" and "zone1". We built three Veritas volumes
> and Veritas file systems from the SAN storage disks in the "global"
> zone. We need "zone1" to see these three Veritas volumes/file
> systems (/u01, /u02, /u03) and /dev/odm also. Unfortunately, all the
> storage disks exist in "global" zone only and no disk is showing in
> "format" in zone1. See below.
>
> 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

I don't know, but it's straight forward with ZFS. Do you need Veritas?

--
Ian Collins

Zfs..

unread,
Jul 1, 2009, 2:29:51 PM7/1/09
to

Have you assigned the filesystems to the zone ?

zonecfg -z zone1 info will tell you.

Darren Dunham

unread,
Jul 2, 2009, 4:25:00 PM7/2/09
to
In comp.unix.solaris underh20 <underh20.s...@gmail.com> wrote:
> Our Solaris 10 server is running Veritas Oracle DB Edition 5.0. It has
> two zones, i.e., "global" and "zone1". We built three Veritas volumes
> and Veritas file systems from the SAN storage disks in the "global"
> zone. We need "zone1" to see these three Veritas volumes/file
> systems (/u01, /u02, /u03) and /dev/odm also. Unfortunately, all the
> storage disks exist in "global" zone only and no disk is showing in
> "format" in zone1. See below.
>
> How can I have zone1 see and use the three Veritas volumes, file
> systems and /dev/odm from global zone ?

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

0 new messages