How to check local-lvm free space by using terminal command?

aqsyounas

Member
Feb 18, 2020
3
0
6
34
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.
 
check the output of 'lvs'
 
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!