[SOLVED] Adding a new HDD

JonazThern

Member
Sep 28, 2021
23
1
8
45
So, I added a HDD to the machine running proxmox. How can I find it in proxmox and allow VM's to use it? I have a specific VM that I want to use that volume in.
 
hi,

you need to create a storage on your disk before your VMs can use it.

I have a specific VM that I want to use that volume in.
do you mean you want to create a VM on that disk, or you want to passthrough the whole disk to the VM?
 
hi,

you need to create a storage on your disk before your VMs can use it.


do you mean you want to create a VM on that disk, or you want to passthrough the whole disk to the VM?

Yes, I understand that. I just can't find the option and how-to.

I have a VM running, that I want to be able to use the new HDD for storage. I want to be able to access the new HDD from Windows on that VM.
 
I have a VM running, that I want to be able to use the new HDD for storage. I want to be able to access the new HDD from Windows on that VM.
1. so you want to pass the whole disk to the VM? as in, there's data on the disk already and you want to access those files from your VM? (beware if you do that you won't be able to use that disk for other VMs)

2. or do you want to create a volume on that disk for your VM and use that volume for storage inside the VM (and also for other VMs, but you need to wipe the disk for this)
Yes, I understand that. I just can't find the option and how-to.
for option 1, you can check out passthrough notes [0]

for option 2 (would recommend this), you can go in the GUI to Node -> Disks -> ZFS/LVM/Directory -> Create and follow the wizard. you can select the storage backend according to your needs [1]. after the disk is added you should be able to create volumes on it for your VM by going to the "Hardware" panel of your VM and adding a disk and choosing the new storage you added.

hope this helps!

[0]: https://pve.proxmox.com/wiki/Pci_passthrough
[1]: https://pve.proxmox.com/wiki/Storage
 
  • Like
Reactions: JonazThern
1. so you want to pass the whole disk to the VM? as in, there's data on the disk already and you want to access those files from your VM? (beware if you do that you won't be able to use that disk for other VMs)

2. or do you want to create a volume on that disk for your VM and use that volume for storage inside the VM (and also for other VMs, but you need to wipe the disk for this)

for option 1, you can check out passthrough notes [0]

for option 2 (would recommend this), you can go in the GUI to Node -> Disks -> ZFS/LVM/Directory -> Create and follow the wizard. you can select the storage backend according to your needs [1]. after the disk is added you should be able to create volumes on it for your VM by going to the "Hardware" panel of your VM and adding a disk and choosing the new storage you added.

hope this helps!

[0]: https://pve.proxmox.com/wiki/Pci_passthrough
[1]: https://pve.proxmox.com/wiki/Storage

Fantastic, that workd. Thank you :)
 

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!