Hello,
I'm trying to mount a newly created dataset into a working jail with nullfs and it does not work.
I run FreeBSD 12.2-RELEASE-p4 on host and in jail. I use
In my
I tried with
If I manualy want to mount dataset into jail with
With
I tried to mount dataset with
What am I missing?
Thanks for all your help.
I'm trying to mount a newly created dataset into a working jail with nullfs and it does not work.
I run FreeBSD 12.2-RELEASE-p4 on host and in jail. I use
jail
and jail.conf
to run my jails.In my
jail.conf
I have:
Code:
allow.mount;
allow.mount.nullfs;
enforce_statfs=1;
I tried with
enforce_statfs=0
and with allow.mount.zfs
options and it does not work. I even tried with jailed=on on dataset and it does not work.If I manualy want to mount dataset into jail with
mount -t nullfs /zvirt/dir /storage
I get mount: /storage: No such file or directory
and the dir exists. I checked from the host and with jexec that dir exists and I even made /storage dir with jexec command.With
kldstat
nullfs.ko module is loaded.I tried to mount dataset with
mount.fstab
option set in jail.conf
and I get that dir inside jail does not exist.What am I missing?
Thanks for all your help.