why no automount for one zfs?
Karli Sjöberg
Karli.Sjoberg at slu.se
Tue Nov 4 06:06:50 UTC 2014
On Tue, 2014-11-04 at 07:29 +0200, Zeus Panchenko wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hi all,
>
> some times after installation I decided to dedicate separate ZFS with
> mountpoint in my homedir for storage needs
>
> but each reboot I have to mount it by hands with:
>
> zfs unmount zroot_z-hp/storage && zfs mount zroot_z-hp/storage
>
> 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 ...
>
> please help me to understand why it does not automount after reboot?
To have ZFS filesystems mounted at boot, first of all, "canmount" must
be on (check) and then you have need to have:
zfs_enable="YES"
in "rc.conf". Then there´s also the question how the parent filesystems
"/home/zeus" and "/home" are mounted? Are they also ZFS?
/K
>
> > uname -a
> FreeBSD 10.0-STABLE #0 r261303 amd64
>
> partial output of
> > zfs get all zroot_z-hp/storage
> NAME PROPERTY VALUE SOURCE
> zroot_z-hp/storage type filesystem -
> zroot_z-hp/storage mounted yes -
> zroot_z-hp/storage mountpoint /home/zeus/storage local
> zroot_z-hp/storage sharenfs off default
> zroot_z-hp/storage checksum fletcher4 inherited from zroot_z-hp
> zroot_z-hp/storage compression off default
> zroot_z-hp/storage atime off inherited from zroot_z-hp
> zroot_z-hp/storage devices on default
> zroot_z-hp/storage exec on default
> zroot_z-hp/storage setuid on default
> zroot_z-hp/storage readonly off default
> zroot_z-hp/storage jailed off default
> zroot_z-hp/storage snapdir hidden default
> zroot_z-hp/storage aclmode discard default
> zroot_z-hp/storage aclinherit restricted default
> zroot_z-hp/storage canmount on default
> zroot_z-hp/storage xattr off temporary
> zroot_z-hp/storage copies 1 default
> zroot_z-hp/storage version 5 -
>
> - --
> Zeus V. Panchenko jid:zeus at im.ibs.dn.ua
> IT Dpt., I.B.S. LLC GMT+2 (EET)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iEYEARECAAYFAlRYZDMACgkQr3jpPg/3oyozlACgrQfGK/7Ch9CQMRqJ0T4/+/Qr
> kkMAoKNYOTZdlxdQPxUe8Y9hfg7XJg0v
> =S86e
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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"
--
Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg
Swedish University of Agricultural Sciences Box 7079 (Visiting Address
Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg at slu.se
More information about the freebsd-fs
mailing list