danjb
Dabbler
- Joined
- Aug 2, 2014
- Messages
- 26
I am running FreeNAS-9.10.2-U4. If I create a jail on one of my zfs datasets and do a df command on the filesystem root I get this:
If I attach another dataset to the jail as storage at mount point /mnt/storj and do a df command on that, I get this:
Is there any way I can get the "Mounted on" mountpoint for df to show something other than "[restricted]" here? I have been searching to see what that means or how I can eliminate it with no luck.
I am using some software which uses df to check for free space in a directory, and apparently if the actual mount point is not shown under "Mounted on" it's enough to throw it off and make it think the directory has no free space.
In the host freenas system, this dataset shows the normal mountpoint:
Here is how I attached the storage to the jail:
[storj@storj ~]$ df /
Filesystem 1K-blocks Used Avail Capacity Mounted on
storage/jails/storj 7571566696 5369759 7566196937 0% /
If I attach another dataset to the jail as storage at mount point /mnt/storj and do a df command on that, I get this:
[storj@storj ~]$ df /mnt/storj
Filesystem 1K-blocks Used Avail Capacity Mounted on
/mnt/olddisks/storj 14611381528 49406 14611332121 0% [restricted]
Is there any way I can get the "Mounted on" mountpoint for df to show something other than "[restricted]" here? I have been searching to see what that means or how I can eliminate it with no luck.
I am using some software which uses df to check for free space in a directory, and apparently if the actual mount point is not shown under "Mounted on" it's enough to throw it off and make it think the directory has no free space.
In the host freenas system, this dataset shows the normal mountpoint:
[root@freenas] ~# df /mnt/olddisks/storj
Filesystem 1K-blocks Used Avail Capacity Mounted on
olddisks/storj 14611381528 49406 14611332121 0% /mnt/olddisks/storj
Here is how I attached the storage to the jail:

Last edited: