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

2007-01-04 Thread Detlef Drewanz
Brad, sorry for taking so long to answer - christmas time ;-) That problem is exactly Bug 6449301. The workaround is to "add fs" after the zones installation. Detlef On 12/21/06 22:21, Brad Diggs wrote: Hello Detlef, What I want to do is add a new non-gobal zone where the initial zone config

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 . ERROR: No such file o

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 com

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. Cr

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 bot

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 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 > filesyst

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

2006-12-20 Thread Shawn LEE C. H.
Hi experts Is there anyway we can mount /var and /opt in a zone in a separate filesystem, noting that /var and /opt within a zone is not empty. I had tried assigning zpool devices to the zone like this: #zfs create diskpool c0t0d0 #zfs create diskpool/web #zfs create diskpool/web/var #zonecf