[PVE-User] Proxmox storage usage

Eneko Lacunza elacunza at binovo.es
Mon Jun 24 17:40:16 CEST 2019


Hi,

root at server5:/var/lib/vz# df -h
Filesystem            Size  Used Avail Use% Mounted on
udev                   48G     0   48G   0% /dev
tmpfs                 9.5G  9.6M  9.5G   1% /run
/dev/mapper/pve-root   96G  1.8G   95G   2% /
tmpfs                  48G   37M   48G   1% /dev/shm
tmpfs                 5.0M     0  5.0M   0% /run/lock
tmpfs                  48G     0   48G   0% /sys/fs/cgroup
/dev/sda2             511M  312K  511M   1% /boot/efi
/dev/fuse              30M   16K   30M   1% /etc/pve

root at server5:/var/lib/vz# pvs
   PV         VG  Fmt  Attr PSize   PFree
   /dev/sda3  pve lvm2 a--  499.50g      0
   /dev/sdb1  pve lvm2 a--    1.37t 371.91g
   /dev/sdc       lvm2 ---    4.55t   4.55t

root at server5:/var/lib/vz# lvs
   LV   VG  Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync
Convert
   data pve twi-a-tz--  1.39t             0.00   0.15
   root pve -wi-ao---- 96.00g
   swap pve -wi-ao----  8.00g


Let's do some math:

Your LVs:

root at server5:/var/lib/vz# lvs
   LV   VG  Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync
Convert
   data pve twi-a-tz--  1.39t             0.00   0.15
   root pve -wi-ao---- 96.00g
   swap pve -wi-ao----  8.00g


A total of ~1.494tb allocated for LVs (1.39t+96g + 8g)

Your VGs:

root at server5:/var/lib/vz# pvs
   PV         VG  Fmt  Attr PSize   PFree
   /dev/sda3  pve lvm2 a--  499.50g      0
   /dev/sdb1  pve lvm2 a--    1.37t 371.91g
   /dev/sdc       lvm2 ---    4.55t   4.55t

499.5g + (1.37t-371.91g) ~= 1.497t

So about the same of the space allocated to LVs.

"data" LV is for thin-provisioning and is not mounted.
"root" is "/", and looks good .
"swap", just check "swapon"

Can't see the problem yet?

Regards

El 24/6/19 a las 11:52, Rutger Verhoeven escribió:
> Hello,
>
> url: https://imgur.com/M6CoEIF
>
> this corresponds with:
>
> root at server5:/var/lib/vz# pvs
>    PV         VG  Fmt  Attr PSize   PFree
>    /dev/sda3  pve lvm2 a--  499.50g      0
>    /dev/sdb1  pve lvm2 a--    1.37t 371.91g
>    /dev/sdc       lvm2 ---    4.55t   4.55t
>
> Greetings,
>
> Rutger.
>
> Op ma 24 jun. 2019 om 11:40 schreef Andreas Heinlein <aheinlein at gmx.com>:
>
>> Hello,
>>
>> there is no screenshot attached. AFAIK this list does not allow
>> attachments, as do most mailing lists. You need to upload it somewhere
>> and post the link.
>>
>> Bye,
>>
>> Andreas
>>
>> Am 24.06.19 um 11:35 schrieb Rutger Verhoeven:
>>> Hi,
>>>
>>> Yeah i don't see the storage in use on the OS, that's why it was worrying
>>> me.
>>> Proxmox it's in use (see screenshot)
>>>
>>> Kind regards
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


-- 
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943569206
Astigarraga bidea 2, 2º izq. oficina 11; 20180 Oiartzun (Gipuzkoa)
www.binovo.es




More information about the pve-user mailing list