[ Newbie ] how can I add additional disk to my server which has already fully encrypted disk attached to it?

virtualizerforlife

New Member
Jan 12, 2025
4
0
1
How can I add a new disk to my setup which has already fully encrypted disk attached to it? Whats the best way to do it?

I need to more space and I'm wondering whats the best way to do it

Im still pretty new to this
 
Are you assuming we all have a crystal ball to know what kind is your system like and what you have encrypted ? A zfs (luks or native ?), a hw/sw raid, single disk, with or without lvm, with or without a filesystem ? The best way is straight forward and I would say there is depending on your previous setup just one way to do it, otherwise end in hell or a complete new setup (and restore, so have a backup before).
 
Are you assuming we all have a crystal ball to know what kind is your system like and what you have encrypted ? A zfs (luks or native ?), a hw/sw raid, single disk, with or without lvm, with or without a filesystem ? The best way is straight forward and I would say there is depending on your previous setup just one way to do it, otherwise end in hell or a complete new setup (and restore, so have a backup before).
so its better to backup everything and then add new disk in to setup and then do all over again?
I have luks, single disk. On top of proxmox I have installed debian which I did the full disk encryption with
 
so its better to backup everything and then add new disk in to setup and then do all over again?
What do you mean when you have a single disk pve installation, add the second disk "and then do all over again" ??
I have luks, single disk. On top of proxmox I have installed debian which I did the full disk encryption with
You mean you have debian with full encryption installed and on top upgraded to pve ...
Do you use lvm for your vm's or just the filesystem (ext4/xfs) from debian ?
In the early days lvm was developed to pack a bunch of disk together to a bigger volume group and create individual virtual volume disks from.
Today it's sometimes the opposite, take a big real or virtual (raid) disk and create smaller virtual volume disks from.
Nevertheless as if you don't want to be saver from your single disk to have a raid1 mirror and want more space
I never would married your 2 disks as when one fail all is gone. So just take your 2nd disk, encrypt it. if using lvm for your vm's create a new volume group and volume otherwise if using a filesystem create it. Pass your config to /etc/pve/storage.cfg. You may have to setup scripts for auto-encrypting or not starting vm's from that disks as the storage isn't available before encrypted by the passphrase.
 

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!