*New 12.1 series Release:
2020-04-05: XigmaNAS 12.1.0.4.7509 - released

*New 11.3 series Release:
2020-04-05: XigmaNAS 11.3.0.4.7509 - 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

Mount ZFS dataset to Jail

XigmaNAS Extensions / Add-ons

Moderator: crest

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
dimitry
Starter
Starter
Posts: 23
Joined: 11 Oct 2017 10:43
Status: Offline

Mount ZFS dataset to Jail

#1

Post by dimitry »

Hi All,

I can't use the setting "Enable mount zfs dataset": I enable this checkbox, select the dataset from the dropdown, set the Jail's mount point as "mountedzfs" (/mnt/mountedzfs, /mountedzfs - nothing works) Click Save - Apply.

When I'm trying to start jail - nothing happens. Log shows the error "Unable to start jail" with no details. What am I doing wrong?

enforce_statfs is set to 0.

Dmitry.

Shperrung
experienced User
experienced User
Posts: 141
Joined: 04 Apr 2018 16:29
Status: Offline

Re: Mount ZFS dataset to Jail

#2

Post by Shperrung »

Hi,
Routing of datasets or folders into jail may be done using fstab editor appeared after jail creation.
11.2.0.4 - Omnius (revision 6177) embedded -> XigmaNAS 12.0.0.4.6928 RootOnZFS
ASRock J3710-ITX, LAN: Winyao 2 ports; 16Gb RAM; WD 1Tbx2, WD 2Tb; UPS Powercom WOW500U.

dimitry
Starter
Starter
Posts: 23
Joined: 11 Oct 2017 10:43
Status: Offline

Re: Mount ZFS dataset to Jail

#3

Post by dimitry »

I'm going to use this way.

But also I would like to understand why this stuff does not work out-of-the box. Or maybe my understanding of it is wrong and I don't use it in a proper way.

Shperrung
experienced User
experienced User
Posts: 141
Joined: 04 Apr 2018 16:29
Status: Offline

Re: Mount ZFS dataset to Jail

#4

Post by Shperrung »

As I correct understand explanation about "jails" this limitation of using file system is its advantage. Jail may contain any BSD application that can free connecting to Internet. In case of any harm due to your or others actions it will be localized in "jail" only.
11.2.0.4 - Omnius (revision 6177) embedded -> XigmaNAS 12.0.0.4.6928 RootOnZFS
ASRock J3710-ITX, LAN: Winyao 2 ports; 16Gb RAM; WD 1Tbx2, WD 2Tb; UPS Powercom WOW500U.

Post Reply

Return to “Extensions / Add-ons”