A aqsyounas Member Feb 18, 2020 3 0 6 34 Feb 18, 2020 #1 Greetings, I need to check local-lvm disk usage. Could someone please let me know what command can be used for this? Kind regards, Aqs.
Greetings, I need to check local-lvm disk usage. Could someone please let me know what command can be used for this? Kind regards, Aqs.
A aqsyounas Member Feb 18, 2020 3 0 6 34 Feb 18, 2020 #2 Actually i need to add a trigger in zabbix if space usage goes down beyond a limit.
dcsapak Proxmox Staff Member Staff member Feb 1, 2016 10,168 1,466 273 36 Vienna Feb 19, 2020 #3 check the output of 'lvs'
A aqsyounas Member Feb 18, 2020 3 0 6 34 Feb 19, 2020 #4 Thanks for the reply. Above command gives below output. root@proxmox13:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert data pve twi-aotz-- 338.10g 97.97 4.08 root pve -wi-ao---- 96.00g swap pve -wi-ao---- 8.00g vm-100-disk-1 pve Vwi-aotz-- 100.00g data 21.95 vm-101-disk-1 pve Vwi-aotz-- 100.00g data 48.83 vm-102-disk-1 pve Vwi-aotz-- 32.00g data 34.59 vm-103-disk-1 pve Vwi-aotz-- 100.00g data 24.70 vm-104-disk-1 pve Vwi-aotz-- 50.00g data 6.35 vm-105-disk-1 pve Vwi-a-tz-- 100.00g data 21.10 vm-106-disk-1 pve Vwi-aotz-- 50.00g data 60.28 vm-108-disk-1 pve Vwi-a-tz-- 100.00g data 30.26 vm-109-disk-1 pve Vwi-aotz-- 100.00g data 94.54 vm-112-disk-1 pve Vwi-a-tz-- 100.00g data 24.57 vm-119-disk-1 pve Vwi-aotz-- 100.00g data 20.88 is it ok to consider first row and Data% column for the total disk usage of local-lvm? I really appreciate your answer. Thanks.
Thanks for the reply. Above command gives below output. root@proxmox13:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert data pve twi-aotz-- 338.10g 97.97 4.08 root pve -wi-ao---- 96.00g swap pve -wi-ao---- 8.00g vm-100-disk-1 pve Vwi-aotz-- 100.00g data 21.95 vm-101-disk-1 pve Vwi-aotz-- 100.00g data 48.83 vm-102-disk-1 pve Vwi-aotz-- 32.00g data 34.59 vm-103-disk-1 pve Vwi-aotz-- 100.00g data 24.70 vm-104-disk-1 pve Vwi-aotz-- 50.00g data 6.35 vm-105-disk-1 pve Vwi-a-tz-- 100.00g data 21.10 vm-106-disk-1 pve Vwi-aotz-- 50.00g data 60.28 vm-108-disk-1 pve Vwi-a-tz-- 100.00g data 30.26 vm-109-disk-1 pve Vwi-aotz-- 100.00g data 94.54 vm-112-disk-1 pve Vwi-a-tz-- 100.00g data 24.57 vm-119-disk-1 pve Vwi-aotz-- 100.00g data 20.88 is it ok to consider first row and Data% column for the total disk usage of local-lvm? I really appreciate your answer. Thanks.
dcsapak Proxmox Staff Member Staff member Feb 1, 2016 10,168 1,466 273 36 Vienna Feb 19, 2020 #5 aqsyounas said: is it ok to consider first row and Data% column for the total disk usage of local-lvm? Click to expand... yes you have 338.1G * 97.97% = 331.24G usage
aqsyounas said: is it ok to consider first row and Data% column for the total disk usage of local-lvm? Click to expand... yes you have 338.1G * 97.97% = 331.24G usage