Fresh Install. Jail Creation Error.

Status
Not open for further replies.

Chris McDowell

Dabbler
Joined
Feb 3, 2017
Messages
17
After I enter all of the details for my new jail and press ok I get the following error...

Code:
fetch: http://download.freenas.org/jails/11/x64/freenas-standard-11.0-RELEASE.mtree: No address record http://download.freenas.org/jails/11/x64/freenas-standard-11.0-RELEASE.tgz: No address record mtree: /mnt/Main/.warden-files-cache/mtree/freenas-standard-11.0-RELEASE.mtree: No such file or directory ERROR: mtree failed for /mnt/Main/.warden-files-cache/mtree/freenas-standard-11.0-RELEASE.mtree cannot open 'Main/.warden-template-standard': dataset does not exist find: /mnt/Main/.warden-template-standard: No such file or directory ERROR: Failed to create ZFS base dataset


This is a fresh install of 9.11 Is there a quick fix or should I try reinstalling? This is one of the first things I was really getting into setting up.
 
Last edited:

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
Please post error/log/code output within [code] brackets (see below),
  • It appears the error is due to the jail dataset not being set:
    Code:
    mtree: /mnt/Main/.warden-files-cache/mtree/freenas-standard-11.0-RELEASE.mtree: No such file or directory
    ERROR: mtree failed for /mnt/Main/.warden-files-cache/mtree/freenas-standard-11.0-RELEASE.mtree
    
    cannot open 'Main/.warden-template-standard': dataset does not exist 
    find: /mnt/Main/.warden-template-standard: No such file or directory
    ERROR: Failed to create ZFS base dataset
    

Code:
fetch:
http://download.freenas.org/jails/11/x64/freenas-standard-11.0-RELEASE.mtree: No address record
http://download.freenas.org/jails/11/x64/freenas-standard-11.0-RELEASE.tgz: No address record

mtree: /mnt/Main/.warden-files-cache/mtree/freenas-standard-11.0-RELEASE.mtree: No such file or directory
ERROR: mtree failed for /mnt/Main/.warden-files-cache/mtree/freenas-standard-11.0-RELEASE.mtree

cannot open 'Main/.warden-template-standard': dataset does not exist
find: /mnt/Main/.warden-template-standard: No such file or directory
ERROR: Failed to create ZFS base dataset
 
Last edited:

Chris McDowell

Dabbler
Joined
Feb 3, 2017
Messages
17
Where should I look to set that? I have under configuration a jail root set. I have tried adding a sub dataset in "Main" and am still getting an error.

Screen Shot 2017-07-11 at 10.47.53 PM.png Screen Shot 2017-07-11 at 10.48.08 PM.png
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
You may want to change your jail root, as I'm assuming you're trying to setup a jail for Plex? If you leave everything as currently configured, all warden jails and files will be saved in /mnt/main/Plex. Try creating a dataset named "jails" under /mnt/main, changing the Jail Root to /mnt/main/jails, however I'm not sure if that will make any bit of difference. If not, someone more experienced than I will need to reply.
 

Chris McDowell

Dabbler
Joined
Feb 3, 2017
Messages
17
That's how I had it setup prior and added a sub dataset to see if that was part of the issue.
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
Log in via SSH and issue ls -lsa /mnt/main/Plex
  • If there's not a .warden directory, try clicking save on the Jail configuration tab, else see if a reboot solves it. The issue appears to be your Jail Root isn't initialized (i.e. hasn't been setup if it's lacking the .warden and templates directories).
Also, FN 11 has been released, which is recommended to upgrade to. Also verify the correct jail templates are available (Jails: FN11 , FN9.10)
 

Chris McDowell

Dabbler
Joined
Feb 3, 2017
Messages
17
I got it figured out. My name server field under Network was not filled in. It started downloading the templates once that field was setup with my router's ip.

Thanks,
 
Status
Not open for further replies.
Top