Hello everyone,
I have a question that may have been asked before.
Sorry for this, this is not intended.
Together with a few friends, we've rented a dedicated server from a hosting provider.
We've installed Proxmox on it and set up several VMs.
===> Installation is done by using the "installimage script provided by Hetzner", for installing Proxmox on Debian.
Now, I noticed that with the default installation, the "local" storage is only 15GB in size, while the physical disks are around 960GB in total (2 disks RAID1).
I searched the forum, but I found that not all information and tips could be directly applied to my situation. That’s probably also due to my limited insight, knowledge, and experience. From what I've read (like in this thread: https://forum.proxmox.com/threads/resize-local-or-local-lvm-and-how.105263/), it appears that resizing the disk space for VMs can result in data loss, meaning I’d lose the VMs currently stored there.
Is there a way to expand the default Proxmox volume without losing data?
Am I even using a proper setup here, or would it make more sense to structure things differently?
Please excuse all the questions, I’m still a newbie and could really use some help.
Thanks in advance if you’re willing to assist me.
I've already gathered some information from this forum that seems relevant to the challenge I'm facing:
Hardware specs
Installimage script provided by Hetzner
root@proxmox-001 ~ # pvs
root@proxmox-001 ~ # vgs
root@proxmox-001~#lvs
root@proxmox-001 ~ # lsblk
cat /etc/pve/storage.cfg
I have a question that may have been asked before.
Sorry for this, this is not intended.
Together with a few friends, we've rented a dedicated server from a hosting provider.
We've installed Proxmox on it and set up several VMs.
===> Installation is done by using the "installimage script provided by Hetzner", for installing Proxmox on Debian.
Now, I noticed that with the default installation, the "local" storage is only 15GB in size, while the physical disks are around 960GB in total (2 disks RAID1).
I searched the forum, but I found that not all information and tips could be directly applied to my situation. That’s probably also due to my limited insight, knowledge, and experience. From what I've read (like in this thread: https://forum.proxmox.com/threads/resize-local-or-local-lvm-and-how.105263/), it appears that resizing the disk space for VMs can result in data loss, meaning I’d lose the VMs currently stored there.
Is there a way to expand the default Proxmox volume without losing data?
Am I even using a proper setup here, or would it make more sense to structure things differently?
Please excuse all the questions, I’m still a newbie and could really use some help.
Thanks in advance if you’re willing to assist me.
I've already gathered some information from this forum that seems relevant to the challenge I'm facing:
Hardware specs
Code:
CPU: Intel Xeon E-2176G
Memory: 64 GB (4 x RAM 16384 MB DDR4 ECC)
Disks: 2 x SSD U.2 NVMe 960 GB Datacenter - Software RAID1
Network: 1 x NIC 1 Gbit - Intel I219-LM
OS: Debian 12 with Proxmox (based on Hetzner install image)
Installimage script provided by Hetzner
Code:
I used the "installimage script provided by Hetzner", for installing Proxmox on Debian.
The benefit of this, is that the correct network is preconfigured (no hardware console access).
https://docs.hetzner.com/robot/dedicated-server/operating-systems/installimage/
root@proxmox-001 ~ # pvs
Code:
PV VG Fmt Attr PSize PFree
/dev/md1 vg0 lvm2 a-- 893.12g 872.12g
root@proxmox-001 ~ # vgs
Code:
VG #PV #LV #SN Attr VSize VFree
vg0 1 2 0 wz--n- 893.12g 872.12g
root@proxmox-001~#lvs
Code:
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root vg0 -wi-ao---- 15.00g
swap vg0 -wi-ao---- 6.00g
root@proxmox-001 ~ # lsblk
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme1n1 259:0 0 894.3G 0 disk
├─nvme1n1p1 259:1 0 1G 0 part
│ └─md0 9:0 0 1022M 0 raid1 /boot
└─nvme1n1p2 259:2 0 893.3G 0 part
└─md1 9:1 0 893.1G 0 raid1
├─vg0-root 252:0 0 15G 0 lvm /
└─vg0-swap 252:1 0 6G 0 lvm [SWAP]
nvme0n1 259:3 0 894.3G 0 disk
├─nvme0n1p1 259:4 0 1G 0 part
│ └─md0 9:0 0 1022M 0 raid1 /boot
└─nvme0n1p2 259:5 0 893.3G 0 part
└─md1 9:1 0 893.1G 0 raid1
├─vg0-root 252:0 0 15G 0 lvm /
└─vg0-swap 252:1 0 6G 0 lvm [SWAP]
cat /etc/pve/storage.cfg
Code:
dir: local
path /var/lib/vz
content snippets,backup,images,iso,vztmpl,rootdir
prune-backups keep-all=1
Last edited: