Add a storage drive to Proxmox 7
Open the web GUI shell
Log in to the Proxmox web interface, select your node, and open the Shell tab as root.

List available drives
Run lsblk to list all block devices attached to the host. In this example, sda is the extra SATA drive we want to add.
lsblkdisplays details about block devices connected to the system (excluding RAM disks).
lsblk

Partition and format the drive
Double-check the device path (for example /dev/sda) before running parted or mkfs.ext4. Selecting the wrong disk will wipe existing data.
Install parted if it is not already present, then create a GPT partition table on the new drive:
apt-get update
apt policy parted
apt install parted
parted /dev/sda mklabel gpt
Create a single primary partition using the full disk and format it as ext4. Replace YOURLABELGOESHERE with the label you want for the drive:
parted -a opt /dev/sda mkpart primary ext4 0% 100%
mkfs.ext4 -L YOURLABELGOESHERE /dev/sda1
Run lsblk again to confirm the new partition (sda1) appears:

Create a mount point
Create a directory under /mnt where the drive will be mounted. Replace YOURDIRECTORY with a descriptive name such as externaldrive or backups:
mkdir -p /mnt/YOURDIRECTORY
Configure automatic mounting in fstab
Open /etc/fstab so the drive mounts automatically after every reboot:
nano /etc/fstab
Add the following line at the bottom, replacing YOURLABELGOESHERE and YOURDIRECTORY with the values you chose earlier:
LABEL=YOURLABELGOESHERE /mnt/YOURDIRECTORY ext4 defaults 0 2
Mount the drive and verify
Apply the /etc/fstab changes immediately without rebooting:
mount -a
Check with lsblk that the partition is mounted and visible. In this example, sda1 is labelled backups and mounted at /mnt/backups:
lsblk

Add the directory storage in Proxmox 7
Go back to the Proxmox web interface and navigate to Datacenter > Storage.

- Click Add and choose Directory.
- Set ID to a name of your choice (replacing
YOURID) and Directory to/mnt/YOURDIRECTORY. - Under Content, select VZDump backup file if you plan to use this drive for VM and container backups.
- Click Add to save.

Summary
The new drive will now mount automatically on boot and show up as usable storage inside Proxmox. You can pick it directly as the target storage whenever you run backups for your containers and virtual machines.
