Posts by tsch

    My three OMV-NAS are not running 24x7 becausse I use it for Backup/Archiving purposes only.

    Unfortunately AutoShutdown is only working if I wake up my NAS using WOL and let it shutdown, when not used.

    If I copy files from or to the OMV-NAS and afterwards shutdown should shuts down the OMV-NAS this doesn't work. I can't reach the OMV via webconsole nor use the shared folders on it.

    Only a hard reset helps in this case.

    Here my settings for AutoShutdown:




    I managed to use the OMV-Backup to write the backup files to a shared folder.

    My OMV boots from a USB-Stick and I'd like to make things easier and write the OMV backup directly to another attached USB-Stick using the integrated backup.

    Is this possible?

    Working lots of hours now. Don't have time to help with this. I would put omv-engined in debug mode and see if the output tells something when navigating to the remotemount plugin


    login as root

    monit stop omv-engined

    omv-engined -df

    Thank you ryecoaaron for "takover".


    Maybe we're getting close to the problem:

    Code
    omv-engined[168396]: Executing RPC (service=System, method=getInformation, params=[], context={"username":"admin","role":1}) ...
    omv-engined[168396]:
    PHP Fatal error:  Class OMV\System\Filesystem\Remote contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OMV\System\Filesystem\FilesystemInterface::getDetails) in /usr/share/php/openmediavault/system/filesystem/remote.inc on line 28

    Here the requested output:


    Code
    root@OMV7-02:~# systemctl -t mount | grep remote
    srv-remotemount-SYN.mount                                                               loaded active mounted RemoteMount mount for SYN:7ce2fd8c-c74a-4485-905b-69f1ae3257b4
    srv-remotemount-SYN_DS218j.mount                                                        loaded active mounted RemoteMount mount for SYN_DS218j:0d61c6b9-9dd0-4846-8351-34ca54d5235e
    srv-remotemount-syn_fam.mount                                                           loaded active mounted RemoteMount mount for syn_fam:7a566c49-3bdc-4516-b74e-0a0af23a8f47

    Here is the output:


    Code
    root@OMV7-02:~# findmnt --real
    TARGET                        SOURCE                        FSTYPE OPTIONS
    /                             /dev/sda2                     ext4   rw,relatime,e
    ├─/srv/dev-disk-by-uuid-2aae7a96-a8ea-4856-9696-8ab90d2fee17
    │                             /dev/nvme0n1p1                ext4   rw,relatime,j
    ├─/export/OMV7-02             /dev/nvme0n1p1[/OMV7-02]      ext4   rw,relatime,j
    ├─/boot/efi                   /dev/sda1                     vfat   rw,relatime,f
    ├─/srv/remotemount/SYN_DS218j //192.168.178.19/MEDIA        cifs   rw,relatime,v
    ├─/srv/remotemount/syn_fam    //192.168.178.19/familie      cifs   rw,relatime,v
    └─/srv/remotemount/SYN        192.168.178.19:/volume1/MEDIA nfs4   rw,relatime,v


    All /srv/... mounts are working from the CLI doing a ls.

    Only my OMV-GUI does not show these remote mounts.

    I rebooted and hope this is what you mean with recheck journalctl:



    Next check:


    Last check:


    Code
    root@OMV7-02:~# cat /etc/exports
    # This file is auto-generated by openmediavault (https://www.openmediavault.org)
    # WARNING: Do not edit this file, your changes will get lost.
    
    
    # /etc/exports: the access control list for filesystems which may be exported
    #               to NFS clients.  See exports(5).
    /export/OMV7-02 192.168.178.0/24(fsid=9608d0ca-2b34-4268-9fd0-50c21a573b13,rw,subtree_check,insecure)
    /export 192.168.178.0/24(ro,fsid=0,root_squash,subtree_check)

    As requested:


    And the second output:



    Code
    root@OMV7-02:~# systemctl cat srv-remotemount-syn_nfs_omv.mount
    No files found for srv-remotemount-syn_nfs_omv.mount.

    I removed some identical lines "."

    Concerning my mounts, this is what mount shows:


    Code
    root@OMV7-02:~# mount | column -t
    192.168.178.19:/volume1/MEDIA  on  /srv/remotemount/SYN                                        type  nfs4         (rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=192.168.178.12,local_lock=none,addr=192.168.178.19)
    //192.168.178.19/MEDIA         on  /srv/remotemount/SYN_DS218j                                 type  cifs         (rw,relatime,vers=3.0,cache=strict,username=johndoe,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.178.19,file_mode=0755,dir_mode=0755,iocharset=utf8,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
    //192.168.178.19/familie       on  /srv/remotemount/syn_fam                                    type  cifs         (rw,relatime,vers=3.0,cache=strict,username=johndoe,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.178.19,file_mode=0755,dir_mode=0755,iocharset=utf8,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)

    All mounts where configured using the remote mount Plugin and working in the CLI but don't show up in the GUI:



    How can I get rid of the following mounts I can't use in OMV?


    Code
    root@OMV7-02:~# ls /srv/remotemount
    SYN  SYN_DS218j  syn_fam  syn_nfs_omv  SYNOLOGY_NAS

    Applying the changes is not possible and after a long time show the following error:



    What a mess!


    After that I would have a try mounting manually via CLI.

    Those logs show //192.168.0.178.19/MEDIA was successfully mounted on two occasions (lines4 & 30), so I what's the problem?


    Are you still getting the RPC error? What is the full text of the error message?

    Yes the error ist still there when opening remote mount in the OMV-GUI:



    And my problem is, that I can't use the remote mount in OMV because it doesn't show up for example chosing a backup destination allthough everything seems OK in the CLI.

    Here is an excerption of syslog concerning mounts:


    Here a screenshot of my remote mounts:



    The CLI shows:


    Code
    root@OMV7-02:~# ls /srv/remotemount
    SYN  SYN_DS218j  SYNOLOGY_NAS


    And the mounts work and show the Share on my Synology when I:


    Code
    ls /srv/remotemount/SYN


    or


    Code
    ls /srv/remotemount/SYN_DS218j


    only the last mount is empty:


    Code
    ls /srv/remotemount/SYNOLOGY_NAS

    Do I have a problem with the OMV GUI?