How to mount a disk in Proxmox VE and use it for VMs or storage
Mounting a disk in Proxmox VE usually means preparing the physical disk, formatting it with a suitable filesystem, and adding it to the Proxmox storage configuration so virtual machines or containers can use it.
Updated · Mr.PlanB
Overview
Start by identifying the new disk with commands such as lsblk or fdisk -l to confirm the device name. A new disk has to be partitioned first; fdisk or parted can create the partition table and the partitions. Then format the disk with a filesystem such as ext4 or xfs, or set it up as LVM or ZFS, depending on the storage design you want.
Once formatted, mount the disk to a directory, commonly under /mnt or another path you choose, with the mount command. To keep it mounted after a reboot, add an entry to the /etc/fstab file.
With the disk mounted at the operating system level, you can add it to Proxmox in the web interface. Go to Datacenter → Storage → Add, pick the storage type (Directory, LVM, ZFS, etc.) and enter the mount point or volume group. The storage is then available for VM disks, ISO images, backups or container volumes.
Plan before you change anything. Check the disk's health, choose the storage backend that fits your performance and redundancy needs, and make sure backups are in place before you make structural storage changes.
1. Do I need to reboot after mounting a disk?
Not necessarily, but you must update /etc/fstab so the mount survives a reboot.
2. Can I mount a disk without formatting it?
Only if it already contains a supported filesystem.
3. Should I use LVM or directory storage?
That depends on the performance, flexibility and management requirements of your environment.
Related guides
More from the backup hub on the same topics.
Need help with backup and recovery?
Use the form below to get in touch about backup strategy, recovery planning, and data protection projects.