I migrated my S11x system to S11 11/11 a few weeks ago
and things have been running fine.

I'm at S11 update 2a.

However, I seem to have tripped over a bug on New Years.

My nightly backup consist of zone shutdown, detach, snapshot,
attach, boot.

On Sunday the zone's filesystem-local svc could no longer
mount /export/home.

What are these mount's in /tmp/tmp.7kayqJ/export?

My hack was halt the zone, detach, umount these weird mounts,
attach and boot.

Thanks,
John
groenv...@acm.org

  # zfs list -r rpool/var/zones/search-1
   NAME USED AVAIL REFER MOUNTPOINT
   rpool/var/zones/search-1 26.5G 14.9G 34K /var/opt/zones/search-1
   rpool/var/zones/search-1/rpool 26.5G 14.9G 31K /rpool
   rpool/var/zones/search-1/rpool/ROOT 26.4G 14.9G 31K legacy
   rpool/var/zones/search-1/rpool/ROOT/zbe-3 26.4G 14.9G 24.5G
   /var/opt/zones/search-1/root
   rpool/var/zones/search-1/rpool/export 43.0M 14.9G 32K
   /tmp/tmp.7kayqJ/export
   rpool/var/zones/search-1/rpool/export/home 42.6M 14.9G 42.1M
   /tmp/tmp.7kayqJ/export/home

   # zonecfg -z search-1 export
   create -b
   set zonepath=/var/opt/zones/search-1
   set brand=solaris
   set autoboot=true
   set bootargs=-m verbose
   set ip-type=exclusive
   add fs
   set dir=/ematrix
   set special=tank/ematrix
   set type=zfs
   end
   add net
   set configure-allowed-address=true
   set physical=vnic3
   end
   add capped-memory
   set physical=3G
   end

   # ls -l /tmp/
   total 40
   drwx------ 3 root buclient 180 Jan 1 21:11 tmp.7kayqJ
   drwx------ 3 root root 180 Dec 11 20:09 tmp.Iva4Sr
   drwx------ 3 root root 180 Dec 11 20:14 tmp.KoaiRs
   drwx------ 3 root root 180 Dec 11 20:05 tmp.QNaiqq
   drwx------ 3 root buclient 180 Jan 2 21:21 tmp.TcaOah

   # ls -l /tmp/tmp.7kayqJ
   total 3
   drwxr-xr-x 3 root sys 3 Oct 23 2009 export

   # ls -l /tmp/tmp.7kayqJ/export
   total 3
   drwxr-xr-x 8 root root 9 Oct 26 2010 home

   # ls -l /tmp/tmp.7kayqJ/export/home
   total 21
   drwxr-xr-x 8 102 other 14 Nov 13 2009 bat107
   -rw-r--r-- 1 root root 0 Dec 11 22:30 foo
   drwxr-xr-x 2 101 other 7 Oct 23 2009 john
   drwxr-xr-x 2 100 other 9 Oct 23 2009 klj158
   drwxr-xr-x 3 103 other 10 Dec 10 2009 mab615
   drwxr-xr-x 20 104 100 42 Dec 18 2009 matrix
   drwxr-xr-x 2 ryan other 7 Oct 26 2010 ryan

# zfs set mountpoint=/var/opt/zones/search-1/root/export 
rpool/var/zones/search-1/rpool/export
cannot set property for 'rpool/var/zones/search-1/rpool/export': 'mountpoint' 
cannot be set on a dataset mounted in a non-global zone
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to