"Updates"
This commit is contained in:
@@ -225,3 +225,22 @@ sudo mount /nfs/<folder>
|
|||||||
|
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Monitoring NFS Server
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt install -y nfswatch
|
||||||
|
```
|
||||||
|
|
||||||
|
Add these aliases to your .bashrc file:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# NFS watch clients
|
||||||
|
alias nfsw='nfswatch -allif -clients -usage 2>/dev/null'
|
||||||
|
# NFS watch users
|
||||||
|
alias nfsu='nfswatch -allif -auth -usage 2>/dev/null'
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
source ~/.bashrc
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user