Hi all,
I'm currently in a testing phase to setup a new NAS. I want to use Snapraid and mergerfs as union filesystem on top.
I'm faced with the issue below. <== and I'm hoping for help.
1. Snapraid creation ok
2. Union filesystem created (done via web client)
#################################################################################
root@openmediavault:~# mergerfs.ctl info
- mount: /srv/c6b1f64f-2c51-4adb-bbb2-1f5c3f650c48
version: 2.23.1
pid: 19933
srcmounts:
- /srv/dev-disk-by-id-ata-Samsung_SSD_850_EVO_250GB_S2CJNXAGC00673K-part3 <== partition
- /srv/dev-disk-by-label-data1 <== real disk
##################################################################################
After creating a shared folder named hugo the following happens:
##################################################################################
root@openmediavault:~# mergerfs.ctl info
- mount: /srv/c6b1f64f-2c51-4adb-bbb2-1f5c3f650c48
version: 2.23.1
pid: 19933
srcmounts:
- /srv/dev-disk-by-id-ata-Samsung_SSD_850_EVO_250GB_S2CJNXAGC00673K-part3
- /srv/dev-disk-by-label-data1
Traceback (most recent call last):
File "/usr/bin/mergerfs.ctl", line 272, in <module>
main()
File "/usr/bin/mergerfs.ctl", line 264, in main
args.func(fspaths,args)
File "/usr/bin/mergerfs.ctl", line 243, in cmd_info
print_mergerfs_info(fspaths)
File "/usr/bin/mergerfs.ctl", line 97, in print_mergerfs_info
version = os.getxattr(ctrlfile,'user.mergerfs.version')
FileNotFoundError: [Errno 2] No such file or directory: '/sharedfolders/hugo/.mergerfs'
##################################################################################
The new share doesn't show any content from the source folders.
Content added to the union share is stored onto one of the disks (usage increases).
The files are visible in the union share, but they are not visible in the source shares.
Permissions I gave are RW to the user.
The directory output of the mergerfs is as follows:
###################################################################################
root@openmediavault:~# ls -lisa /srv/c6b1f64f-2c51-4adb-bbb2-1f5c3f650c48
insgesamt 60
8808977924098 4 drwxr-xr-x 5 root root 4096 Mai 26 11:25 .
524289 4 drwxr-xr-x 7 root root 4096 Mai 26 12:09 ..
8869108121601 8 drwxrws---+ 4 root users 4096 Mai 26 11:28 data1
8808983953409 4 drwxrwsr-x 4 root users 4096 Mai 26 11:27 datassd
8869126733825 4 drwxrwsr-x 2 root users 4096 Mai 26 09:43 hugo
8808977924107 16 drwx------ 2 root root 16384 Mai 25 00:01 lost+found
8808977924108 4 -rw-r--r-- 1 root root 1014 Mai 25 00:10 snapraid.conf
8869107466252 4 -rw-r--r-- 1 root root 724 Mai 25 00:08 snapraid.conf.bak
8808977924109 4 -rw------- 1 root root 389 Mai 25 00:11 snapraid.content
###################################################################################
I'm a faced with a home grown permission issue or what could it be?
Thanks in advance