Proxmox on top of Debian 10, lvmthin for data?

Jan 31, 2014
113
11
38
On Hetzner dedicated server I installed Debian 10 using installimage, and then apt-get install proxmox-ve per Hetzner instructions

Now /var/lib/vz is on root partition, which is small and most of the NVMe disk is unused.
Code:
root@hetrauta ~ # pveversion
pve-manager/6.3-3/eee5f901 (running kernel: 5.4.78-2-pve)
root@hetrauta ~ # df -hT
Filesystem           Type      Size  Used Avail Use% Mounted on
udev                 devtmpfs   63G     0   63G   0% /dev
tmpfs                tmpfs      13G  1.4M   13G   1% /run
/dev/mapper/vg0-root ext4      9.8G  3.5G  5.9G  38% /
tmpfs                tmpfs      63G   25M   63G   1% /dev/shm
tmpfs                tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs                tmpfs      63G     0   63G   0% /sys/fs/cgroup
/dev/md0             ext4      487M  149M  309M  33% /boot
/dev/mapper/vg0-home xfs        20G   53M   20G   1% /home
/dev/mapper/vg0-tmp  xfs       5.0G   38M  5.0G   1% /tmp
/dev/fuse            fuse       30M   16K   30M   1% /etc/pve
tmpfs                tmpfs      13G     0   13G   0% /run/user/0

Code:
Disk /dev/md1: 1.8 TiB, 1919709151232 bytes, 3749431936 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Code:
# ls -lh /etc/pve/stora*
ls: cannot access '/etc/pve/stora*': No such file or directory

I read I should create an lvmthin pool for data /var/lib/vz. I did not find info on how to do this and get Proxmox to use it.
Should I just forget this way of installing and do the install again using official Proxmox VE install image?
 
Last edited:
Have you followed this instructions?
Not those, I followed the Hetzner instructions I linked to in #1. But apart from not installing open-iscsi they look similar.
So I just mount the /dev/md1 to /var/lib/vz as dir storage?
Code:
root@hetrauta ~ # mount /dev/md1 /srv
mount: /srv: unknown filesystem type 'LVM2_member'.
 

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!