Posts by RedpaX

    I just copy over all the data to another NAS, using rsync. Every day.

    Well, actually I use rsync in a script to every day create a new snapshot on another NAS. The snapshots "reuse" unchanged files by hardlinking, so each snapshot (almost) only takes up space for new and changed files. Also by using rsync only new and changed files have to be copied between the NAS, so it is usually very fast.

    its too hard for my

    avahi / zero-conf /Bonjour service works not correct on the MAC OS

    after start MAC OS avahi / zero-conf /Bonjour works good, and network shared SMB folders available at finder, but after mac going to sleep and later wake up, shared SMB folders is displayed at finder but notavailable and not opening.

    I did a clean experiment, i did intall mac os on clean ssd drive, and did install OMW5 but i have the same problem. avahi / zero-conf /Bonjour not works correct after wakeup mac. :(

    Снимок экрана 2020-02-03 в 00.57.39.jpgСнимок экрана 2020-02-03 в 00.58.25.jpg

    1) i am delete usrjquota=aquota.user,,jqfmt=vfsv0 from /etc/openmediavault/config.xml
    2) run command omv-salt deploy
    3) run command reboot
    4) go to directory /srv/dev-disk-by-label-SeagateEXT4
    5) run command rm aquota.user and sudo chattr -i aquota.user and sudo rm -f aquota.user


    Operation not permitted


    I'm done because you need to remove the quota options (,usrjquota=aquota.user,,jqfmt=vfsv0) from the fstab entries. This needs to be done in the OMV database (change mntent in /etc/openmediavault/config.xml) and the rewrite fstab (omv-mkconf fstab for omv 4.x or omv-salt deploy run fstab for omv 5.x). Then reboot. Then you can delete them using sudo. I'm moving on to important things so you have to figure out the stuff missing.

    but i do not have records in the fstab:

    proc /proc proc defaults 0 $
    PARTUUID=6c586e13-01 /boot vfat defaults $
    PARTUUID=6c586e13-02 / ext4 noatime,nodirati$
    # a swapfile is not a swap partition, no line here
    # use dphys-swapfile swap[on|off] for that
    # >>> [openmediavault]
    /dev/disk/by-label/SeagateEXT4 /srv/dev-disk-by-label-S$
    /dev/disk/by-label/WD1024 /srv/dev-disk-by-label-W$
    # <<< [openmediavault]

    This is a waste of time...

    I just realized that you are trying to do this from the shared folder bind mount. You need to do this from the actual mountpoint for the filesystem - /srv/some/path/


    The file is the correct permissions. Try:

    sudo chattr -i aquota.user
    sudo rm -f aquota.user

    pi@raspberrypi:/sharedfolders/Seagate4tb $ rm aquota.user
    rm: cannot remove 'aquota.user': Operation not permitted
    pi@raspberrypi:/sharedfolders/Seagate4tb $ chmod 777 aquota.user
    chmod: changing permissions of 'aquota.user': Operation not permitted
    pi@raspberrypi:/sharedfolders/Seagate4tb $ sudo chattr -i aquota.user
    chattr: Operation not permitted while setting flags on aquota.user
    pi@raspberrypi:/sharedfolders/Seagate4tb $ sudo rm -f aquota.user
    rm: cannot remove 'aquota.user': Operation not permitted
    pi@raspberrypi:/sharedfolders/Seagate4tb $


    What is the output of: stat aquota.user

    $ stat aquota.user
    File: aquota.user
    Size: 8192 Blocks: 24 IO Block: 4096 regular file
    Device: 804h/2052d Inode: 11 Links: 1
    Access: (0600/-rw-------) Uid: ( 0/ root) Gid: (65534/ nogroup)
    Access: 2019-12-06 12:53:38.164482294 +0300
    Modify: 2019-12-06 12:53:37.784487440 +0300
    Change: 2019-12-06 12:53:37.784487440 +0300
    Birth: -

    So, can you delete the files now or not?

    No. :(

    Operation not permitted

    Did you stop the quota service?

    root@raspberrypi:/# systemctl stop quota
    root@raspberrypi:/# systemctl disable quota
    Synchronizing state of quota.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install disable quota
    root@raspberrypi:/# and aquota.user how to delete?