DEV Community

Fega Suseno
Fega Suseno

Posted on

Hiden Storage Local dan Local-Lvm

In this post, I’ll share a simple way to hide Local and Local-LVM storage in Proxmox.

Image description

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 
Enter fullscreen mode Exit fullscreen mode

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 
Enter fullscreen mode Exit fullscreen mode

Next, add the following syntax at the bottom of each storage configuration

disable 1 
Enter fullscreen mode Exit fullscreen mode

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  
Enter fullscreen mode Exit fullscreen mode

Once done, save and exit.

Now, restart pvestatd to apply the configuration

systemctl restart pvestatd 
Enter fullscreen mode Exit fullscreen mode

Try refreshing your Proxmox Web UI.

The storage should now be hidden. Good luck! Hope this helps

Top comments (0)