Solved: NFS share visible in container but not in vm

submitted by edited

Can someone help me understand why I can’t see one of my NFS shares when installing a VM.

If I choose to install a container it ends up in the proper location on my nas with all the others, but if I choose a VM then it wants to install in another share that is used for other purposes.
In the ’node’ view I can access the console and see both NFS shares.

I’m sure I’m doing something wrong, but I don’t know what.

2
10

Log in to comment

2 Comments

I’m not near a computer, but I’m pretty sure when you setup your storage repository, you specify what it’s used for. I’m guessing you don’t have the VM storage selected.

That might be it. I did it a few attempts.

Is it possible to change it on the fly or do I have to set things up again?

Edit: Can I just edit storage.cfg, create the directories with the proper permissions and restart stuff? Would that work?

Edit2: Yep, that did it. Just edit /etc/pve/storage.cfg with the right repositories and it works like a charm. Thanks for putting me on the right track.