View Single Post
  #1   (View Single Post)  
Old 6th August 2008
chris chris is offline
Port Guard
 
Join Date: May 2008
Location: United Kingdom
Posts: 35
Default Jails - mount: /usr/home: No such file or directory

Hi Guys,
Just setup a jail using this guide. I decided to locate my jail at /home/jail/irc rather than /usr/jail/irc because i have more space there. I've got to the step where i fire it up...

Code:
root# /bin/sh /etc/rc
...
Configuring jails:.
Starting jails:df: /usr/home/jail/irc/dev: No such file or directory
mount: /usr/home: No such file or directory
/etc/rc: WARNING: devfs_domount(): Unable to mount devfs on /usr/home/jail/irc/dev
/etc/rc: WARNING: devfs_mount_jail: devfs was not mounted on /usr/home/jail/irc/dev
cd: can't cd to /usr/home/jail/irc/dev
 cannot start jail "irc":
Here's the output of df;
Code:
root# df
Filesystem  1K-blocks     Used     Avail Capacity  Mounted on
/dev/ad4s1a   5156012  2895792   1847740    61%    /
devfs               1        1         0   100%    /dev
/dev/ad4s1b 703931506 -1119932 648736918    -0%    /home
procfs              4        4         0   100%    /proc
devfs               1        1         0   100%    /var/named/dev
When i create a sym link from /usr/home -> /home the jail still fails to start and says something about parent being a sym link. So, do i have to re-partition the hard disk to move /home/ to /usr/home/ or is there a quicker way of doing this?

Thanks,

Chris
Reply With Quote