Author Topic: File Shares on Zentyal  (Read 2843 times)

motermouth15

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
File Shares on Zentyal
« on: March 15, 2018, 05:08:00 pm »
Hello-

I'm currently running an OpenMediaVault NAS on my network. It contains well over 5tb of data on it. My goal is to have some of those drives mounted based on group membership on zentyal, when a user logs in, similar to how their home directory is mounted. I was attempting to complete this by mounting the cifs drives to my zentyal filesystem. I was able to successfully mount them but when I go to create the share on Zentyal, I get the following error:

Quote
The mount point '/media/video' must be mounted with 'acl' option. This is required for permissions to work properly.

I've tried using the 'acl' and the 'user_xattr' options in my mount command. I never get an error when mounting, and I'm able to browse through the mounted point so I know it's mounting. Does anyone have any idea how I can satisfy Zentyal when mounting this point so that I can create the shares?

Secondly, is this even possible -- to create those file shares within the zentyal web gui and have them mounted based on group memberships?
« Last Edit: March 15, 2018, 05:13:23 pm by motermouth15 »

dkyrgia

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: File Shares on Zentyal
« Reply #1 on: May 25, 2023, 12:14:35 pm »
After many efforts (try and error) I managed to bypass (and actually solve) this problem. I firstly mounted a "normal" Zentyal share, let's say /home/samba/shares/data.

The second step was to mount rhe nfs disk at the saming mounting point. I added thsi into my /etc/fstab file
user@192.168.2.175:/mnt/data /home/samba/shares/data fuse.sshfs noauto,x-systemd.automount,_netdev,IdentityFile=/home/dkyrgia/.ssh/id_rsa,allow_other,reconnect 0 0

The third step was to create a passowrdless connection to the remote side
https://linuxize.com/post/how-to-setup-passwordless-ssh-login/
so during the boot the connection in fstab can be established without the need of password.
It works fine

/dimitris