[Solved] - Cant remove VM

yabbah

Active Member
Oct 15, 2019
34
2
28
I try to remove some of my VMs, but I just got this error message:
Code:
TASK ERROR: mkdir /mnt/pve/NAS/images: Read-only file system at /usr/share/perl5/PVE/Storage/Plugin.pm line 1170.

That mount is a read-only nfs share, where I dont storare anything. I just have it to for mounting into one of my lxc for media-streaming.
I cant see any settings that say anything about that share in the other VMs either. :/

//yabbah
 
Solved it. I changed to just "store" snippets on that share. But wierd that it tried to remove something on a share where noting exists tho.
 
Hi,
it didn't try to remove something, but to create a new directory, namely /mnt/pve/NAS/images. PVE creates one such directory for each content type. If you don't want to store anything PVE-specifc on there, you don't even need to create a storage entry for it. You should still be able to mount it in the container. Alternatively you can use
Code:
pvesm set <storage ID> --mkdir 0
then PVE will not try to create these directories anymore.