Check the current status and percentage used for lvm-local disks for guest VM in Proxmox

lvs -o lv_path,lv_size,data_percent,lv_layout,lv_active,lv_health_status | awk 'NR==1 || /^.*vm-.*-disk-/'

Example output

  Path                       LSize    Data%  Layout      Active Health         
  /dev/pve/vm-107-disk-0       20.00g 98.01  thin,sparse active                
  /dev/pve/vm-8000-disk-0      <2.20g 67.81  thin,sparse active                
  /dev/pve/vm-8001-disk-0      <2.20g 92.75  thin,sparse active

 

Tags