Page 5 of 5 FirstFirst ... 345
Results 41 to 45 of 45

Thread: Unable to make NFS connection from laptop.

  1. #41
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    30,948

    Default Re: Unable to make NFS connection from laptop.

    I can (and in fact am mot quite willing) to follow all this, but when a mount isn't available when one assumes it should have been done (NFS or not) the first thing to do is mount it from the terminal as root to see if OK or errors. Please take down a not of that.

    And when asking for help, the things that should go within the first post are of course what I asked you very early in this thread (server and client configuration), plus the result of that manual mount. Such methodical and logical approach may shorten the discussion until resolve considerable.

    BTW, just to please me, do you get better results (that is without all the colors, etc, but with the white space when you do
    Code:
    grep nfs /etc/fstab | cat
    Henk van Velden

  2. #42
    Join Date
    Nov 2008
    Posts
    2,397
    Blog Entries
    1

    Default Re: Unable to make NFS connection from laptop.

    Hi Henk,

    Here is the original command without colour.
    Code:
    alastair@IBMW530:~> grep --color=never nfs /etc/fstab                               
    192.168.169.134:/multimedia                /home/alastair/NFS_Multimedia_NFS  nfs    noauto,nofail,x-systemd.automoun
    t,x-systemd.mount-timeout=10,_netdev,x-systemd.idle-timeout=5min,nfsvers=4  0  0 
    alastair@IBMW530:~> 
    
    and now:-
    Code:
    alastair@IBMW530:~> grep nfs /etc/fstab | cat 
    192.168.169.134:/multimedia                /home/alastair/NFS_Multimedia_NFS  nfs    noauto,nofail,x-systemd.automoun
    t,x-systemd.mount-timeout=10,_netdev,x-systemd.idle-timeout=5min,nfsvers=4  0  0 
    alastair@IBMW530:~> 
    
    However the goal posts have been changed somewhat so I am not sure what causes the problem.

  3. #43
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    30,948

    Default Re: Unable to make NFS connection from laptop.

    Thanks for doing this.

    I understand that, now you have a working configuration, we do not have the 'nfs nfs4=" situation anymore. But your test confirms that piping the grep output through cat removed all fancy extras from grep. Thus I now know how to ask people in the future to post output where grep is needed. It will avoid the silly situation we had in this thread.

    I tried to re-create that grep case here with a simple test to see if I could formulate a bug report against grep removing white space, but dit not succeed. And like you, I do not want to change my working /etc/fstab into something, may be after a lot of try and error, that shows the problem. It will stay something mystic for the time being.
    Henk van Velden

  4. #44
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    4,005

    Default Re: Unable to make NFS connection from laptop.

    Quote Originally Posted by Budgie2 View Post
    Hi Henk,

    Try this:-

    Code:
    alastair@IBMW530:~> cat /etc/fstab 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /                       btrfs  defaults                      0  0 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /boot/grub2/x86_64-efi  btrfs  subvol=/@/boot/grub2/x86_64-efi  0  0 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /boot/grub2/i386-pc     btrfs  subvol=/@/boot/grub2/i386-pc  0  0 
    UUID=10A2-1035                             /boot/efi               vfat   utf8                          0  2 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /.snapshots             btrfs  subvol=/@/.snapshots          0  0 
    UUID=d3acdb3b-fed4-4676-bb15-dc32dfd6c835  swap                    swap   defaults                      0  0 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /var                    btrfs  subvol=/@/var                 0  0 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /usr/local              btrfs  subvol=/@/usr/local           0  0 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /tmp                    btrfs  subvol=/@/tmp                 0  0 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /srv                    btrfs  subvol=/@/srv                 0  0 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /root                   btrfs  subvol=/@/root                0  0 
    UUID=ab51d09c-1257-45c0-938d-792fedccde55  /opt                    btrfs  subvol=/@/opt                 0  0 
    UUID=e3a09502-9453-4a94-a88d-07c5119d13ed  /home                   ext4   data=ordered                  0  2 
    192.168.169.134:/multimedia                /home/alastair/NFS_Multimedia_NFS  nfs    nfsvers=4                     0 
     0 
    alastair@IBMW530:~> 
    
    Still looks right to me.
    Parsing by the forum kills white space:

    Parsed paste:
    Code:
    karl@6700K:~> grep nfs /etc/fstab  
    192.168.169.134:/multimedia                /home/alastair/NFS_Multimedia_NFS  nfsnfsvers=4          0  0  
    karl@6700K:~>
    Unparsed paste:

    [/FONT]
    [FONT=monospace][FONT=monospace][COLOR=#000000]karl@6700K:~> grep nfs /etc/fstab [/COLOR]
    192.168.169.134:/multimedia /home/alastair/NFS_Multimedia_NFS [COLOR=#ff5454][B]nfs[/B][/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff5454][B]nfs[/B][/COLOR][COLOR=#000000]vers=4 0 0 [/COLOR]
    karl@6700K:~>

    [/FONT]


    i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), 5600X (2022) openSUSE Tumbleweed, KDE Plasma

  5. #45
    Join Date
    Nov 2008
    Posts
    2,397
    Blog Entries
    1

    Default Re: Unable to make NFS connection from laptop.

    Hi and thanks for the info. I knew my system was OK but couldn't prove it. Now we have the answer although I have no idea why.
    Thanks again.
    Budge

Page 5 of 5 FirstFirst ... 345

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •