Results 1 to 10 of 10

Thread: fstab mount

  1. #1
    Join Date
    Oct 2009
    Beans
    560
    Distro
    Ubuntu Development Release

    fstab mount

    I think this update removed the ability to mount NFS folders from fstab
    Code:
    Start-Date: 2020-01-12  07:32:53
    Commandline: aptdaemon role='role-commit-packages' sender=':1.729'
    Upgrade: gir1.2-nm-1.0:amd64 (1.20.4-2ubuntu3, 1.20.8-1ubuntu2), python3-mako:amd64 (1.1.0+ds1-1, 1.1.0+ds1-1ubuntu1), python3-xkit:amd64 (0.5.0ubuntu2, 0.5.0ubuntu4), libnm0:amd64 (1.20.4-2ubuntu3, 1.20.8-1ubuntu2), network-manager:amd64 (1.20.4-2ubuntu3, 1.20.8-1ubuntu2), network-manager-config-connectivity-ubuntu:amd64 (1.20.4-2ubuntu3, 1.20.8-1ubuntu2), python-gobject-2:amd64 (2.28.6-12ubuntu4, 2.28.6-12ubuntu5)
    End-Date: 2020-01-12  07:33:01

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: fstab mount

    Doubtful.

    More likely your Windows did an update & turned fast start up back on. Then hibernation flag is set on all NTFS partition and Ubuntu NTFS driver will not mount normally read/write to prevent damage.
    Make sure fast start up is off in Windows.

    Fast Start up off (always on hibernation), note that Windows turns this back on with updates, SHIFT + Shut down button
    http://ubuntuforums.org/showthread.p...2#post13488472
    http://www.tenforums.com/tutorials/4...dows-10-a.html
    http://www.tenforums.com/tutorials/2...dows-10-a.html
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: fstab mount

    NFS or NTFS?

  4. #4
    Join Date
    Oct 2009
    Beans
    560
    Distro
    Ubuntu Development Release

    Re: fstab mount

    The servers are Ubuntu server 16.04.
    Can't find any fast boot settings in this BIOS.
    The NFS mount in Kodi works fine
    No problem to activate with
    sudo mount TV-server
    fstab look like this
    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    # / was on /dev/sda2 during installation
    UUID=57faf406-c853-438e-bae8-cc3b1dce9626 /               ext4    errors=remount-ro 0       1
    # /boot/efi was on /dev/sda1 during installation
    UUID=021B-414D  /boot/efi       vfat    umask=0077      0       1
    /swapfile                                 none            swap    sw              0       0
    ip.address.to.server1:/srv/Media /home/p-i/ServerMedia nfs tcp,rsize=8192,wsize=8192,timeo=14,intr 0 0
    ip.address.to.server1:/srv/Anvandare/p-i/NASDokument /home/p-i/ServerDokument nfs tcp,rsize=8192,wsize=8192,timeo=14,intr 0 0
    ip.address.to.server2:/srv/Media /home/p-i/TV-server nfs tcp,rsize=8192,wsize=8192,timeo=14,intr 0 0
    Attached Images Attached Images
    Last edited by P-I H; January 13th, 2020 at 03:36 PM.

  5. #5
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: fstab mount

    What if you remove "tcp" from the options and let it use the default UDP connection?

    I'm on 19.10 and fstab entries with "defaults,noauto,x-systemd.automount" work just fine. ("x-systemd-automount" is the systemd successor to autofs.)
    Last edited by SeijiSensei; January 13th, 2020 at 07:04 PM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  6. #6
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: fstab mount

    In autofs, the tcp option is "proto=tcp" and all other options are the same as in fstab, at least on 16.04. On a GigE network, tcp is recommended for NFS. I use these options for server-to-server NFS:
    Code:
    proto=tcp,intr,rw,async,vers=3
    BTW, specifying rsize=8192,wsize=8192 prevents the client and server from negotiating the best sized automatically which has been part of nfsv4 servers since the beginning.

  7. #7
    Join Date
    Oct 2009
    Beans
    560
    Distro
    Ubuntu Development Release

    Re: fstab mount

    Thanks for the proposals.
    This set up worked at least some days back.
    I will connect my main PC and se if it works on 19.10.
    I have had problems earlier with this config and used a autfs instead, but in that case you have to do more settings.

  8. #8
    Join Date
    Oct 2009
    Beans
    560
    Distro
    Ubuntu Development Release

    Re: fstab mount

    Connected my main computer. I have installed both 19.10 and 20.04 on separate disks on this computer. NFS mounts worked fine both before and after updates.
    Perhaps the problem is connected to the dual boot with W10 as suggested by oldfred.

  9. #9
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: fstab mount

    Quote Originally Posted by TheFu View Post
    BTW, specifying rsize=8192,wsize=8192 prevents the client and server from negotiating the best sized automatically which has been part of nfsv4 servers since the beginning.
    Indeed. On my systems rsize and wsize are auto-negotiated to run at 524288, even on wireless N.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  10. #10
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: fstab mount

    Raspberry Pi, USB-to-GigE adaptor and between Intel NICs all negotiated rsize=1048576,wsize=1048576 for multiple mounts on multiple different NFS servers according to nfsstat -m.

Bookmarks

Posting Permissions

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