Problem partition full

Philou15

New Member
Nov 15, 2018
14
1
1
44
Hye

Sorry i'm french so my english is not good.

I have a jeedom on proxmox 5.2 and the last 2 night i have proxmox bug.

I would like to acces on log but on ssh when i put on console
/var/log/daemon.log

proxmox say permission denied but i have log my console on root with ssh

And i Have a probleme
My systeme have a ssd 32gb and i think the ssd is full

on ssh i put lvs he say :

root@jeedomok:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- 13.06g 100.00 0.61
root pve -wi-ao---- 7.25g
swap pve -wi-ao---- 3.62g
vm-100-disk-1 pve Vwi-aotz-- 20.00g data 65.31


And on the web interface the local-lvm is full,


That solution i have ? because my VM ID 100 is not full on disk.

Tks
Sorry for my english
 
Hi,

Maybe trying to delete some backups or template files could help.

Rares
 
I would like to acces on log but on ssh when i put on console
/var/log/daemon.log

proxmox say permission denied but i have log my console on root with ssh

`/var/log/daemon.log` is a logfile - not a command - try `less /var/log/daemon.log`.

Your thinpool is 13.56GB large - vm-100-disk-1 is 20GB (too large)

You need to delete something inside vm-100 and run `fstrim` afterwards
 
Yes i have 20Gb on vm100 disk but i use only 40% of 20Gb,
It is not full so that solution for down vm100 disk to 10Gb ?

Tks
 
you need to run fstrim - inside vm 100
 
Ok tks but how

I log on sddh

i put fstrim and he say :


root@jeedomok:~# fstrim
fstrim: no mountpoint specified

Tks
 
I have delete log and save on my VM 100 ( On jeedom directily ) but the local-vm already 100%

So it is not my vm. I use 5Gb Of 20 Gb on disk Vm100.

I waiting the command fstrim for test because i dont say the good i tking.

tks you very mush
 
read the man pages - `man fstrim` - you need to specify a mount-point - for example `fstrim /`
 
My english is very bad, so i dont understand..

I dont find the commande i put on ssh
root@jeedomok:~# fstrim /


and no reaction


root@jeedomok:~# fstrim /
root@jeedomok:~#

tks
 
in the VM (jeedomok):
try 'fstrim -v /' (then you get an output)
run `fstrim -v $fs` for every filesystem in the output of `df -h`

then on the PVE-host check the output of:
`vgs`
`lvs -a`

hope that works
 
OK i would like to reside the disk of my VM 100 but not down the size it is up only, so i have 20GO and nox 42Go.....
I have put the commande and no way.

that is the screeen shoot
Tks for your help
upload_2018-11-15_13-11-49.png
 
Run fstrim inside the VM 100, not on the hypervisor.
Connect to VM 100 (via GUI -> VM -> Console), log in, run fstrim
 
Tks you

It ok now, the partition is not full now.

What explication ?

And now i would like to reduce my partition of VM because I have create a 42GB and i use 5go,
The GUI propose to augment but not reduice partiton

42gb to 10 Gb that solution ?

Tks a lot :)
 
Hm - in the first post the lvm-volume was 20G, now it's 42G ?

In any case you only have 13.06 g on the thin-pool.

Reducing the Partition is more difficult than augmenting.

I guess the best option is to search in google for "Reduce KVM LVM" (in french) - I'm sure there are many helpful links !

Hope this helps!
 
Hm - in the first post the lvm-volume was 20G, now it's 42G ?

In any case you only have 13.06 g on the thin-pool.

Reducing the Partition is more difficult than augmenting.

I guess the best option is to search in google for "Reduce KVM LVM" (in french) - I'm sure there are many helpful links !

Hope this helps!
Yes because i would like to reduced but the web interface option resize and i have augment....

So it is my error.

Tkd a lot for your help
 

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!