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!
Jail preventing startup of nasfree
-
rampie
- NewUser

- Posts: 13
- Joined: 12 Jun 2013 12:03
- Status: Offline
Jail preventing startup of nasfree
Hey,
i just installed a jail and tried booting it up. The result: entire server blocked down.
Now i restarted the server and guess what happened: YES it's still blocks. I guess the jail is getting loaded at startup.
Any ideas on how to NOT get it on startp anymore?
Thanks.
i just installed a jail and tried booting it up. The result: entire server blocked down.
Now i restarted the server and guess what happened: YES it's still blocks. I guess the jail is getting loaded at startup.
Any ideas on how to NOT get it on startp anymore?
Thanks.
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Jail preventing startup of nasfree
edit config.xml and find postinit command, delete or disable start of the jail. (if not find in config.xml, perhaps need to edit rc.conf some line related to jail start)
PD: it's safe and recommended to install TheBrig a default jail manager for Nas4Free.
To edit file, you only need to boot from CD-ROM and use embeded file editor in N4F to locate file, load, modify, and save, once done you can reboot without CD-ROM.
PD: it's safe and recommended to install TheBrig a default jail manager for Nas4Free.
To edit file, you only need to boot from CD-ROM and use embeded file editor in N4F to locate file, load, modify, and save, once done you can reboot without CD-ROM.
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
- kkd
- Forum Moderator

- Posts: 306
- Joined: 08 May 2013 21:47
- Location: Budapest, Hungary
- Contact:
- Status: Offline
Re: Jail preventing startup of nasfree
try to access /cf/conf/config.xml and delete the jail rows (install a new n4f and mount old n4f drive).
try to restore old config by renaming /cf/conf/config.bk5 to config.xml.
create a new install and restore saves config
create a new install and import disks
try to restore old config by renaming /cf/conf/config.bk5 to config.xml.
create a new install and restore saves config
create a new install and import disks
XigmaNAS x64-embedded | INTEL Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz | 9216MiB RAM | X x YTB WD Red ZFS mirror compressed
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Jail preventing startup of nasfree
wow... two responses at same time, this is great.
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
- kkd
- Forum Moderator

- Posts: 306
- Joined: 08 May 2013 21:47
- Location: Budapest, Hungary
- Contact:
- Status: Offline
Re: Jail preventing startup of nasfree
you were a little fasterraulfg3 wrote:wow... two responses at same time, this is great.
XigmaNAS x64-embedded | INTEL Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz | 9216MiB RAM | X x YTB WD Red ZFS mirror compressed
-
rampie
- NewUser

- Posts: 13
- Joined: 12 Jun 2013 12:03
- Status: Offline
Re: Jail preventing startup of nasfree
OK, i booted from USB drive, but how to access the USB drive then?raulfg3 wrote:To edit file, you only need to boot from CD-ROM and use embeded file editor in N4F to locate file, load, modify, and save, once done you can reboot without CD-ROM.
- kkd
- Forum Moderator

- Posts: 306
- Joined: 08 May 2013 21:47
- Location: Budapest, Hungary
- Contact:
- Status: Offline
Re: Jail preventing startup of nasfree
mount old n4f driverampie wrote:OK, i booted from USB drive, but how to access the USB drive then?raulfg3 wrote:To edit file, you only need to boot from CD-ROM and use embeded file editor in N4F to locate file, load, modify, and save, once done you can reboot without CD-ROM.
XigmaNAS x64-embedded | INTEL Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz | 9216MiB RAM | X x YTB WD Red ZFS mirror compressed
-
rampie
- NewUser

- Posts: 13
- Joined: 12 Jun 2013 12:03
- Status: Offline
Re: Jail preventing startup of nasfree
Nvm, found how to do it. I removed the jail from being startup.
I guess my problem lies witht th fact i'm trying to mount a share which is to big
I guess my problem lies witht th fact i'm trying to mount a share which is to big
-
fsbruva
- Advanced User

- Posts: 378
- Joined: 21 Sep 2012 14:50
- Status: Offline
Re: Jail preventing startup of nasfree
More than likely, you are trying to do an illegal nullfs mount. This will cause all manner of issues. Size of share doesn't really matter - but it will choke pretty hard if you try to mount one folder nullfs and then mount a sub folder as a separate mount point. Results in resource deadlock.
-
rampie
- NewUser

- Posts: 13
- Joined: 12 Jun 2013 12:03
- Status: Offline
Re: Jail preventing startup of nasfree
just inserted the USB drive in another PC and this one boots fine. Gonna try again tonight on the server and attach screen + CD drive so i can troubleshoot the thing. Gonna disable the jail for now.
PS: any chance of transferring the config from an embedded install to a full install, or is embedded install better? (with full i don't have to do the jail i suppose?)
PS: any chance of transferring the config from an embedded install to a full install, or is embedded install better? (with full i don't have to do the jail i suppose?)
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Jail preventing startup of nasfree
incorrect, jails is the default / suggested by N4F team way to install packages, and that packages do not affecting the operation of N4F.rampie wrote: (with full i don't have to do the jail i suppose?)
Jails using TheBrig have a aditional advantage, survive to N4F upgrades / reinstall, you only need to save N4F config and restore it.
embeded is recomended for USB key install due "burn it" problems in USB devices if you write a lot of times on it.rampie wrote:is embedded install better?
Full is usefull / recommended for install on HD or Professional/industrial grade USB /CF/SD. (If your board have a IDE port and you do not use it, is useful to use an old and cheap /free IDE disk to boot N4F from it)
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
-
rampie
- NewUser

- Posts: 13
- Joined: 12 Jun 2013 12:03
- Status: Offline
Re: Jail preventing startup of nasfree
OK, then i'll stick with embedded. Getting the jail up is a must now 