[SOLVED] Newbie mistake, but dunno how to solve without destroying existing VMs

strikeraj

New Member
Sep 30, 2023
14
1
3
Hi
I installed PVE on the dual SD in my Dell R630 solver.
Today when I try to install a tool on the host, I ran into this.

E: You don't have enough free space in /var/cache/apt/archives/.

So when I dig a bit, I noticed this

sdd 8:48 0 14.9G 0 disk ├─sdd1 8:49 0 1007K 0 part ├─sdd2 8:50 0 512M 0 part └─sdd3 8:51 0 14.4G 0 part ├─pve-swap 253:0 0 1G 0 lvm [SWAP] ├─pve-root 253:1 0 6.7G 0 lvm / ├─pve-data_tmeta 253:2 0 1G 0 lvm │ └─pve-data 253:4 0 4.7G 0 lvm └─pve-data_tdata 253:3 0 4.7G 0 lvm └─pve-data 253:4 0 4.7G 0 lvm

and this

Name Type Status Total Used Available % ISO_dir dir active 963496960 115820416 847676544 12.02% OS dir active 963496960 115820416 847676544 12.02% local dir active 6825960 6458260 0 94.61% local-lvm lvmthin active 4931584 0 4931584 0.00%

Now I am thinking since the local-lvm is not really being used, I can take that room and give to the pve-root. But how can I do that?
I found this post, but that doesnt seem to fix my problem as I need room in the /var/cache/apt/archives/, and I cannot really point it to a new volume mnt right?

https://forum.proxmox.com/threads/h...nd-reduce-local-lvm-size-in-same-disk.124172/
 
If you are truly not using local-lvm, you can : delete the storage object in PVE, delete the pve-data LVM slice, expand the pve-root with freed up space, expand the root filesystem.
https://www.reddit.com/r/toordotone/comments/souiub/remove_locallvm_from_proxmox/

note, I only took a quick look at this article - it seems ok, do it at your own risk.

You can also mount a /var/xxxxx to a new slice, search for how to use fstab.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: strikeraj
If you are truly not using local-lvm, you can : delete the storage object in PVE, delete the pve-data LVM slice, expand the pve-root with freed up space, expand the root filesystem.
https://www.reddit.com/r/toordotone/comments/souiub/remove_locallvm_from_proxmox/

note, I only took a quick look at this article - it seems ok, do it at your own risk.

You can also mount a /var/xxxxx to a new slice, search for how to use fstab.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Thanks for your reply.
So I don't use it intentionally, but I am not sure if PVE use it in any underlying process?
Cause when I go to my GUI, I see this when i go node->disk->LVM-thin

1696693975756.png
 
In addition...don't use SD cards...PVE writes a lot and will kill (non-industrial grade) SD cards and USB pen drives very fast. Only use internal/external HDDs/SSDs.
 
In addition...don't use SD cards...PVE writes a lot and will kill (non-industrial grade) SD cards and USB pen drives very fast. Only use internal/external HDDs/SSDs.
I have considered that but right now I am running out of ports. I am running a mirror image of the SD and the SD card are the ones Dell shipped with the server. I have also pointed the log to the ZFS pool. Is there anything else the PVE would wirte for?
 

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!