SnapRaid & AUFS Permissions problems

    • Offizieller Beitrag

    Either the other folders are outside of the first 16 TB or there are ACLs causing problems. I can't think of any other way to cause permission denied on those files but allow root to write.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Also post the results of cat /proc/mounts


    mediaman@RAGE:/root$ cat /proc/mounts
    rootfs / rootfs rw 0 0
    sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=255967,mode=755 0 0
    devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
    tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=206116k,mode=755 0 0
    /dev/disk/by-uuid/d8b25905-a7f1-4763-b693-70a780e639f7 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
    tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
    tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=558440k 0 0
    tmpfs /tmp tmpfs rw,relatime 0 0
    /dev/sdb1 /media/c2cf1386-a3eb-41da-841d-8221c75f81e8 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdc1 /media/140c023b-5657-4d05-85e8-29b49b344c3e ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdd1 /media/d6633415-d2cd-4006-84bb-75ed80019838 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sde1 /media/ab9e2a7c-3482-44e3-bd20-d21fcd03d8ce ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdh1 /media/09fac8e2-2485-4e47-b85c-5a2bdc05daa9 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdi1 /media/bae82e12-551c-43f0-a6d8-a295e69c0458 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdj1 /media/1b8fbcdc-5a9d-4748-9f2b-c53ec1c10ee9 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdk1 /media/2214b65f-6875-4e39-936a-b316cbeddb11 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdm1 /media/79777254-0e6d-400f-baee-38964178f868 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdn1 /media/6039acda-137c-43bd-a4d1-d397502f3c6b ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdo1 /media/9b57fe5f-377b-4274-9899-1ba4d077a0dd ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sds1 /media/3c52939b-5cbe-4a3b-9a60-d067ced0d047 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdu1 /media/0d71efdb-ca0c-4bd9-8f7a-759ed55d0d79 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdp1 /media/9d7b9c88-7ae1-4198-867d-692de29c2a5e ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdr1 /media/c95aa88e-06f4-469e-9189-5ead227ae9e8 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdt1 /media/36e50d18-9600-468d-8218-7973030d0871 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdf1 /media/b9701df9-db36-4572-a463-954657818a01 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdq1 /media/8b53d6b8-a9b8-41a0-9273-4e16b0520054 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdv1 /media/e01ae567-eb61-428c-a584-4e1c69f01b7d ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdg1 /media/ae11cb02-9843-448d-a7fa-630bcbb8e4b1 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    /dev/sdl1 /media/d2847003-dbf9-497f-b6c3-fb43bb4deac0 ext4 rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
    rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
    nfsd /proc/fs/nfsd nfsd rw,relatime 0 0
    none /media/63e03b6a-ccaa-42f6-b0e4-e26414efddf4 aufs rw,relatime,si=72eefcd76fa19710,create=mfs,sum 0 0
    none /export/Storage aufs rw,relatime,si=72eefcd76fa19710,create=mfs,sum 0 0
    none /export/MediaManagement aufs rw,relatime,si=72eefcd76fa19710,create=mfs,sum 0 0

  • So I did the dumpe2fs on my drive that I know is the one AUFS uses as the largest open drive, and I got that the drive was NOT EXT4 with 64bit. Very well could be not supported without 64bit being enabled on drives.


    • Offizieller Beitrag

    Maybe a bug in aufs?? aufs isn't really supported anymore. I am really looking forward to overlayfs. It is not in the Debian kernel so we are trying to figure out a solution. Ubuntu has patched their kernels since Ubuntu 11.10 to include overlayfs. overlayfs wasn't officially included in the kernel until 3.18. I'm hoping Debian backports it to the 3.16 kernel or Debian Jessie's backport kernel includes it.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Maybe a bug in aufs?? aufs isn't really supported anymore. I am really looking forward to overlayfs. It is not in the Debian kernel so we are trying to figure out a solution. Ubuntu has patched their kernels since Ubuntu 11.10 to include overlayfs. overlayfs wasn't officially included in the kernel until 3.18. I'm hoping Debian backports it to the 3.16 kernel or Debian Jessie's backport kernel includes it.


    Sorry for the slight offtopic, but may i ask you what does overlayfs offer compared to aufs? I couldn't find much documentation, but from what i found it seems it can only overlay a write enabled directory tree on a read only tree. How can you use that to pool several hard disks?

    • Offizieller Beitrag

    Union filesystems allow multiple filesystems to be combined and presented to the user as a single tree. OverlayFS is the latest union mount filesystem. aufs (in kernel) and mhddfs (fuse) are union mount filesystems. aufs is being phased out and overlayfs is its replacement. The terminology and methodology they use is different but the goal is the same. Overlaying a write enabled directory on a read only tree is just one of the uses (live cds).

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • @RustyPitchfork did you get anything new on this subject? I'm in the same boat.


    After reading, I wanted to comment with you something.
    You said repeatedly that you adjusted/reset permissions, but you didn't specified where. The permissions working through the poolshare are different from the one's you get directly accessing the same elements on the branch.
    I have a pool with three branches D1,D2,D3. I could list permissions thru the "storage" (poolshare) and set them and they where what I wanted. but after browsed to D3/Series/MySeries found that permissions there weren't the appropriate and I couldn't modify anything.
    It comes even worse if you try to move the entire parent folder. AUFS fails at half and creates phantom folders and files with zero size that steals the real files access that still are on the other branch.


    I fixed the permissions but still don't know how they be as different services work on the pool (sonarr/mediabrowser/me), so I would thank if you share your findings.

    • Offizieller Beitrag

    I've found through another user in the forum last week, that the reset permission doesn't work properly on a AUFS pool.


    Why? AUFS doesn't support ACL, so if there are some present it wont get displayed with ls -la /media/uuid-pool/


    So when you try to reset permissions in the aufs pool ACL won't get flushed.


    The user had to go to pick the disks one by one to reset the folders inside. On this last point i am not sure if the POSIX permissions in the disk where different from the pool. That should be very annoying.

    • Offizieller Beitrag

    Just create a shared folder at the root of each branch/drive and reset the permissions there.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!