Data on another disk/VG

MRJG

New Member
Mar 13, 2021
1
0
1
50
Hello,

I am setting up a small proxmox server for testing/smal production.

I would like to separate system disk/vg and data disk/vg (using LVM thin)
I would start with 2 disks: 1 for system and 1 for data (VMs). In the future I could add the new disk/PV to the Data VG...

Is there any way to do this in a not too unorthodox way...

My goal is to seperate system and datas...

Thanks for your help/ideas/links/experience share
 
Hi,

The Proxmox VE installer automatically partitions the disk and sets up a logical volume with a root and data partition. To achieve what you're asking for, you could install Proxmox VE following the default LVM setup, then remove the "data" LV following the installation:
Code:
# remove LV 'data'
lvremove /dev/pve/data
# Expand LV "root" to use the remaining free space
lvextend -l +100%FREE /dev/pve/root
# Resize the filesystem to use all the available space
resize2fs /dev/pve/root

Following this, you could simply add the second disk to Proxmox VE with the content types "Disk image" and "Container"
 

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!