I noticed that fstab -a doesn't work unless the directory already exists in the jail prior to issuing the command. In prior versions the directory didn't need to exist in the jail. Is this a bug?
Code:
ls -l /mnt/v1/scripts/ total 1 -rw-r--r-- 1 root wheel 0 Aug 10 16:33 test root@freenas[/git/freenas-iocage-nextcloud]# iocage fstab -a nextcloud /mnt/v1/scripts /mnt/scripts nullfs rw 0 0 Destination: /mnt/v1/iocage/jails/nextcloud/root/mnt/scripts does not exist or is not a directory. root@freenas[/git/freenas-iocage-nextcloud]# iocage exec nextcloud -- mkdir -p /mnt/scripts root@freenas[/git/freenas-iocage-nextcloud]# iocage fstab -a nextcloud /mnt/v1/scripts /mnt/scripts nullfs rw 0 0 Successfully added mount to nextcloud's fstab root@freenas[/git/freenas-iocage-nextcloud]#