Sorry we lost some posts because of database errors!

*New 12.1 series Release:
2020-09-01: XigmaNAS 12.1.0.4.7728 - released

*New 11.4 series Release:
2020-08-27: XigmaNAS 11.4.0.4.7718 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

XigmaNAS meets a Jail

Posts only related to Beta Builds, all others will be removed!
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1060
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

XigmaNAS meets a Jail

#1

Post by JoseMR »

XigmaNAS Full Platforms can run inside a BastilleBSD jail:

Screenshot:
Image

Advanced users who like to further explore in this topic, all you need is to export a XigmaNAS RootOnZFS platform Boot Environment, then import back to your jails dir hierarchy, otherwise create an empty jail and extract the the latest XigmasNAS base.txz and configure bits manually.

Regards


Disclaimer: I'm not responsible for any data loss or damage by the use of this educational purposes only instructions, use solely at your own risk.
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

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

Re: XigmaNAS meets a Jail

#2

Post by raulfg3 »

good job.
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
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1060
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: XigmaNAS meets a Jail

#3

Post by JoseMR »

Thanks raulfg3, this is a very quick and effective method for development and testing, and for purposely running XigmaNAS Jailed, however this requires for disable the "Disks" related tabs as expected, since XigmaNAS can later share data from given nullfs, otherwise Bhyve and passthru is the way to go.

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

cookiemonster
Advanced User
Advanced User
Posts: 286
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: XigmaNAS meets a Jail

#4

Post by cookiemonster »

Thank you JoseMR for continuing to add to the functionality of XigmaNas.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1060
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: XigmaNAS meets a Jail

#5

Post by JoseMR »

cookiemonster wrote:
18 Apr 2020 18:58
Thank you JoseMR for continuing to add to the functionality of XigmaNas.

Hi cookiemonster, I was just playing with this as a basic proof of concept mostly. ;)

Maybe BastilleBSD may support empty jail creation too for homegrown custom made jails as well, lets see.

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

User avatar
kim.bjoern
Starter
Starter
Posts: 15
Joined: 12 Jan 2015 16:41
Contact:
Status: Offline

Re: XigmaNAS meets a Jail

#6

Post by kim.bjoern »

Many thanks for this insight. Sending XigmaNAS to jail is something I'd like to try out. :mrgreen:

I assume you've exported a boot environment from an existing Xigma ZoR with bectl(?). I'll try first with the .txz though.

What does your jails.conf look like?

Many thanks in advance - Kim Bjoern
DELL PowerEdge servers T110II, R520, R720, R720xd
Ubiquiti/Netgear 1-10Gb network
:mrgreen: OSX clients

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1060
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: XigmaNAS meets a Jail

#7

Post by JoseMR »

kim.bjoern wrote:
04 May 2020 22:06
Many thanks for this insight. Sending XigmaNAS to jail is something I'd like to try out. :mrgreen:

I assume you've exported a boot environment from an existing Xigma ZoR with bectl(?). I'll try first with the .txz though.

What does your jails.conf look like?

Many thanks in advance - Kim Bjoern
Hi kim.bjoern, yes the easiest way to play/explore with this may be by exporting a XigmaNAS boot environment such from a running VM with either beadm or bectl.

I no longer have such VM but I will give you a random jail.conf setup from a currently running basic bastille jail:

Code: Select all

emby {
  devfs_ruleset = 4;
  enforce_statfs = 2;
  exec.clean;
  exec.consolelog = /mnt/storage/bastille/logs/emby_console.log;
  exec.start = '/bin/sh /etc/rc';
  exec.stop = '/bin/sh /etc/rc.shutdown';
  host.hostname = emby;
  mount.devfs;
  mount.fstab = /mnt/storage/bastille/jails/emby/fstab;
  path = /mnt/storage/bastille/jails/emby/root;
  securelevel = 2;

  interface = em0;
  ip4.addr = 192.168.1.240;
  ip6 = disable;
}
Be aware that XigmaNAS does not know that it is jailed, hence irrelevant/unnecessary tabs will still be presented with unknown info, notoriously Disk Management, SMART etc., so it does take some work to adapt and remove/disable such tabs in the PHP code, but an firmware upgrade will bring them back as expected as XigmaNAS is not designed to be jail aware/friendly in mind.

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

Post Reply

Return to “Beta Builds (Testing Only)”