remotemoount Unable to use

  • The server is 192.168.2.111: 8080


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': debian: ---------- ID: create_filesystem_mountpoint_1a697080-9083-4c32-9f90-7c79aae56767 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_1a697080-9083-4c32-9f90-7c79aae56767 for file /etc/fstab was charged by text Started: 22:29:46.986365 Duration: 0.601 ms Changes: ---------- ID: mount_filesystem_mountpoint_1a697080-9083-4c32-9f90-7c79aae56767 Function: mount.mounted Name: /srv/dev-disk-by-uuid-0607ad05-6d29-451c-b001-7bad057da28c Result: True Comment: Target was already mounted Started: 22:29:46.987420 Duration: 42.06 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed ---------- ID: create_filesystem_mountpoint_c494907c-4c3c-4b7d-9547-b38cd0e86c87 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_c494907c-4c3c-4b7d-9547-b38cd0e86c87 for file /etc/fstab was charged by text Started: 22:29:47.029752 Duration: 0.922 ms Changes: ---------- ID: mount_filesystem_mountpoint_c494907c-4c3c-4b7d-9547-b38cd0e86c87 Function: mount.mounted Name: /srv/dev-disk-by-uuid-71de2b92-a21a-4b55-8239-8ff4c7912b4a Result: True Comment: Target was already mounted Started: 22:29:47.030765 Duration: 33.092 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed ---------- ID: create_filesystem_mountpoint_b602cb1d-cac8-4dfd-ae28-8894ae179007 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_b602cb1d-cac8-4dfd-ae28-8894ae179007 for file /etc/fstab was charged by text Started: 22:29:47.064052 Duration: 0.952 ms Changes: ---------- ID: mount_filesystem_mountpoint_b602cb1d-cac8-4dfd-ae28-8894ae179007 Function: mount.mounted Name: /srv/dev-disk-by-uuid-1964b7e1-0e75-4f5e-87d1-4f0624bca1a5 Result: True Comment: Target was already mounted Started: 22:29:47.065094 Duration: 33.3 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed ---------- ID: create_filesystem_mountpoint_5f3ad00d-d646-4020-b1af-f058a864a448 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_5f3ad00d-d646-4020-b1af-f058a864a448 for file /etc/fstab was charged by text Started: 22:29:47.098582 Duration: 0.899 ms Changes: ---------- ID: mount_filesystem_mountpoint_5f3ad00d-d646-4020-b1af-f058a864a448 Function: mount.mounted Name: /srv/dev-disk-by-uuid-88026107-2bf7-439e-aad5-5a328b3f2cc8 Result: True Comment: Target was already mounted Started: 22:29:47.099566 Duration: 33.601 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed ---------- ID: create_bind_mountpoint_2616383a-a394-4f1c-84cd-acb11e8d875d Function: file.accumulated Result: True Comment: Accumulator create_bind_mountpoint_2616383a-a394-4f1c-84cd-acb11e8d875d for file /etc/fstab was charged by text Started: 22:29:47.133360 Duration: 0.921 ms Changes: ---------- ID: mount_bind_mountpoint_2616383a-a394-4f1c-84cd-acb11e8d875d Function: mount.mounted Name: /export/movie Result: True Comment: Target was already mounted Started: 22:29:47.134371 Duration: 9.061 ms Changes: ---------- ID: create_remotemount_mountpoint_69070a16-dd87-4081-9b87-40bc58c2663d Function: file.accumulated Result: True Comment: Accumulator create_remotemount_mountpoint_69070a16-dd87-4081-9b87-40bc58c2663d for file /etc/fstab was charged by text Started: 22:29:47.143603 Duration: 0.826 ms Changes: ---------- ID: mount_filesystem_mountpoint_69070a16-dd87-4081-9b87-40bc58c2663d Function: mount.mounted Name: /srv/69070a16-dd87-4081-9b87-40bc58c2663d Result: False Comment: mount error: could not resolve address for 192.168.2.111:8080: Unknown error Started: 22:29:47.144518 Duration: 22.39 ms Changes: ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: Changes were made Started: 22:29:47.168480 Duration: 4.79 ms Changes: ---------- diff: --- +++ @@ -15,4 +15,5 @@ /dev/disk/by-uuid/1964b7e1-0e75-4f5e-87d1-4f0624bca1a5 /srv/dev-disk-by-uuid-1964b7e1-0e75-4f5e-87d1-4f0624bca1a5 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 /dev/disk/by-uuid/88026107-2bf7-439e-aad5-5a328b3f2cc8 /srv/dev-disk-by-uuid-88026107-2bf7-439e-aad5-5a328b3f2cc8 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 /srv/dev-disk-by-uuid-1964b7e1-0e75-4f5e-87d1-4f0624bca1a5/movie/ /export/movie none bind,nofail 0 0 +//192.168.2.111:8080// /srv/69070a16-dd87-4081-9b87-40bc58c2663d cifs _netdev,iocharset=utf8,vers=3.0,nofail,guest 0 0 # <<< [openmediavault] Summary for debian ------------- Succeeded: 12 (changed=5) Failed: 1 ------------- Total states run: 13 Total run time: 183.415 ms

  • The error is hidden in the middle of the text:


    Code
     False Comment: mount error: could not resolve address for 192.168.2.111:8080: Unknown error 

    '192.168.2.111:8080' is no IP address, but an IP addres with port.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • The error is hidden in the middle of the text:


    Code
     False Comment: mount error: could not resolve address for 192.168.2.111:8080: Unknown error 

    '192.168.2.111:8080' is no IP address, but an IP addres with port.

    Can't this plugin have ports?

  • Doesn't look like this. You will ahave to ask ryecoaaron is he will enable this (webdav I guess)

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • If the other server is offering webdav, you have to mount it as mount typ davfs

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • If the other server is offering webdav, you have to mount it as mount typ davfs

    When mounting, the following error is prompted



    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; mount '/srv/812da21d-e320-4996-8e50-2fa50691a707' 2>&1' with exit code '1': Unknown option guest. Usage: mount.davfs -V,--version : print version string mount.davfs -h,--help : print this message To mount a WebDAV-resource don't call mount.davfs directly, but use `mount' instead. mount <mountpoint> : or mount <server-url> : mount the WebDAV-resource as specified in /etc/fstab. mount -t davfs <server-url> <mountpoint> [-o options] : mount the WebDAV-resource <server-url> on mountpoint <mountpoint>. Only root is allowed to do this. options is a comma separated list of options. Recognised options: conf= : absolute path of user configuration file uid= : owner of the filesystem (username or numeric id) gid= : group of the filesystem (group name or numeric id) file_mode= : default file mode (octal) dir_mode= : default directory mode (octal) ro : mount read-only rw : mount read-write [no]exec : (don't) allow execution of binaries [no]suid : (don't) allow suid and sgid bits to take effect [no]grpid : new files (don't) get the group id of the directory in which they are created. [no]_netdev : (no) network connection needed

    • Offizieller Beitrag

    is he will enable this (webdav I guess)

    Not sure. I didn't write the webdav part of the plugin and I don't use webdav.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

  • Code
    Unknown option guest

    If you use webdaf, you have to use the options webdav understands. See the links to the documentation on the screen.


    For the beginning you can try to create a new remoute mount and use the default options for davfs

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

    • Offizieller Beitrag

    From what I can tell, the port shouldn't be a problem. A screenshot with the setup might help.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

    • Offizieller Beitrag

    What does: curl -I 192.168.2.111:8080

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

  • But what is the problem now? You changed from something to DAVFS, the iIP with port is recognized now, only the options do not match what the plugin expects (see #7)


    So check the options you have (can not read all in the screen shot):

    check the yellow field.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • But what is the problem now? You changed from something to DAVFS, the iIP with port is recognized now, only the options do not match what the plugin expects (see #7)


    So check the options you have (can not read all in the screen shot):

    check the yellow field.

    Yellow fields, I am using the configuration that comes with it, how should I configure it? Is there a default configuration?

    Remove the yellow field and the prompt is as follows, seems to be a problem with the /etc/fstab file? Not written?


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; mount '/srv/0d8d6670-a755-49b9-ab62-a38e4e2444a9' 2>&1' with exit code '1': mount: /srv/0d8d6670-a755-49b9-ab62-a38e4e2444a9: can't find in /etc/fstab.

  • I do not have OMV5 ay more, but options are different for the different mount types. If you created a config for smb first and changed to davfs the options are still those from smb.

    Create a new config with type davfs. There you will get the options.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • @

    I do not have OMV5 ay more, but options are different for the different mount types. If you created a config for smb first and changed to davfs the options are still those from smb.

    Create a new config with type davfs. There you will get the options.

    Select davfs and the options change.

    Remove the yellow field and the prompt is as follows, seems to be a problem with the /etc/fstab file? Not written?


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; mount '/srv/0d8d6670-a755-49b9-ab62-a38e4e2444a9' 2>&1' with exit code '1': mount: /srv/0d8d6670-a755-49b9-ab62-a38e4e2444a9: can't find in /etc/fstab.

    • Offizieller Beitrag

    Default options for davfs on omv 5.x are here. 6.x are here.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

    • Offizieller Beitrag

    can it be a problem with the /etc/fstab file?

    It shouldn't be.


    Post the output of the following:


    sudo omv-showkey remotemount

    sudo mount -t davfs http://192.168.2.111:8080 /mnt

    sudo umount /mnt

    sudo mount -t davfs 192.168.2.111:8080 /mnt

    sudo umount /mnt

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!