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!

Testing TheBrig Jails

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
foxdoismil
Starter
Starter
Posts: 38
Joined: 21 Dec 2012 19:46
Status: Offline

Testing TheBrig Jails

Post by foxdoismil »

I am having a big headache with TheBrig jails.
I am sure it is my own fault.

I created a jail for kissdx and TheBrig shows it as working.
I then created a second jail with exact same configurations but named serviio and another named teste.
No mater what I do, only the first jail works.

I press the start button and nothing happens, and worse of all I do not see any log that could tell me what is wrong.

So please, is there a way to manually start it from the console and check a log to see what is wrong with these jails?
  • M/B : Gigabyte Z87X-UDH3 / CPU : Intel i7 3400 MHz / RAM : 16GB DDR3 1600 / Storage: 8x4TB Seagate NAS HDDs in RaidZ3 ~ 20TB usable disk space / O/S : xigmaNAS 11.2.0 full / SAS/SATA Controller : LSI SAS 9211-8i / Case : NZXT Model H2 - Classic Silent Middle Tower Chassis

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Testing TheBrig Jails

Post by raulfg3 »

please wait a little, there are some detected problems between latest Nas4Free 847 ( and only this version), and master (stable) Thebrig, that do not start the jails.

If you do not want to wait, downgrade N4F to prior version (eg: 804), or send a PM to alexey123 , o fsbruva for instruction of how to install beta ( working branch), but as I say is a question of few days.
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

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Testing TheBrig Jails

Post by alexey123 »

foxdoismil wrote:I then created a second jail with exact same configurations but named serviio and another named teste.
No mater what I do, only the first jail works.
Check jail IP and check jail start command. jail start must be

Code: Select all

/bin/sh /etc/rc 
What jail you create - full or slim? If you create slim jail - check /etc/fstab.<jailname> , first line of fstab may be empty.

foxdoismil wrote:So please, is there a way to manually start it from the console and check a log to see what is wrong with these jails?
You can start jail manually very simple

Code: Select all

/etc/rc.d/jail start <jailname>
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

foxdoismil
Starter
Starter
Posts: 38
Joined: 21 Dec 2012 19:46
Status: Offline

Re: Testing TheBrig Jails

Post by foxdoismil »

alexey123 wrote:What jail you create - full or slim? If you create slim jail - check /etc/fstab.<jailname>
All three jails are slim. Today I created a full one and it also does not work.
There is only one /etc/fstab.<jailname> for the first jail.

I tried to delete the non-working jails but they just stay there. Including the full jail.
alexey123 wrote:You can start jail manually very simple

Code: Select all

/etc/rc.d/jail start <jailname>
The jail that looks good generates this failure:
/etc/rc.d/jail start kissdx
Configuring jails:.
Starting jails:mount: /mnt/Pool-1/jail/kissdx/usr/ports: No such file or directory

All three non working jails gives this failure:
/etc/rc.d/jail start teste
Configuring jails:.
Starting jails:/etc/rc.d/jail: ERROR: jail: No hostname has been defined for teste
  • M/B : Gigabyte Z87X-UDH3 / CPU : Intel i7 3400 MHz / RAM : 16GB DDR3 1600 / Storage: 8x4TB Seagate NAS HDDs in RaidZ3 ~ 20TB usable disk space / O/S : xigmaNAS 11.2.0 full / SAS/SATA Controller : LSI SAS 9211-8i / Case : NZXT Model H2 - Classic Silent Middle Tower Chassis

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Testing TheBrig Jails

Post by alexey123 »

Pls, go to Extensions|TheBrig|Tools page, push Export button on Backup Existing Config line.
TheBrig will create xml for his config.
Image
Send config to forum
As example I attach my config
You do not have the required permissions to view the files attached to this post.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

axc27
NewUser
NewUser
Posts: 5
Joined: 24 Sep 2013 07:48
Status: Offline

Re: Testing TheBrig Jails

Post by axc27 »

Actually I got the master branch of TheBrig working on the current 847 build of NAS4free, see my post here.

But more important: check the posts following mine! If you had the wiki-jails installed, make sure you really removed them completely (and rebooted if you are not sure you removed all the temporary stuff) before installing TheBrig... this can save you from a lot of headache!

axc27

foxdoismil
Starter
Starter
Posts: 38
Joined: 21 Dec 2012 19:46
Status: Offline

Re: Testing TheBrig Jails

Post by foxdoismil »

I am experiencing a very weird behavior in my nas: I am not able to delete any jails. I them clicked on the remove TheBrig. It was removed from the GUI.
I then tried bruteforce erasing the jail directories as root. It was not possible. I them tried to erase everything I saw related to jails in my zpool. Still not possible.
Is there a way to get completely rid of any jails so I can start jail installation from scratch again?

P.S. I decided to manually erase because many many functions on nas4 free are not working: Whenever I try to adjust anything on nas4free, I see a message: "You have to reboot the system for the changes to take effect". I reboot and the setting is still there as if I had not done anything. The nas4free is a full installation on an hard disk.
  • M/B : Gigabyte Z87X-UDH3 / CPU : Intel i7 3400 MHz / RAM : 16GB DDR3 1600 / Storage: 8x4TB Seagate NAS HDDs in RaidZ3 ~ 20TB usable disk space / O/S : xigmaNAS 11.2.0 full / SAS/SATA Controller : LSI SAS 9211-8i / Case : NZXT Model H2 - Classic Silent Middle Tower Chassis

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Testing TheBrig Jails

Post by raulfg3 »

foxdoismil wrote:s there a way to get completely rid of any jails so I can start jail installation from scratch again?
yes.

use

Code: Select all

chflags -R noschg /mnt/yourpool/thebriginstall/yourjail
like describe in delete section of jails:
http://wiki.nas4free.org/doku.php?id=do ... owto:jails
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

User avatar
MikeMac
Forum Moderator
Forum Moderator
Posts: 429
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Re: Testing TheBrig Jails

Post by MikeMac »

raulfg3 wrote:please wait a little, there are some detected problems between latest Nas4Free 847 ( and only this version), and master (stable) Thebrig, that do not start the jails.

If you do not want to wait, downgrade N4F to prior version (eg: 804), or send a PM to alexey123 , o fsbruva for instruction of how to install beta ( working branch), but as I say is a question of few days.
(2 months after) I am trying to understand if there is hope for compatibility. May be I had lost something, and version of TheBrig without jail start promlem already here?

Post Reply

Return to “Jails”