[SOLVED] How do I add an existing Btrfs drive to my VM?


New Member
Aug 8, 2023
This is probably a common question, but unfortunately I couldn't find satisfying information about this.

I have Proxmox installed on my SSD and another hard drive installed using Btrfs, which contains files I want to use in one of my virtual machines.
Do I just mount the drive and add it as a directory under Datacenter -> Storage? If so, what type of content do I select? Or should I rather add it as Btrfs and also paste the mount point the "Path"?

If so how do I then add the storage to the VM? Do I add it as a Hard Disk in the Hardware section? What would I enter as a Disk size?

Thanks in advance!
If there is already a file system on the disk that you want to access directly from a VM, you need to pass through the full disk:
qm set {vmid} --scsiX /dev/sdX

Alternatively, you could use the more stable /dev/disk/by-id/… path.
Replace the X in --scsiX with the next free number, or another disk bus type if you need to. They are ide, sata or virtio.
Last edited:
Do you need to access that data from anywhere else? If so, you could always spin up a VM to serve that disk as an NFS share so you could access the data in more than one spot. Then just mount the NFS share inside each of other target VMs using FSTAB in each individual VM


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!