"No space left on device" - 32 GB limit- I tried everything - disk in the VM has 300 GB

Renatoseres

New Member
Dec 7, 2023
3
2
3
I am migrating a pyhsical windows to a proxmox VM

I have already generated the .qcow2 file in the proxmox file system,
in /mnt/pve/test1

I searched a lot in the internet but didn't find a solution to Copy the file to the VM directory

I need to put my existing 150GB size .qcow2 file in a new hard disk in this disk ,
but when I try to copy the file to /dev/Storagenvme1n1W2012DISCOC
I got:
cp: error writing 'SRVDADOS-1.qcow2': No space left on device

(limit 32 GB)

Physical Disk has 1 TB,
LVM-Thin has 1 TB
but df -h shows udev (/dev) with just 32 GB total size

df -h:
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 1.9M 6.3G 1% /run
/dev/mapper/pve-root 94G 20G 70G 22% /
/dev/sda1 1.8T 1.1T 604G 64% /mnt/pve/test1
tmpfs 32G 46M 32G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
efivarfs 192K 154K 34K 83% /sys/firmware/efi/efivars
/dev/nvme0n1p2 1022M 12M 1011M 2% /boot/efi
/dev/fuse 128M 20K 128M 1% /etc/pve
tmpfs 6.3G 0 6.3G 0% /run/user/0

VM ID 103
The disk has 1 TB pyhsical
In the VM , I've created a hard disk with 300 GB

/etc/pve/storage.cfg:


lvmthin: Storagenvme1n1W2012DISCOC
thinpool Storagenvme1n1W2012DISCOC
vgname Storagenvme1n1W2012DISCOC
content rootdir,images
nodes Si7

pvs:
PV VG Fmt Attr PSize PFree
/dev/nvme1n1 Storagenvme1n1W2012DISCOC lvm2 a-- <953.87g 124.00m

vgs:
VG #PV #LV #SN Attr VSize VFree
Storagenvme1n1W2012DISCOC 1 2 0 wz--n- <953.87g 124.00m

lvs:
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
Storagenvme1n1W2012DISCOC Storagenvme1n1W2012DISCOC twi-aotz-- <934.67g 0.00 0.21
vm-103-disk-0 Storagenvme1n1W2012DISCOC Vwi-a-tz-- 310.00g Storagenvme1n1W2012DISCOC 0.00

VM config:
/etc/pve/qemu-server/103.conf:
bios: ovmf
boot: order=scsi0;ide0;ide2;net0
cores: 10
cpu: x86-64-v2-AES
ide0: local:iso/virtio-win-0.1.248.iso,media=cdrom,size=715188K
ide2: none,media=cdrom
machine: pc-i440fx-8.1
memory: 12288
meta: creation-qemu=8.1.5,ctime=1713650361
name: TESTW2012SERVER
net0: virtio=BC:24:11:6C:7D:DF,bridge=vmbr0,firewall=1
numa: 0
ostype: win8
scsi0: Storagenvme1n1W2012DISCOC:vm-103-disk-0,iothread=1,size=310G
scsihw: virtio-scsi-single
smbios1: uuid=20a589db-e89b-4a29-8159-9b222b30f86e
sockets: 1
vmgenid: 7f6b5e4b-4518-4d89-8ae8-456763689f3b


Already tried pvresize, lvextend, etc
 
Last edited:
It's all hard to read because there are no CODE-tags used, but it looks like Storagenvme1n1W2012DISCOC is a LVM-thin storage and not a directory storage. You can only copy qcow2 files to a directory storage. On LVM-thin virtual disk are stored raw in logical volumes. Maybe put the qcow2 file on a directory storage and add it as a virtual drive to the VM manually. Then you can use the Disk Action > Move Storage to migrate it to your LVM-thin storage. Maybe there are simpler ways but I have limited experience with qcow2 and LVM.
 

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!