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!

Accessing a XiigmaNAS-diretory from inside a jail?

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Accessing a XiigmaNAS-diretory from inside a jail?

Post by drnicolas »

I successfully got tvheadend running in a jail using TheBrig.

tvheadend needs several directory settings, e.g. a location here to store recordings.

On my XigmaNAS, I have the path "/mnt/vSTorage/media/recordings" which was used by a first test-installation (without jail, but on a VM) and full of recorder videos..

I also have "/mnt/vStorage/jails/tvheadend/mnt/" but this directory is empty.

Is it possible for the jails-process to access the first diretory ( whic is outside the jail)?
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

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

Re: Accessing a XiigmaNAS-diretory from inside a jail?

Post by cookiemonster »

Hi drnicolas, yes it can using nullfs. It is documented on the first few pages of the thebrig thread. I do remember I've always needed to start the jail, create a mount point inside. Then stop it, followed by adding it to the fstab editor, which is temperamental for this operation. Often I have to add it to the jail using the "more" at the bottom of the configuration editor.
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

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

Re: Accessing a XiigmaNAS-diretory from inside a jail?

Post by cookiemonster »

just checked one of my jails using thebrig. In the field "Fstab for current jail" you have a bit of a clue: This will be added to fstab. Format: device <space> mount-point as full path <space> fstype <space> options <space> dumpfreq <space> passno. Manual
Also you can use fstab editor
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

Post Reply

Return to “Jails”