why no automount for one zfs?
krad
kraduk at gmail.com
Wed Nov 5 08:26:28 UTC 2014
Basically its getting mounted 1st then zroot_z-hp/usr/home is getting
mounted ontop of it and hiding it.
You should consider putting zroot_z-hp/storage under the usr/home hierarchy
as it will protect you to some degree from this scenario
On 4 November 2014 23:31, Steven Hartland <killing at multiplay.co.uk> wrote:
> So it is mounting it, its just being shadowed by the usr mount point as
> /home is typically a symlink to /usr/home.
>
> Change your mount point to /usr/home/zeus/storage from /home/zeus/storage
> and you should be good.
>
> On 5 November 2014 22:12, Zeus Panchenko <zeus at ibs.dn.ua> wrote:
>
> > Hugo Lombard <hal at elizium.za.net> wrote:
> >
> > > On Tue, Nov 04, 2014 at 07:29:23AM +0200, Zeus Panchenko wrote:
> > > >
> > > > after reboot this very fs is listed as mounted but the mount
> directory
> > > > for it, is empty ... after umount/mount everything appears on it's
> > > > expected place ...
> > > >
> > >
> > > Could you perhaps show the output of "mount" before and after?
> > >
> >
> > here it is
> >
> > 1. before umount/mount
> > 1.1. zfs list
> > NAME USED AVAIL REFER MOUNTPOINT
> > zroot_z-hp 27.9G 81.4G 144K none
> > zroot_z-hp/ROOT 8.42G 81.4G 144K none
> > zroot_z-hp/ROOT/default 8.42G 81.4G 8.42G /
> > zroot_z-hp/storage 8.52G 81.4G 8.52G /home/zeus/storage
> > zroot_z-hp/tmp 291M 81.4G 291M /tmp
> > zroot_z-hp/usr 9.35G 81.4G 144K /usr
> > zroot_z-hp/usr/home 5.27G 81.4G 2.43G /usr/home
> > zroot_z-hp/usr/ports 3.00G 81.4G 1.80G /usr/ports
> > zroot_z-hp/usr/src 1.08G 81.4G 1.08G /usr/src
> > zroot_z-hp/var 1.15G 81.4G 1017M /var
> > zroot_z-hp/var/crash 148K 81.4G 148K /var/crash
> > zroot_z-hp/var/log 5.99M 81.4G 5.99M /var/log
> > zroot_z-hp/var/tmp 153M 81.4G 153M /var/tmp
> > zroot_z-hp/ROOT/default on / (zfs, local, noatime, nfsv4acls)
> >
> > 1.2. df -h
> > devfs on /dev (devfs, local, multilabel)
> > zroot_z-hp/storage on /usr/home/zeus/storage (zfs, local, noatime,
> > nfsv4acls)
> > zroot_z-hp/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
> > zroot_z-hp/usr/home on /usr/home (zfs, local, noatime, nfsv4acls)
> > zroot_z-hp/usr/ports on /usr/ports (zfs, local, noatime, nosuid,
> nfsv4acls)
> > zroot_z-hp/usr/src on /usr/src (zfs, local, noatime, noexec, nosuid,
> > nfsv4acls)
> > zroot_z-hp/var on /var (zfs, local, noatime, nfsv4acls)
> > zroot_z-hp/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid,
> > nfsv4acls)
> > zroot_z-hp/var/log on /var/log (zfs, local, noatime, noexec, nosuid,
> > nfsv4acls)
> > zroot_z-hp/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
> >
> > 1.3. ls -al /home/zeus/storage
> > total 41
> > drwxr-xr-x 2 root staff 2 Jul 20 21:37 .
> > drwxr-xr-x 48 zeus staff 118 Nov 4 21:02 ..
> >
> > 2. after umount/mount
> > 2.1. zfs list
> > NAME USED AVAIL REFER MOUNTPOINT
> > zroot_z-hp 27.9G 81.4G 144K none
> > zroot_z-hp/ROOT 8.42G 81.4G 144K none
> > zroot_z-hp/ROOT/default 8.42G 81.4G 8.42G /
> > zroot_z-hp/storage 8.52G 81.4G 8.52G /home/zeus/storage
> > zroot_z-hp/tmp 291M 81.4G 291M /tmp
> > zroot_z-hp/usr 9.35G 81.4G 144K /usr
> > zroot_z-hp/usr/home 5.27G 81.4G 2.43G /usr/home
> > zroot_z-hp/usr/ports 3.00G 81.4G 1.80G /usr/ports
> > zroot_z-hp/usr/src 1.08G 81.4G 1.08G /usr/src
> > zroot_z-hp/var 1.15G 81.4G 1017M /var
> > zroot_z-hp/var/crash 148K 81.4G 148K /var/crash
> > zroot_z-hp/var/log 5.99M 81.4G 5.99M /var/log
> > zroot_z-hp/var/tmp 153M 81.4G 153M /var/tmp
> > zroot_z-hp/ROOT/default on / (zfs, local, noatime, nfsv4acls)
> >
> > 2.2. df -h
> > devfs on /dev (devfs, local, multilabel)
> > zroot_z-hp/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
> > zroot_z-hp/usr/home on /usr/home (zfs, local, noatime, nfsv4acls)
> > zroot_z-hp/usr/ports on /usr/ports (zfs, local, noatime, nosuid,
> nfsv4acls)
> > zroot_z-hp/usr/src on /usr/src (zfs, local, noatime, noexec, nosuid,
> > nfsv4acls)
> > zroot_z-hp/var on /var (zfs, local, noatime, nfsv4acls)
> > zroot_z-hp/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid,
> > nfsv4acls)
> > zroot_z-hp/var/log on /var/log (zfs, local, noatime, noexec, nosuid,
> > nfsv4acls)
> > zroot_z-hp/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
> > zroot_z-hp/storage on /usr/home/zeus/storage (zfs, local, noatime,
> > nfsv4acls)
> >
> >
> > --
> > Zeus V. Panchenko jid:zeus at im.ibs.dn.ua
> > IT Dpt., I.B.S. LLC GMT+2 (EET)
> >
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>
More information about the freebsd-fs
mailing list