In this post, I’ll share a simple way to hide Local
and Local-LVM
storage in Proxmox.
This is mainly done to make storage management easier, especially in Proxmox clusters or Ceph clustering environments. Ok, to hide it, we need to make some configuration
First, modify the storage.cfg
file
nano /etc/pve/storage.cfg
Then, find the following lines
dir: local path /var/lib/vz content iso,vztmpl,backup lvmthin: local-lvm thinpool data vgname pve content rootdir,images
Next, add the following syntax at the bottom of each storage configuration
disable 1
So it will look like this
dir: local path /var/lib/vz content iso,vztmpl,backup + disable 1 lvmthin: local-lvm thinpool data vgname pve content rootdir,images + disable 1
Once done, save and exit.
Now, restart pvestatd
to apply the configuration
systemctl restart pvestatd
Try refreshing your Proxmox Web UI.
The storage should now be hidden. Good luck! Hope this helps
Top comments (0)