This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Slimnas in Jail issue
-
molettuk
- NewUser

- Posts: 11
- Joined: 04 Jan 2014 20:51
- Status: Offline
Slimnas in Jail issue
Complete novice here again trying to get slimnas working in my jail, I think I'm getting there but it's not working yet.
I'm running 9.1.0.1 (847) embedded.
I've got the brig and my jail running. I've got LMS running, I can access the webGUI for it.
The audio file in my jail is not showing up the audio files in the ordinary data area of the server.
This is my fstab entry in the jail settings
/mnt/2tbtwo/data/audio /mnt/2tbtwo/Brig/sbjail/mnt/audio rw 0 0
My test audio files definitely exist in /mnt/2tbtwo/data/audio but when I look in /mnt/2tbtwo/Brig/sbjail/mnt/audio there is nothing there. Permissions for /mnt/2tbtwo/Brig/sbjail/mnt/audio show as rwxr-xr-x is that how it should be?
I attach jail config Thanks
I'm running 9.1.0.1 (847) embedded.
I've got the brig and my jail running. I've got LMS running, I can access the webGUI for it.
The audio file in my jail is not showing up the audio files in the ordinary data area of the server.
This is my fstab entry in the jail settings
/mnt/2tbtwo/data/audio /mnt/2tbtwo/Brig/sbjail/mnt/audio rw 0 0
My test audio files definitely exist in /mnt/2tbtwo/data/audio but when I look in /mnt/2tbtwo/Brig/sbjail/mnt/audio there is nothing there. Permissions for /mnt/2tbtwo/Brig/sbjail/mnt/audio show as rwxr-xr-x is that how it should be?
I attach jail config Thanks
You do not have the required permissions to view the files attached to this post.
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Slimnas in Jail issue
folder /mnt/2tbtwo/Brig/sbjail/mnt/audio must exist prior to be mounted, so if do not exist you must create first.molettuk wrote:My test audio files definitely exist in /mnt/2tbtwo/data/audio but when I look in /mnt/2tbtwo/Brig/sbjail/mnt/audio there is nothing there
Code: Select all
mkdir /mnt/2tbtwo/Brig/sbjail/mnt/audio12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
molettuk
- NewUser

- Posts: 11
- Joined: 04 Jan 2014 20:51
- Status: Offline
Re: Slimnas in Jail issue
Thanks. I'd already done that though. I didn't do it before I started the jail the first time, but right after when I saw it doesn't create it itself, does that matter? The jail has been stopped and started several times since then but still nothing, and I just tried it again. I know that /mnt/2tbtwo/Brig/sbjail/mnt/audio definitely is there because I keep looking in it to see if anything has appeared and I've seen the permissions on it (and changed them to 766 while I was floundering). Likewise /mnt/2tbtwo/data/audio definitely exists and contains a test file and folder, and I've got someone else to check all the typing is correct.
I attach screenshot showing /mnt/audio in jail. Any more ideas please?
I attach screenshot showing /mnt/audio in jail. Any more ideas please?
You do not have the required permissions to view the files attached to this post.
-
molettuk
- NewUser

- Posts: 11
- Joined: 04 Jan 2014 20:51
- Status: Offline
Re: Slimnas in Jail issue
I'd still really like to get this working, I'm lying awake at night wondering what to do! I know it's probably something stupid, but I just can't see what it is. Could you guys help me work out what is wrong, guide me through checking things in some way, please?
I attach a screenshot of mount command result: I attach screenshots of my jail setup: Jail log file in post one.
Proof of existence of /mnt/audio in post above.
Please help!
I attach a screenshot of mount command result: I attach screenshots of my jail setup: Jail log file in post one.
Proof of existence of /mnt/audio in post above.
Please help!
You do not have the required permissions to view the files attached to this post.
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Slimnas in Jail issue
what version of theBrig do you install?.
for me only working branch works on latest N4F 9.2.x.x
viewtopic.php?f=79&t=3894&start=100#p28069
to update to latest version of working:
and retest if this time works.
Documentation: viewtopic.php?f=79&t=1654&start=125#p32507
Please execute commands from shell, so you can see the output, not from webGUI.
for me only working branch works on latest N4F 9.2.x.x
viewtopic.php?f=79&t=3894&start=100#p28069
to update to latest version of working:
Code: Select all
fetch https://raw.github.com/fsbruva/thebrig/working/thebrig_install.sh
sh thebrig_install.sh /mnt/2tbtwo/Brig 2Documentation: viewtopic.php?f=79&t=1654&start=125#p32507
Please execute commands from shell, so you can see the output, not from webGUI.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
molettuk
- NewUser

- Posts: 11
- Joined: 04 Jan 2014 20:51
- Status: Offline
Re: Slimnas in Jail issue
I'm on N4F 9.1.0.1 (847)
I installed this version of the Brig (master):
fetch -o /tmp/thebrig_install.sh https://github.com/fsbruva/thebrig/raw/ ... install.sh
Should I go ahead with the command to install the 'working' version?
Do I need to update N4F to 9.2 as well?
PS When I originally installed the brig, after saving the 'rudimentary config', I got this error message across the top of the page:
Warning: Invalid argument supplied for foreach() in /usr/local/www/ext/thebrig/extensions_thebrig_config.php on line 26 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/ext/thebrig/extensions_thebrig_config.php:26) in /usr/local/www/fbegin.inc on line 218
I installed this version of the Brig (master):
fetch -o /tmp/thebrig_install.sh https://github.com/fsbruva/thebrig/raw/ ... install.sh
Should I go ahead with the command to install the 'working' version?
Do I need to update N4F to 9.2 as well?
PS When I originally installed the brig, after saving the 'rudimentary config', I got this error message across the top of the page:
Warning: Invalid argument supplied for foreach() in /usr/local/www/ext/thebrig/extensions_thebrig_config.php on line 26 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/ext/thebrig/extensions_thebrig_config.php:26) in /usr/local/www/fbegin.inc on line 218
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Slimnas in Jail issue
YESmolettuk wrote:Should I go ahead with the command to install the 'working' version?
no necessary, but still recommended.molettuk wrote:Do I need to update N4F to 9.2 as well?
no problem, this warnning have no importance.molettuk wrote:S When I originally installed the brig, after saving the 'rudimentary config', I got this error message across the top of the page:
Warning: Invalid argument supplied for foreach() in /usr/local/www/ext/thebrig/extensions_thebrig_config.php on line 26 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/ext/thebrig/extensions_thebrig_config.php:26) in /usr/local/www/fbegin.inc on line 218
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
molettuk
- NewUser

- Posts: 11
- Joined: 04 Jan 2014 20:51
- Status: Offline
Re: Slimnas in Jail issue
OK, Thanks.
I went ahead with the brig update, typed in the command in shell. I got a message saying it updated successfully and to save in the rudimentary config tab.
In the main brig 'current jails' tab I hit save.
I stopped and restarted the jail.
Still nothing in /mnt/2tbtwo/Brig/sbjail/mnt/audio
Do I need to do anything with the various update options I now seem to have in the brig/ jail management area?
What next?
I went ahead with the brig update, typed in the command in shell. I got a message saying it updated successfully and to save in the rudimentary config tab.
In the main brig 'current jails' tab I hit save.
I stopped and restarted the jail.
Still nothing in /mnt/2tbtwo/Brig/sbjail/mnt/audio
Do I need to do anything with the various update options I now seem to have in the brig/ jail management area?
What next?
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Slimnas in Jail issue
create a new slim jail named test and test if this time mounts /mnt/2tbtwo/Brig/test/mnt/audio if still do not work , sorry i'm out of ideas.molettuk wrote:Still nothing in /mnt/2tbtwo/Brig/sbjail/mnt/audio
Must work, at least allways works for me.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
molettuk
- NewUser

- Posts: 11
- Joined: 04 Jan 2014 20:51
- Status: Offline
Re: Slimnas in Jail issue
Created a new jail...still not mounting correctly, no files in jail mount.
I've found this error in the jail log: Does that shed any light? I see there is a thread that mentions something similar. Does that mean we just produced the known bug?
Jail sbjail will no longer start, new jail jailb will start.
If I were to start from scratch with formatted data hard drive, N4F 9.2 fresh install, do I want master or working version of the brig?
I've found this error in the jail log: Does that shed any light? I see there is a thread that mentions something similar. Does that mean we just produced the known bug?
Jail sbjail will no longer start, new jail jailb will start.
If I were to start from scratch with formatted data hard drive, N4F 9.2 fresh install, do I want master or working version of the brig?
You do not have the required permissions to view the files attached to this post.
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Slimnas in Jail issue
YES.molettuk wrote:Does that shed any light? I see there is a thread that mentions something similar. Does that mean we just produced the known bug?
You need no errors in log to works properly.
Please create folder that do not exist: in your example
Code: Select all
/mnt/2tbtwo/Brig/sbjail/usr/portsallways working because user fsbruva that is the owner of master branch is out, and untill returns and upgrade master branch , the master branch is outdated.molettuk wrote:If I were to start from scratch with formatted data hard drive, N4F 9.2 fresh install, do I want master or working version of the brig?
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
molettuk
- NewUser

- Posts: 11
- Joined: 04 Jan 2014 20:51
- Status: Offline
Re: Slimnas in Jail issue
...Audio files still not mounted for either jail. sbjail still won't start (since update).
I'm left with this error message in the jail log now:
fstab: /etc/fstab.sbjail:1: Inappropriate file type or format
I'm left with this error message in the jail log now:
fstab: /etc/fstab.sbjail:1: Inappropriate file type or format
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Slimnas in Jail issue
please retype by hand the line:molettuk wrote:I'm left with this error message in the jail log now:
fstab: /etc/fstab.sbjail:1: Inappropriate file type or format
Code: Select all
/mnt/2tbtwo/data/audio /mnt/2tbtwo/Brig/sbjail/mnt/audio rw 0 0something in this line have some strange character that do not like to fstab:
Code: Select all
/mnt/2tbtwo/data/audio /mnt/2tbtwo/Brig/sbjail/mnt/audio rw 0 012.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
molettuk
- NewUser

- Posts: 11
- Joined: 04 Jan 2014 20:51
- Status: Offline
Re: Slimnas in Jail issue
Hooray! I got jailb working and the data file mounted!
I think 'nullfs' was missing from the fstab entry. Thank you very much for your patience and help.
Sbjail still won't start but as jailb is working perfectly, I just installed LMS into jailb and it seems to work fine. I take it I can just ignore sbjail, or is it best to delete it?
Could you tell me how to manually stop and restart LMS, in case it crashes or I need to stop and start it to get a fresh log file? Is it normally enough just to stop and restart the jail?
If I update N4F to 9.2 will it affect the brig and the jail? I've read it won't, but I'm slightly confused because there were files I downloaded during brig/jail setup that were specific to which N4F/Freebsd I am running?
Thank you
Sbjail still won't start but as jailb is working perfectly, I just installed LMS into jailb and it seems to work fine. I take it I can just ignore sbjail, or is it best to delete it?
Could you tell me how to manually stop and restart LMS, in case it crashes or I need to stop and start it to get a fresh log file? Is it normally enough just to stop and restart the jail?
If I update N4F to 9.2 will it affect the brig and the jail? I've read it won't, but I'm slightly confused because there were files I downloaded during brig/jail setup that were specific to which N4F/Freebsd I am running?
Thank you
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Slimnas in Jail issue
NO, this are the reason to use a jail, to be idependant of N4F OS.molettuk wrote:If I update N4F to 9.2 will it affect the brig and the jail?
delete it from WebGUI, once you know howto create new jails using TheBrig, create a new one is one minute of your time.molettuk wrote:I take it I can just ignore sbjail, or is it best to delete it?
Sorry, it must be clear first time for me, but I do not see.molettuk wrote: I think 'nullfs' was missing from the fstab entry.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
molettuk
- NewUser

- Posts: 11
- Joined: 04 Jan 2014 20:51
- Status: Offline
Re: Slimnas in Jail issue
OK, I think I am all sorted now. I even managed to upgrade to 9.2 
Thanks again
Thanks again