Hello everyone,
I'm in a bit of a pickle. One of our VMs suddenly stopped working. I restarted the VM and it worked fine for a bit but then crashed again (appearing with a yellow warning label on VM in proxmox gui, showing io error or something of the sort).
It turns out that the disk of proxmox is full :
By digging further, I found that during the installation process of our VM, it was misconfigured and a vm disk that should have been put in the rdata zfs pool, was put in another (rpool) in which proxmox is installed. I don't know how it's possible but it was configured to have a size of 800 GB and was placed in a 220 GB disk...
How can I proceed ? ncdu doesn't reveal anything of a remotely useful size to move/delete, all qm functions fail because the process hasn't started because the disk is full.
Can I move the large disk manually to rdata? Where is this vm disk file located? /rpool/ is all but empty :
Many thanks in advance for your help!
Best regards,
Maximilien
I'm in a bit of a pickle. One of our VMs suddenly stopped working. I restarted the VM and it worked fine for a bit but then crashed again (appearing with a yellow warning label on VM in proxmox gui, showing io error or something of the sort).
It turns out that the disk of proxmox is full :
Code:
root@server:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 1.5M 3.2G 1% /run
rpool/ROOT/pve-1 1.7G 1.7G 0 100% /
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
efivarfs 192K 108K 80K 58% /sys/firmware/efi/efivars
rdata 861G 4.5G 857G 1% /rdata
rpool 256K 256K 0 100% /rpool
rpool/var-lib-vz 256K 256K 0 100% /var/lib/vz
rpool/ROOT 256K 256K 0 100% /rpool/ROOT
tmpfs 3.2G 0 3.2G 0% /run/user/0
rpool/data 256K 256K 0 100% /rpool/data
By digging further, I found that during the installation process of our VM, it was misconfigured and a vm disk that should have been put in the rdata zfs pool, was put in another (rpool) in which proxmox is installed. I don't know how it's possible but it was configured to have a size of 800 GB and was placed in a 220 GB disk...
Code:
root@server:~# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rdata 888G 4.41G 884G - - 0% 0% 1.00x ONLINE -
rpool 220G 213G 6.77G - - 83% 96% 1.00x ONLINE -
Code:
root@server:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rdata 4.41G 856G 4.41G /rdata
rpool 213G 0B 208K /rpool
rpool/ROOT 1.60G 0B 192K /rpool/ROOT
rpool/ROOT/pve-1 1.60G 0B 1.60G /
rpool/data 212G 0B 192K /rpool/data
rpool/data/base-101-disk-0 6.32G 0B 6.32G -
rpool/data/vm-100-disk-0 24.7G 0B 27.4G -
rpool/data/vm-100-disk-1 181G 0B 181G -
rpool/var-lib-vz 240K 0B 240K /var/lib/vz
How can I proceed ? ncdu doesn't reveal anything of a remotely useful size to move/delete, all qm functions fail because the process hasn't started because the disk is full.
Can I move the large disk manually to rdata? Where is this vm disk file located? /rpool/ is all but empty :
Code:
root@server:~# du -hs /rpool/*
512 /rpool/data
1.0K /rpool/ROOT
Many thanks in advance for your help!
Best regards,
Maximilien