NFS share access denied by server

  • I'm trying to set up a folder for the raspberry pi to store stuff
    enabled NFS in gui
    added shared folder ..........for client I entered the raspberry pi ip
    gave user pi rw rights
    I haven't been able to mount manually with the $ sudo mount 192.168.1.71:/nfs/YAYAYA /srv/yayaya


    on the raspberry pi I gui I can see the OMV twice once as OMV SMB/CIFS and once as OMV SSH does this mean nfs isn't ON ??
    via the gui I can see my folder and read it but not write to it



    # /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/sda1 during installation
    UUID=5ec574e9-7f2d-441a-901a-7dc6f42c79c7 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=a3e15f5d-a1f3-4f7b-9ac3-f36022a799bc none swap sw 0 0
    /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    # >>> [openmediavault]
    UUID=348dd160-f2bb-48cc-a156-b3242c937c9f /media/348dd160-f2bb-48cc-a156-b3242c937c9f xfs defaults,nofail,noexec,usrquota,grpquota,inode64 0 2
    /media/348dd160-f2bb-48cc-a156-b3242c937c9f/YAYAYA /export/YAYAYA none bind 0 0
    /media/348dd160-f2bb-48cc-a156-b3242c937c9f/ESPdata /export/ESPdata none bind 0 0
    # <<< [openmediavault]


    # /etc/exports: the access control list for filesystems which may be exported
    # to NFS clients. See exports(5).
    /export/YAYAYA 192.168.1.9*(rw,subtree_check,secure)
    /export/ESPdata 192.168.1.96(rw,subtree_check,secure)


    # NFSv4 - pseudo filesystem root
    /export 192.168.1.9*(ro,fsid=0,root_squash,no_subtree_check,hide)
    /export 192.168.1.96(ro,fsid=0,root_squash,no_subtree_check,hide)



    mount.nfs: access denied by server while mounting 192.168.1.71:/nfs/media/YAYAYA

  • sudo mount -t nfs4 192.168.1.71://YAYAYA /home/pi/yayaya


    there seems to be a lot of variations this is the line that worked for me
    I also finished the acl
    without the 4 on the nfs4 or with :/:/ only a single slash instead of :// I still get denied,
    and I just learned colon forward slash is an emogie

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!