Skip to content

Instantly share code, notes, and snippets.

@luispabon
Created October 11, 2024 13:05
Show Gist options
  • Save luispabon/df22a41b38bdc940e429a60785e9f124 to your computer and use it in GitHub Desktop.
Save luispabon/df22a41b38bdc940e429a60785e9f124 to your computer and use it in GitHub Desktop.
nfs mounting on LXC privileged containers

If you can successfully mount an NFS share, and only see folders but not files, and the ownerships of those folders are all wrong, add crossmnt to your NFS export, like so:

/storage 10.0.0.0/24(rw,fsid=1,crossmnt,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment