Unable to find suitable address.

  • Hi,


    I am trying to create a mountpoint for an external SMB drive.
    The mount command I am using is from an ssh console, logged in as root:


    sudo mount -t cifs //192.168.178.21/marcel -o user=marcel,password=**********,ip=192.168.178.21 /mnt/marcel


    after 2 seconds I get the error:"Unable to find suitable address" ?(


    Anyone an idea what is wrong with this?


    Regards
    Marcel

    • Offizieller Beitrag

    Why are you putting the ip in the options? You could use the remotemount plugin to do this.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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

    Because the plugin does not mount also.
    When I try to mount the bullet never gets green indicate it is mounted

    That tells me you are entering invalid info. Without knowing how the remote smb server is setup, it is hard to help.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • The remote server is a thecus N2520 which is locate in my network on ip 192.168.178.21. The nas is using FW version OS6.1.25.


    One of the share is marcel.
    I can access this share from a W10 PC using the same credentials as I use with the remote mount plugin and also with the mount command described in the first post

    • Offizieller Beitrag

    Ah, I was under the impression that the mount command from the command line was failing as well. What does your remotemount setup look like (screenshot)?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!


  • when I setup a share



    I get the follwing error


    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 fstab 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if not isinstance(exes, collections.Iterable): /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function) odroidxu4: ---------- ID: create_filesystem_mountpoint_c572337a-ce42-490c-9475-b571fa08d33c Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_c572337a-ce42-490c-9475-b571fa08d33c for file /etc/fstab was charged by text Started: 15:57:27.140365 Duration: 4.095 ms Changes: ---------- ID: mount_filesystem_mountpoint_c572337a-ce42-490c-9475-b571fa08d33c Function: mount.mounted Name: /srv/dev-disk-by-label-HD0 Result: True Comment: Target was already mounted Started: 15:57:27.145926 Duration: 455.647 ms Changes: ---------- umount: Forced remount because options (acl) changed ---------- ID: create_filesystem_mountpoint_3457e659-03d8-4339-9b20-8073dbb47d88 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_3457e659-03d8-4339-9b20-8073dbb47d88 for file /etc/fstab was charged by text Started: 15:57:27.602197 Duration: 2.47 ms Changes: ---------- ID: mount_filesystem_mountpoint_3457e659-03d8-4339-9b20-8073dbb47d88 Function: mount.mounted Name: /srv/dev-disk-by-label-SSD Result: True Comment: Target was already mounted Started: 15:57:27.605013 Duration: 189.366 ms Changes: ---------- umount: Forced remount because options (acl) changed ---------- ID: create_remotemount_mountpoint_0a26f784-5062-4f3f-9a88-691981037167 Function: file.accumulated Result: True Comment: Accumulator create_remotemount_mountpoint_0a26f784-5062-4f3f-9a88-691981037167 for file /etc/fstab was charged by text Started: 15:57:27.794944 Duration: 2.32 ms Changes: ---------- ID: mount_filesystem_mountpoint_0a26f784-5062-4f3f-9a88-691981037167 Function: mount.mounted Name: /srv/0a26f784-5062-4f3f-9a88-691981037167 Result: True Comment: Target was already mounted Started: 15:57:27.797546 Duration: 209.084 ms Changes: ---------- umount: Forced remount because options (vers=3.0) changed ---------- ID: create_remotemount_mountpoint_f57bd431-1264-4683-9f24-92d77e5fb91f Function: file.accumulated Result: True Comment: Accumulator create_remotemount_mountpoint_f57bd431-1264-4683-9f24-92d77e5fb91f for file /etc/fstab was charged by text Started: 15:57:28.007179 Duration: 2.312 ms Changes: ---------- ID: mount_filesystem_mountpoint_f57bd431-1264-4683-9f24-92d77e5fb91f Function: mount.mounted Name: /srv/f57bd431-1264-4683-9f24-92d77e5fb91f Result: False Comment: mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Started: 15:57:28.009758 Duration: 129.047 ms Changes: ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: Changes were made Started: 15:57:28.143731 Duration: 11.162 ms Changes: ---------- diff: --- +++ @@ -4,5 +4,5 @@ /dev/disk/by-label/HD0 /srv/dev-disk-by-label-HD0 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 /dev/disk/by-label/SSD /srv/dev-disk-by-label-SSD ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 //stumpelnas/nas_public /srv/0a26f784-5062-4f3f-9a88-691981037167 cifs _netdev,iocharset=utf8,vers=3.0,nofail,credentials=/root/.cifscredentials-ca69b57d-d689-4de8-959d-4739dc93802b 0 0 -//stumpelnas/marcel /srv/be80f151-3071-4487-839b-8ad1a0ee4f0c cifs _netdev,iocharset=utf8,vers=3.0,nofail,credentials=/root/.cifscredentials-fe470475-f413-4b09-8186-50d5595737c5 0 0 +//stumpelnas/marcel /srv/f57bd431-1264-4683-9f24-92d77e5fb91f cifs _netdev,iocharset=utf8,vers=3.0,nofail,credentials=/root/.cifscredentials-c8e86d40-5532-48ae-bfae-ca74f71548f1 0 0 # <<< [openmediavault] Summary for odroidxu4 ------------ Succeeded: 8 (changed=4) Failed: 1 ------------ Total states run: 9 Total run time: 1.006 s

    • Offizieller Beitrag

    mount error(112): Host is down

    This is why it is failing. maybe try the ip address instead of hostname?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!