[SOLVED] CLI mount removes cluster shares

Proximate

Member
Feb 13, 2022
219
12
23
64
UPDATE: Don't work on servers before you've had coffee :).

I'm running a 7.2 cluster.
All has been working fine for months and suddenly, I get an error of a backup not completing.

I take a look from the CLI and notice that one node in the cluster no longer has its NFS shares.
That particular node has an ssh connection open and a third connection to another share on the same NFS server.

I notice that the cluster shares are no longer there.
# df
nfs:/mnt/cnx01pool/backups 4129943040 625085440 3504857600 16% /mnt

I disconnect the nfs share I was working with...
# umount /mnt

...and instantly, the two missing cluster shares come back.
# df
nfs:/mnt/cnx01pool/vmstore 3831318784 326461440 3504857344 9% /mnt/pve/nfs_vmstore
nfs:/mnt/cnx01pool/iso 3509806336 4948992 3504857344 1% /mnt/pve/nfs_iso

I was moving files around and needed to get something from another share on the NFS server so mounted that.

So, what happens, which I've confirmed by manually re-mounting again is that each time I manually mount another share from the CLI, the cluster shares disappear. Once I unmount the share I'm working with, cluster shares come back.

What's going on?
 
Last edited:
Hello,

how are you mounting the shares?

Mounting is literally that, you put that share over the stuff that is on that point in the directory tree. By default you usually have a disk mounted on root / and therefore saving stuff to /mnt copies it on your root disk. If you then mount the nfs share at /mnt you will instead find the fileshare files on that point. The old data will still be there on your root disk, but not accessible until you unmount your share.

Kind regards,
Benedikt
 
  • Like
Reactions: Proximate
Oh dang, you're right. I didn't even notice that in my panic :).

I'll make a new share point. Thanks for pointing out the obvious.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!