Can't install new SW to a full Jail
Posted: 08 Oct 2013 01:12
Fairly new to nas4free, freeBSD, and very new to Jails.
My host OS has nas4free 9.1 installed and running, I have a single hard drive mapped to /mnt running ZFS.
I installed the "theBrig". All seemed to go well. I have two jails both running nas4free 9.1. One is slim and the other is full. Both run, but I have stopped the slim one. The full jail is mapped to "/mnt/MediaPool0/Jail/gitJailFull" (if I understand correctly, this is where it's virtual "/" is. The full jail runs fine, web interface works, SSH works, SMB works, etc.
I believe that having a full jail will allow me to install addition S/W (since this is what I would like to do), but please correct me if I'm wrong. Specifically I want to install a git server and possibly other apps in the full jail. When I try, I get a similar behaviour to when I tried to install git on the host nas4free image, which is to say lots of errors. i.e.
What I don't understand are these "filesystem full" errors, when the entire jailed nas is supposedly mounted on "mnt/MediaPool0/Jail/gitJailFull", which should map to my physical hard drive, not the embedded USB stick? Note the hard drive reports 366 GB free.
Thanks for your interest. Any help would be appreciated.
My host OS has nas4free 9.1 installed and running, I have a single hard drive mapped to /mnt running ZFS.
I installed the "theBrig". All seemed to go well. I have two jails both running nas4free 9.1. One is slim and the other is full. Both run, but I have stopped the slim one. The full jail is mapped to "/mnt/MediaPool0/Jail/gitJailFull" (if I understand correctly, this is where it's virtual "/" is. The full jail runs fine, web interface works, SSH works, SMB works, etc.
I believe that having a full jail will allow me to install addition S/W (since this is what I would like to do), but please correct me if I'm wrong. Specifically I want to install a git server and possibly other apps in the full jail. When I try, I get a similar behaviour to when I tried to install git on the host nas4free image, which is to say lots of errors. i.e.
Code: Select all
nas4free: git_pkgs # pkg_add -r git
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/git.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/All/perl-5.14.2_2.tbz...
/var: write failed, filesystem is full
lib/perl5/5.14.2/pod/perldiag.pod: Write failed
lib/perl5/5.14.2/pod/perldsc.pod: Write failed
lib/perl5/5.14.2/pod/perlebcdic.pod: Write to restore size failed
lib/perl5/5.14.2/pod/perlembed.pod: Write to restore size failed
lib/perl5/5.14.2/pod/perlepoc.pod: Write to restore size failed
... lots of these
Thanks for your interest. Any help would be appreciated.