openwrt / openwrt/packages

nfs-kernel-server: /mnt does not support NFS export

Open
#15,633 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: @neheb
Environment:
Opnwrt 21.02.0-rc1 on WRT1200AC router
clean new install

Description:
after opkg install nfs-kernel-server got error :

point 1
point 2
point 3
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/mnt".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

exportfs: /mnt does not support NFS export

i m also not able to translate my old 19.07 exports file into new openwrt version:

/mnt/sda3    192.168.25.0/24(rw,all_squash,no_subtree_check,insecure,anonuid=0,anongid=0) 
/mnt/sda3/protected/osmc	192.168.25.20(rw,no_root_squash,sync,no_subtree_check,insecure)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure from the nfs-kernel-server package on OpenWrt 21.02.0-rc1, using the reported /etc/exports entries for /mnt and /mnt/sda3. Read the package behavior around exportfs and determine why /mnt is rejected; done means the reported filesystem can be exported and the supplied exports configuration works without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.