9 Storage pool type: `nfs`
11 The NFS backend is based on the directory backend, so it shares most
12 properties. The directory layout and the file naming conventions are
13 the same. The main advantage is that you can directly configure the
14 NFS server properties, so the backend can mount the share
15 automatically. There is no need to modify `/etc/fstab`. The backend
16 can also test if the server is online, and provides a method to query
17 the server for exported shares.
22 The backend supports all common storage properties, except the shared
23 flag, which is always set. Additionally, the following properties are
24 used to configure the NFS server:
28 Server IP or DNS name. To avoid DNS lookup delays, it is usually
29 preferable to use an IP address instead of a DNS name - unless you
30 have a very reliable DNS server, or list the server in the local
35 NFS export path (as listed by `pvesm nfsscan`).
37 You can also set NFS mount options:
41 The local mount point (defaults to `/mnt/pve/<STORAGE_ID>/`).
45 Overrides for the default directory layout. Optional.
49 NFS mount options (see `man nfs`).
51 .Configuration Example (`/etc/pve/storage.cfg`)
54 path /mnt/pve/iso-templates
56 export /space/iso-templates
61 TIP: After an NFS request times out, NFS request are retried
62 indefinitely by default. This can lead to unexpected hangs on the
63 client side. For read-only content, it is worth to consider the NFS
64 `soft` option, which limits the number of retries to three.
70 NFS does not support snapshots, but the backend uses `qcow2` features
71 to implement snapshots and cloning.
73 .Storage features for backend `nfs`
74 [width="100%",cols="m,m,3*d",options="header"]
75 |==============================================================================
76 |Content types |Image formats |Shared |Snapshots |Clones
77 |images rootdir vztmpl iso backup snippets |raw qcow2 vmdk |yes |qcow2 |qcow2
78 |==============================================================================
83 You can get a list of exported NFS shares with:
85 # pvesm nfsscan <server>
92 * link:/wiki/Storage[Storage]