Announcement

Collapse
No announcement yet.

Unable to Mount NFS Share from Command Line, but ok in Dolphin

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to Mount NFS Share from Command Line, but ok in Dolphin

    I'm trying to mount an NFS share on my internal network.
    The share comes up as //192.168.1.34/c/documents and I can navigate to it in Dolphin, copy files in and out. Screenshot attached.
    viper.hoffmancove.com is the fully qualified DNS name for the NAS box and NSLookup returns the correct IP address.

    However, I'd like to permanently mount the share so that I can eventually setup regular backups to it and transfer files between my Windows clients and Linux objects. The server hardware is a Very old Netgear Ready NAS
    I created the local mount folder:
    sudo mkdir -p /mnt/documents
    Then I attempted a mount to the share:
    sudo mount viper.hoffmancove.com/c/documents /mnt/documents

    It returns the following error:
    mount: /mnt/documents: special device viper.hoffmancove.com/c/documents does not exist.
    I re-tried using
    sudo mount 192.168.1.34/c/documents /mnt/documents
    However, I still get the same error.


    Operating System: Kubuntu 21.10
    KDE Plasma Version: 5.22.5
    KDE Frameworks Version: 5.86.0
    Qt Version: 5.15.2
    Kernel Version: 5.13.0-23-generic (64-bit)
    Graphics Platform: X11
    Processors: 8 × AMD Ryzen 3 3100 4-Core Processor
    Memory: 15.6 GiB of RAM
    Graphics Processor: AMD Radeon Pro W5700



    You may only view thumbnails in this gallery. This gallery has 1 photos.

    #2
    You should separate server and path with a colon( : ) for the mount command (you can also specify the fstype, although I'm not sure it's strictly necessary):
    sudo mount -t nfs192.168.1.34:/c/documents /mnt/documents

    More info:
    https://linuxize.com/post/how-to-mou...hare-in-linux/
    Last edited by kubicle; Jan 09, 2022, 01:09 AM.

    Comment

    Working...
    X