| skipped 54 lines |
55 | 55 | | At the same time, you will be able to upload images via PiKVM Web UI to NFS, and still use local storage. |
56 | 56 | | |
57 | 57 | | ``` |
| 58 | + | # rw |
| 59 | + | # pacman -Syu |
| 60 | + | # pacman -S nfs-utils |
58 | 61 | | # kvmd-helper-otgmsd-remount rw |
59 | 62 | | # mkdir -p /var/lib/kvmd/msd/NFS_Primary |
60 | 63 | | # mkdir -p /var/lib/kvmd/msd/NFS_Secondary |
61 | 64 | | # kvmd-helper-otgmsd-remount ro |
62 | 65 | | ``` |
63 | 66 | | |
| 67 | + | Edit fstab: |
| 68 | + | |
64 | 69 | | ```fstab |
65 | | - | server:/srv/nfs/NFS_Primary /var/lib/kvmd/msd/NFS_Primary nfs vers=3,timeo=1,retrans=1,soft 0 0 |
66 | | - | server:/srv/nfs/NFS_Secondary /var/lib/kvmd/msd/NFS_Secondary nfs vers=3,timeo=1,retrans=1,soft 0 0 |
| 70 | + | server:/srv/nfs/NFS_Primary /var/lib/kvmd/msd/NFS_Primary nfs vers=3,timeo=1,retrans=1,soft,nolock 0 0 |
| 71 | + | server:/srv/nfs/NFS_Secondary /var/lib/kvmd/msd/NFS_Secondary nfs vers=3,timeo=1,retrans=1,soft,nolock 0 0 |
67 | 72 | | ``` |
68 | 73 | | |
| 74 | + | And perform `reboot`. |
| 75 | + | |
69 | 76 | | Make sure that the `kvmd` user has read access rights from these directories. You can also give write access if needed. |
70 | 77 | | For the best performance, it is required to ensure reliable connectivity with NFS server and use minimum `timeo` and `retrans` values. |
71 | | - | **Using the `soft` option is mandatory.** |
| 78 | + | **Using the `soft` option is mandatory, `nolock` is recommended.** |
| 79 | + | |
| 80 | + | Note if an image is added to the NFS storage from the outside, PiKVM will not be able to track this event, so it is required to use |
| 81 | + | `Drive -> Reset` in the Web UI to update the list of images. |
72 | 82 | | |
73 | 83 | | Configuring an NFS server is beyond the scope of this guide. |
74 | 84 | | |
| skipped 245 lines |