Setting up Jail destination error

ric

Contributor
Joined
Dec 22, 2013
Messages
180
Recently upgraded my freenas system to 11.2. and relocated all my Jails to SSD and converted them to Iocage jail.

On the latest version of Freenas 11.2 the destination path of Transmission Jail, and found some issues when setting up mount points destination of Transmiision Jail. See below.

"Destination directory should be empty"
 

Attachments

  • jail_mountpoints_error.PNG
    jail_mountpoints_error.PNG
    25 KB · Views: 768

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
You can't set up a destination for a mount point that already contains files. That's exactly what that error is telling you.
 

ric

Contributor
Joined
Dec 22, 2013
Messages
180
The media directory is where the sub-folder I've created for downloaded files. So how can I fix the error?
 
Last edited:

yourmate

Contributor
Joined
Apr 4, 2016
Messages
105
The media directory is where the sub-folder I've created for downloaded files. So how can I fix the error?
open shell
Code:
cd /mnt/your_dataset_for_jails/iocage/jails/transmission/root/usr/local/etc/transmission/home/Downloads
ls [to check content]
rm *.* [to delete everything]
ls [to check content again]

I reckon there is a better/simpler way to do it but I'm a windowz guy :(
 
Last edited:

ric

Contributor
Joined
Dec 22, 2013
Messages
180
I checked using following command to delete any file in . directory "rm *.* no such file or directory", and the directory is already empty.
 

Attachments

  • freenas_iocage_jail_directory.PNG
    freenas_iocage_jail_directory.PNG
    15.1 KB · Views: 538
Top