No space left on device

papete

Member
Jul 28, 2020
16
4
23
45
Hello,
I have a space problem. I have installed the system on a 16GB SD CARD because I thought it would be enough since the vm would be on another storage disk.
The point is that it should have free space (about 6GB) but doing anything it throws a 'No space left on device' message (update or even launch a CT). Sometimes I solve it by deleting some files from /var/log.
Does the /root space and /var/lib/vz belong to /dev/pve/root (PVE's LVS)?

PROXMOX 6.3.2

root@pve3gesbyte:/var/log# df -h
Filesystem Size Used Avail Use% Mounted on
udev 12G 0 12G 0% /dev
tmpfs 2.4G 1.1G 1.4G 44% /run
/dev/mapper/pve-root 11G 3.4G 6.4G 35% /
tmpfs 12G 63M 12G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 12G 0 12G 0% /sys/fs/cgroup
/dev/sdb1 458G 149G 286G 35% /mnt/pve/localbak
/dev/fuse 30M 32K 30M 1% /etc/pve
tmpfs 12G 28K 12G 1% /var/lib/ceph/osd/ceph-2
//10.10.10.40/proxmoxcs 2.8T 2.1T 715G 75% /mnt/pve/AGCQNAP
tmpfs 2.4G 0 2.4G 0% /run/user/0

root@pve3gesbyte:~# lvdisplay pve
--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID cKr02v-XYcV-VbU1-nW8G-04WP-e6rv-4c80V6
LV Write Access read/write
LV Creation host, time proxmox, 2020-12-08 21:39:56 +0100
LV Status available
# open 1
LV Size 10.36 GiB
Current LE 2653
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID p5uD3G-5zNh-ufCA-N7x6-cIfr-qBzq-virNWB
LV Write Access read/write
LV Creation host, time pve3gesbyte, 2021-03-04 16:54:48 +0100
LV Status available
# open 2
LV Size 4.00 GiB
Current LE 1024
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2

root@pve3gesbyte:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
└─ceph--55c06b6c--a315--495b--80ff--a5d2c2cbd723-osd--block--eb2a5284--c534--489c--a9f6--8b4c487c02a8 253:0 0 931.5G 0 lvm
sdb 8:16 0 465.7G 0 disk
└─sdb1 8:17 0 465.7G 0 part /mnt/pve/localbak
sdc 8:32 0 14.9G 0 disk
├─sdc1 8:33 0 1007K 0 part
├─sdc2 8:34 0 512M 0 part
└─sdc3 8:35 0 14.4G 0 part
├─pve-root 253:1 0 10.4G 0 lvm /
└─pve-swap 253:2 0 4G 0 lvm [SWAP]
rbd0 252:0 0 8G 0 disk
root@pve3gesbyte:~#
 
You should atleast use a USB-SSD. Proxmox will write around 30GB per day and this will kill any SD Card or USB Stick quite fast because they dont got wear leveling.
 
  • Like
Reactions: papete

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!