Adding Multiple hard drives for storage purposes

Phydoux

New Member
Apr 21, 2022
2
0
1
I've got Proxmox installed on a Dell R720 and in it I have 3 drives. a 300GB for booting, a 640GB that I want to use for storing ISOs and a 4TB that I'd like to use for VMs.

I've had this setup before but a network reconfiguration has caused me to reinstall everything and start from scratch. For the life of me, I cannot recall how to setup these drives. The boot drive is already setup and is booting the system perfectly fine. I just need a refresher on how to add the other 2 drives the way I want them. I want any ISOs I upload to the server to automatically go to the 640GB drive and I want the VMs to automatically go to the 4TB drive.

Any help would be appreciated. I was using 6.3 I believe on the old setup and now I'm using 7.1 so I think there may have been some changes in this process?

EDIT: I have the 2 drives in question mounted and formated as ext4. I'm wondering if this is the cause. Should they be formated as LVM or EFI? If so, how do I go about doing that and then desalinating them for the desired storage locations I'm looking for?
 
Last edited:
Hi,
for ISOs you need a file-based storage, for VM images, you can use whatever you like best. See here for a list. If you already have the drives formatted and mounted, you just need to tell Proxmox VE about them by adding the storages with Datacenter > Storage > Add > Directory and selecting the desired content types. If you don't want a directory storage for the VM images, you can re-purpose the disk as something else in Datacenter > [Your Node] > Disks, by wiping and then creating the desired storage type.
 
If you don't want a directory storage for the VM images, you can re-purpose the disk as something else in Datacenter > [Your Node] > Disks, by wiping and then creating the desired storage type.
I would recommend wiping the 4TB disk and they creating a LVM-Thin storage on it for your VMs/LXCs. That way you still got thin-provisioning and snapshots without too much overhead.

Ext4 partitiin as a "directory storage" should be fine for ISOs.