HomeClusterLabs Projects

nfsserver: prepare the layout for the default /var/lib/nfs

Description

nfsserver: prepare the layout for the default /var/lib/nfs

Some deployment might deploy "/var/lib/nfs" as the fresh mount point
without explicitly providing "nfs_shared_infodir=" for a different
place. This directory could be empty in the very beginning. In such
case, we could leverage prepare_directory() to populate nfsserver
state information directories and files layout transparantly.

Details

Provenance
Roger Zhou <zzhou@suse.com>Authored on Mar 30 2023, 9:35 AM
Parents
rR7749441662ba: ZFS: add non-blocking check if pool was imported (#1853)
Branches
Unknown
Tags
Unknown

Event Timeline

Roger Zhou <zzhou@suse.com> committed rRd3a91ca9a3d5: nfsserver: prepare the layout for the default /var/lib/nfs (authored by Roger Zhou <zzhou@suse.com>).Apr 2 2023, 8:50 AM