Beiträge von hyy3434

    It shouldn't. Like I mentioned before, I didn't write davfs part of the plugin and don't use it. I guess I will have to set something up. But I'm not going to change the 5.x plugin. And it isn't high priority for me.

    Now the focus is on omv6, how do I upgrade omv5 to omv6 with the current configuration?

    something is using it or you are in the directory in another session.

    sudo umount -l -f /mnt


    root@openmediavault:~# sudo mount -t davfs http://192.168.2.111:8080 /srv/798389f1-d470-4bf0-a789-39ebbf39a628/

    Please enter the username to authenticate with server

    http://192.168.2.111:8080 or hit enter for none.

    Username:

    Please enter the password to authenticate user with server

    http://192.168.2.111:8080 or hit enter for none.

    Password:




    After the plugin is set, apply it, save the configuration to /etc/fstab

    but couldn't mount it, after that, went into SSH and mounted it with the command. This is a strange problem.

    Does omv5 need both plugins and commands?


    But it can't be set as a shared folder.


    Could not fetch a matching mount point from the provided fsname: 'http://192.168.2.111:8080'.

    something is using it or you are in the directory in another session.

    sudo umount -l -f /mnt

    Finally deleted it, modified the /etc/fstab file, and after that it can be deleted again.

    Just now is the use of plug-ins to mount the domain address, after that, then mount the IP address, it worked. Now the IP address is mounted separately and it does not work. What is the problem?

    I just used the domain name successfully, but I entered the domain name randomly, and now I can't unmount it after mounting it. How can I do this in SSH?

    It won't affect the mounted physical drive, will it?

    @

    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.

    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.

    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

    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?

    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