[PVE-User] Proxmox storage usage
Rutger Verhoeven
rutger.verhoeven at gmail.com
Tue Jun 25 16:42:33 CEST 2019
Hello all,
So, the gui of proxmox just states that 100% of the VG in use. My mistake,
i thought this meant all storage in use.
I fixed the issue. I did a reinstall:
1x RAID1 120GB
1x RAID1 137TB
1x RAID1 4.6TB
Created folders in /var/lib with matching lv's / vg's
Now i can access the storage from both cli and UI:
oot at server5:/dev/vg_storage5# df -h
Filesystem Size Used Avail Use% Mounted on
udev 48G 0 48G 0% /dev
tmpfs 9.5G 9.7M 9.5G 1% /run
*/dev/mapper/pve-root 30G 1.8G 26G 7% /*
tmpfs 48G 40M 48G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 48G 0 48G 0% /sys/fs/cgroup
/dev/sda2 511M 304K 511M 1% /boot/efi
*/dev/mapper/server5_vmdata-lvvx 1.8T 77M 1.7T 1% /var/lib/vmdata*
/dev/fuse 30M 16K 30M 1% /etc/pve
*/dev/mapper/vg_storage5-lvs5 4.6T 89M 4.3T 1% /var/lib/storage5*
*https://imgur.com/a/zgIKp2z <https://imgur.com/a/zgIKp2z>*
thnx all for the advise and tips!
Regards,
Rutger.
Op ma 24 jun. 2019 om 17:41 schreef Eneko Lacunza <elacunza at binovo.es>:
> 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
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
More information about the pve-user
mailing list