Update new UI version of Guide to indicate destination directory will be automatically created if it does not exist when adding storage to a jail
Adding a mount point to a jail requires the destination directory to exist. If it does not, the jail will fail to start in the (new) UI, with an "unknown" error in the console.
On the command line, the problem is clear:[Vignesh V /mnt/hgstpool]$ sudo iocage start flex
- Starting flex
+ Start FAILED
mount: /newbies: No such file or directory
jail: /sbin/mount -t nullfs -o rw /mnt/mypool/media/newbies /newbies: failed
Destinatino directories should be created if they don't exist, and it would be convenient if the error output of "iocage start" would be shown in a dialog box.
#1 Updated by Daniel Schuler over 1 year ago
I just figured out that the destination directory isn't relative to the jail - it's relative to the host filesystem. So, give the above, the destination would need to be:
However, the destination directory still needs to be manually created.
#9 Updated by Dru Lavigne over 1 year ago
- Subject changed from Jail mount point with missing destination prevents jail from starting to Update new UI version of Guide to indicate destination directory will be automatically created if it does not exist when adding storage to a jail
- Category changed from GUI (new) to Documentation
- Status changed from Closed to Unscreened
- Assignee changed from Lola Yang to Timothy Moore II