Mount order for ZFS, jails, and nullfs

CyberLeo Kitsana cyberleo at cyberleo.net
Sat Sep 25 06:47:31 UTC 2010


On 09/24/2010 11:03 AM, Torbjorn Granlund wrote:
> ...
> Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS
> volumes.

Sure, it can:

----8<----
(f84104b2)[root at akisha ~]# zfs create akisha/mnttmp
(f84104b2)[root at akisha ~]# touch /zfs/akisha/mnttmp/test
(f84104b2)[root at akisha ~]# ls -l /zfs/akisha/mnttmp
total 1
-rw-r--r--  1 root  wheel  - 0 Sep 25 01:39 test
(f84104b2)[root at akisha ~]# zfs set mountpoint=legacy akisha/mnttmp
(f84104b2)[root at akisha ~]# ls -l /zfs/akisha/mnttmp
ls: /zfs/akisha/mnttmp: No such file or directory
(f84104b2)[root at akisha ~]# mount -t zfs akisha/mnttmp /mnt/tmp
(f84104b2)[root at akisha ~]# ls -l /mnt/tmp
total 1
-rw-r--r--   1 root  wheel  -  0 Sep 25 01:39 test
(f84104b2)[root at akisha ~]# umount /mnt/tmp
(f84104b2)[root at akisha ~]# ls -l /mnt/tmp
total 0
(f84104b2)[root at akisha ~]#
----8<----

On 8.1-RELEASE.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo at CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/


More information about the freebsd-questions mailing list