Re: [zones-discuss] Mounting /var and /opt as filesystem in container

2006-12-21 Thread Detlef Drewanz
Brad, I am not sure what you are trying to achieve, but http://docs.sun.com/app/docs/doc/819-5461/6n7ht6qsm?a=view lists the ways that are possible, if you want to bring a global Zones ZFS into a zone 1. Look for Adding ZFS File Systems to a Non-Global Zone and please note the text in the

Re: [zones-discuss] Mounting /var and /opt as filesystem in container

2006-12-21 Thread Brad Diggs
Hello Detlef, What I want to do is add a new non-gobal zone where the initial zone config includes a legacy mode zfs filesystem. If the zfs filesystem exists but is not mounted, when you install the zone, you get an error similar to the following: Preparing to install zone m1. ERROR: No such

Re: [zones-discuss] Mounting /var and /opt as filesystem in container

2006-12-20 Thread Ivan Buetler
My hint: Missing / in zonecfg:web instead of #zonecfg:web special=diskpool/web/var using #zonecfg:web special=/diskpool/web/var Ivan On Wednesday 20 December 2006 10:53, Shawn LEE C. H. wrote: Hi experts Is there anyway we can mount /var and /opt in a zone in a separate filesystem,

Re: [zones-discuss] Mounting /var and /opt as filesystem in container

2006-12-20 Thread Shawn LEE C.H.
Ivan thks for the reply... Actually, i tried both, still cannot...with / and without Ivan Buetler wrote: My hint: Missing / in zonecfg:web instead of #zonecfg:web special=diskpool/web/var using #zonecfg:web special=/diskpool/web/var Ivan On Wednesday 20 December 2006 10:53, Shawn

Re: [zones-discuss] Mounting /var and /opt as filesystem in container

2006-12-20 Thread Detlef Drewanz
I think you have to mount the zfs as legacy mount point via /etc/vfstab, before you can add fs this to a zone. (I remember that I've seen this in the manual, but have'nt tried this by myself.) Detlef On 12/20/06 14:06, Shawn LEE C.H. wrote: Ivan thks for the reply... Actually, i tried

Re: [zones-discuss] Mounting /var and /opt as filesystem in container

2006-12-20 Thread Brad Diggs
Detlef, To be specific, do you mean that within the global zone, you have to do the following: 1. Add the zfs filesystem as legacy filesystem. 2. Manually add entry into /etc/vfstab (please provide example as I don't see one anywhere). 3. Mount the zfs filesystem in the global zone. 4.