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!

fstab & SMB shares from host?

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
tdiaz
Starter
Starter
Posts: 32
Joined: 08 Mar 2017 21:12
Status: Offline

fstab & SMB shares from host?

Post by tdiaz »

I'm pretty sure the answer is in these threads someplace .. .but I'm just not seeing it.


I have forked-daapd v.26 running in a jail

/mnt/Extensions/Jails/ForkInIt/

and I intend on putting the audio files in

/mnt/pool/smbshare1

...and would like that to be accessible read/write by forked-daapd.

In the jail it would be /mnt/smbshare1

So I created the directory at:

/mnt/Extensions/Jails/ForkInIt/smbshare1

...and made the entry in theBrig fstab settings as:

/mnt/pool/smbshare1 /mnt/Extensions/Jails/ForkInIt nullfs rw . 0 . 0

The jail starts, at the shell from within jail, I go to /mnt/smbshare1

...and I can not see the data that I have there. I can create files/directories from within the jail and who knows where they are, but I'm not seeing them on the share either. ;-)

Otherwise I'll just package up forked-daapd v.26 and pkg install it on the host, because I know that will work.

The included FireFly service is fairly old and I'd like to use a newer option, but only v.24 is available from the packager / ports so I have to make it myself.

tdiaz
Starter
Starter
Posts: 32
Joined: 08 Mar 2017 21:12
Status: Offline

Re: fstab & SMB shares from host?

Post by tdiaz »

FWIW- I have no idea what changed, but I'm certain it has more to do with the order the steps are taken, but I have it all nailed down in the blind now.

I should write something about this, that, and the other brig thing.

It can be done point simply with a standard (non-Dataset) jail and it works as requested.

I've got Netatalk 2.2.5 in a separate jail (for DDP/AppleTalk Phase 2 compatibility) and have things set to be compatible in a particular share with how Netatalk 3.x/Samba 4.8 do it.

Sa'll good! :)

Post Reply

Return to “Jails”