Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2013, 03:14 AM
titus titus is offline
Junior Member
 
Join Date: Feb 2013
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Default Creating Jail with Warden Errors
I have searched/read the forums for a solution but have not found an answer.

I am running:
FreeBSD base
Version 9.1-RELEASE
Arch: amd64
ident GENERIC


I am receiving these errors when I run the warden gui and try to create a jail:

Building new Jail... Please wait...
ERROR: Failed getting ZFS dataset for /usr/jails..
ERROR: No jail located at /usr/jails/xxx.xxx.xxx.xxx

I have downloaded the latest update for warden found here-

http://trac.pcbsd.org/export/21592/p.../createjail.sh

Here is my mount output:
Code:
tank0 on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs, local, multilabel)
/dev/label/boot0 on /boot-mount (ufs, local, noatime)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
tank0/usr on /usr (zfs, local, noatime, nfsv4acls)
tank0/var on /var (zfs, local, noatime, nfsv4acls)
Here is my zfs list:
Code:
NAME        USED  AVAIL  REFER  MOUNTPOINT
tank0      12.1G  1.32T   237M  legacy
tank0/usr  11.7G  1.32T  11.7G  /usr
tank0/var   153M  1.32T   153M  /var
Please provide any help and/or direction, as it would be greatly appreciated.
Reply With Quote
  #2  
Old 02-27-2013, 08:09 PM
moussar moussar is offline
Junior Member
 
Join Date: Feb 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I got a different error (dataset does not exist), which I solved to by destroying and recreating the dataset. I had no jails available.
EDIT: I see that you do not have the jails filesystem (you need to create that first).
Reply With Quote
  #3  
Old 02-28-2013, 02:47 AM
titus titus is offline
Junior Member
 
Join Date: Feb 2013
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Originally Posted by moussar View Post
I got a different error (dataset does not exist), which I solved to by destroying and recreating the dataset. I had no jails available.
EDIT: I see that you do not have the jails filesystem (you need to create that first).
Thank you for the reply moussar. I will read up on creating jails filesystem.
Reply With Quote
  #4  
Old 02-28-2013, 11:49 AM
moussar moussar is offline
Junior Member
 
Join Date: Feb 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default
a "zfs create /usr/jails" would probably solve your issue.
Reply With Quote
  #5  
Old 02-28-2013, 10:11 PM
titus titus is offline
Junior Member
 
Join Date: Feb 2013
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Originally Posted by moussar View Post
a "zfs create /usr/jails" would probably solve your issue.
That's what I thought, but I wanted to be sure since this too is my first run with Warden and jails. Thank you again. I will let you know how it turns out later tonight.
Reply With Quote
  #6  
Old 03-01-2013, 04:00 AM
titus titus is offline
Junior Member
 
Join Date: Feb 2013
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Default
I ran
Code:
 zfs create tank0/usr/jails
and I have my first jail. Thank you again moussar!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:54 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.