A
A
Alexander Semenenko2017-11-15 11:32:39
linux
Alexander Semenenko, 2017-11-15 11:32:39

Why is this behavior on NFS mounts?

There is an NFS server (let it be nfsserv), where proxmox puts virtual machine bekabs.
I have a shared directory on nfsserv (/mnt/share). I inserted a new disk into nfsserv, and I want to mount this disk to this shared directory so that I don’t change anything in proxmox, and NFS for it will remain the same.
After I do mount /dev/sdb1 /mnt/share on nfsserv, Proxmox, which sees this folder via nfs, continues to see the old data (which is not on the mounted disk, but was at the mount point), even backups are made (but in that folder, not disk). Do I somehow need to reload the nfs client, or remount nfs?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Semenenko, 2017-11-15
@semenenko88

In general, the answer turned out to be simple if you have a folder shared via nfs, and you mount something else in this folder. Then on linux nfs clients you need to do umount / mount. On proxmox, respectively, you just had to remove the storage and add it again.

V
Viktor Borovikov, 2017-11-15
@theo127

did you exportfs -a?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question