An effective open-source platform for managing containers and virtual machines (VMs) is Proxmox Virtual Environment (VE). You could ultimately need to expand the storage on your Proxmox server, whether you're operating a production system or a home lab. This could be done to increase your storage capacity, store backups, or support more virtual machines.
Whether you want to add a network-attached storage (NAS) device, an SSD, or a physical disk to your Proxmox server, we'll show you how to do so in this article. We'll go over how to install the disk physically and make it accessible in Proxmox.
Step 1: Install the disk physically
Installing a physical drive is the initial step if you're adding one to your server. Here's how:
Power Down Your Server: To safely install the new disk, turn off your Proxmox server.
Put the disk in place: Connect the new drive to an open SATA or NVMe slot after opening your server case. After securing the disk, attach the required data and power cords.
Turn on the server: Turn on your server after the disk has been installed.
Step 2: Confirm that the disk has been detected
You must make sure Proxmox detects the disk after installing it.
Open the Web Interface for Proxmox: Open the Proxmox web interface and log in.
Examine the shell's disk:
After adding the disk, click on the node (server).
Access your Proxmox server via SSH or by selecting the "Shell" option.
For a list of all disks, run the following bash command:
lsblk
Look for the new disk in the output. It will typically appear as /dev/sdX (e.g., /dev/sdb) or /dev/nvmeXn1 for NVMe drives.
Step 3: Partition and Format the Disk
Before you can use the disk, you need to partition and format it.
Create a Partition:
Use fdisk or gdisk to create a partition on the new disk. For example:
fdisk /dev/sdb
Follow the prompts to create a new partition. Typically, you'll want to create a single partition using the entire disk.
Save and exit the partition tool.
Format the Partition:
Format the partition with a filesystem. For Proxmox, ext4 is a common choice:
mkfs.ext4 /dev/sdb1
If you're using the disk for ZFS, you can skip formatting and add it directly to a ZFS pool.
Step 4: Add the Disk to Proxmox
Now that the disk is ready, you can add it to Proxmox as storage.
Go to Datacenter Storage:
In the Proxmox web interface, select your node, then go to "Datacenter" > "Storage."
Add the Disk as Storage:
Click "Add" and choose the type of storage you want to create (e.g., "Directory," "LVM," or "ZFS").
For a simple setup, select "Directory" and provide the following details:
ID: A unique name for the storage (e.g., new-disk).
Directory: The mount point for the disk (e.g., /mnt/new-disk).
Content: Choose what the storage will be used for (e.g., "Disk Image," "ISO," "Container").
Click "Add" to save the configuration.
Mount the Disk:
If you haven't already mounted the disk, do so now:
mkdir /mnt/new-disk
mount /dev/sdb1 /mnt/new-disk
To make the mount persistent across reboots, add it to /etc/fstab:
echo '/dev/sdb1 /mnt/new-disk ext4 defaults 0 0' >> /etc/fstab
Step 5: Verify the Storage
Once the disk is added, verify that it's working correctly.
Check Storage in Proxmox:
Go to "Datacenter" > "Storage" and ensure the new storage is listed and active.
Test the Storage:
Create a new VM or container and select the new storage as the disk location to ensure it's functioning properly.
Optional: Add the Disk to an Existing ZFS Pool
If you're using ZFS, you can add the new disk to an existing pool for expanded storage.
Add the Disk to the Pool:
Run the following command to add the disk to your ZFS pool:
zpool add <pool-name> /dev/sdb1
Verify the Pool:
Check the status of your ZFS pool to ensure the disk was added successfully:
zpool status
In conclusion
The process of adding a disk to Proxmox is simple and can greatly increase your storage capacity. Proxmox gives you the ability to effectively manage your storage, whether you're installing a hard drive, an SSD, or network storage. You can make sure that your new disk is installed, formatted, and integrated into your Proxmox environment correctly by following this method.
In the coming days, further articles on the subjects listed below will be published.
Proxmox vs VMware, Proxmox vs ESXi, Proxmox vs Hyper-V, Proxmox backup server, Proxmox cluster setup, Proxmox high availability, Proxmox ZFS setup, Proxmox LVM setup, Proxmox networking, Proxmox storage options, Proxmox virtualization, Proxmox container, Proxmox VM setup, Proxmox web interface, Proxmox CLI commands, Proxmox installation guide, Proxmox ISO download, Proxmox latest version, Proxmox Installation and Setup, How to install Proxmox, Proxmox installation steps, Proxmox bare-metal installation, Proxmox USB installation, Proxmox UEFI installation, Proxmox BIOS settings, Proxmox hardware requirements, Proxmox minimum requirements, Proxmox RAID setup, Proxmox SSD optimization, Proxmox dual boot, Proxmox on Raspberry Pi, Proxmox on NUC, Proxmox on Dell server, Proxmox on HP server, Proxmox on Lenovo server, Proxmox on VMware Workstation, Proxmox on VirtualBox, Proxmox on Hyper-V, Proxmox on AWS, Proxmox Virtual Machines (VMs)\, Create VM in Proxmox, Proxmox VM templates, Proxmox VM cloning, Proxmox VM migration, Proxmox VM backup, Proxmox VM snapshot, Proxmox VM resize disk, Proxmox VM passthrough, Proxmox GPU passthrough.
Proxmox USB passthrough
Proxmox Windows VM
Proxmox Linux VM
Proxmox Ubuntu VM
Proxmox Debian VM
Proxmox CentOS VM
Proxmox Fedora VM
Proxmox macOS VM
Proxmox VM performance tuning
Proxmox VM network configuration
Proxmox VM firewall setup
Proxmox Containers (LXC)
Proxmox LXC setup
Proxmox LXC vs VM
Proxmox LXC templates
Proxmox LXC backup
Proxmox LXC networking
Proxmox LXC storage
Proxmox LXC Ubuntu
Proxmox LXC Debian
Proxmox LXC CentOS
Proxmox LXC Alpine
Proxmox LXC Docker
Proxmox LXC security
Proxmox LXC bridge network
Proxmox LXC mount directory
Proxmox LXC resource limits
Proxmox LXC snapshot
Proxmox LXC migration
Proxmox LXC CLI commands
Proxmox LXC web interface
Proxmox LXC troubleshooting
Proxmox Networking
Proxmox bridge networking
Proxmox VLAN setup
Proxmox bond networking
Proxmox static IP setup
Proxmox DHCP server
Proxmox firewall configuration
Proxmox network troubleshooting
Proxmox multiple NICs
Proxmox virtual switch
Proxmox Open vSwitch
Proxmox network passthrough
Proxmox network performance
Proxmox network bonding modes
Proxmox network bridge vs NAT
Proxmox network configuration file
Proxmox network security
Proxmox network monitoring
Proxmox network backup
Proxmox network migration
Proxmox network best practices
Proxmox Storage
Proxmox ZFS setup
Proxmox ZFS performance
Proxmox ZFS RAID
Proxmox ZFS compression
Proxmox ZFS deduplication
Proxmox ZFS snapshot
Proxmox ZFS backup
Proxmox LVM setup
Proxmox LVM thin provisioning
Proxmox LVM snapshot
Proxmox LVM resize
Proxmox Ceph setup
Proxmox Ceph cluster
Proxmox Ceph performance
Proxmox Ceph troubleshooting
Proxmox NFS storage
Proxmox iSCSI storage
Proxmox SMB/CIFS storage
Proxmox external storage
Proxmox SSD caching
Proxmox storage migration
Proxmox storage backup
Proxmox storage best practices
Proxmox storage monitoring
Proxmox storage troubleshooting
Proxmox Backup and Restore
Proxmox backup server setup
Proxmox backup strategies
Proxmox incremental backup
Proxmox full backup
Proxmox VM backup
Proxmox LXC backup
Proxmox backup to NFS
Proxmox backup to SMB
Proxmox backup to external drive
Proxmox backup to cloud
Proxmox restore VM
Proxmox restore LXC
Proxmox backup scheduling
Proxmox backup retention\
Proxmox backup encryption
Proxmox backup verification
Proxmox backup troubleshooting
Proxmox backup best practices
Proxmox backup performance
Proxmox backup CLI commands
Proxmox Clustering and High Availability
Proxmox cluster setup
Proxmox cluster troubleshooting
Proxmox cluster networking
Proxmox cluster storage
Proxmox cluster migration
Proxmox high availability setup
Proxmox HA cluster
Proxmox HA VM
Proxmox HA LXC
Proxmox HA best practices
Proxmox HA troubleshooting
Proxmox quorum setup
Proxmox corosync setup
Proxmox cluster node removal
Proxmox cluster node addition
Proxmox cluster backup
Proxmox cluster monitoring
Proxmox cluster performance
Proxmox cluster security
Proxmox cluster migration
Proxmox Security
Proxmox firewall setup
Proxmox SSH security
Proxmox two-factor authentication
Proxmox SSL certificate
Proxmox HTTPS setup
Proxmox user permissions
Proxmox role-based access control
Proxmox security best practices
Proxmox VM security
Proxmox LXC security
Proxmox network security
Proxmox storage security
Proxmox backup security
Proxmox cluster security
Proxmox security updates
Proxmox vulnerability scanning
Proxmox intrusion detection
Proxmox log monitoring
Proxmox security auditing
Proxmox security troubleshooting
Proxmox Monitoring and Performance
Proxmox monitoring tools
Proxmox Grafana setup
Proxmox Prometheus setup
Proxmox Zabbix setup
Proxmox performance tuning
Proxmox VM performance
Proxmox LXC performance
Proxmox storage performance
Proxmox network performance
Proxmox CPU usage
Proxmox RAM usage
Proxmox disk I/O
Proxmox resource limits
Proxmox load balancing
Proxmox troubleshooting performance
Proxmox Advanced Topics
Proxmox API usage
Proxmox automation scripts
Proxmox Ansible integration
Proxmox Terraform integration
Proxmox Docker integration
Proxmox Kubernetes integration
Proxmox cloud integration
Proxmox hybrid cloud setup
Proxmox disaster recovery
Proxmox migration to cloud
Proxmox migration from VMware
Proxmox migration from Hyper-V
Proxmox migration from ESXi
Proxmox migration to Proxmox
Proxmox migration tools
Proxmox PCI passthrough
Proxmox GPU passthrough
Proxmox USB passthrough
Proxmox nested virtualization
Proxmox advanced networking
Proxmox Troubleshooting
Proxmox boot issues
Proxmox network issues
Proxmox storage issues
Proxmox VM not starting
Proxmox LXC not starting
Proxmox backup failures
Proxmox cluster issues
Proxmox high availability issues
Proxmox performance issues
Proxmox web interface issues
Proxmox SSH connection issues
Proxmox firewall issues
Proxmox ZFS issues
Proxmox LVM issues
Proxmox Ceph issues
Proxmox migration issues
Proxmox passthrough issues
Proxmox snapshot issues
Proxmox update issues
Proxmox security issues
Proxmox Community and Resources
Proxmox forums
Proxmox documentation
Proxmox tutorials
Proxmox YouTube channels
Proxmox blogs
Proxmox Reddit community
Proxmox Discord server
Proxmox GitHub repositories
Proxmox training courses
Proxmox certifications