Adding Storage to Proxmox

Quick Blog to show you how to add storage

7/13/20251 min read

To List the disks

lsblk

Install Parted

apt-get update

apt install parted -y

Using Parted

Replacing <yourdrive> with the one you found from lsblk

parted /dev/<yourdrive> mklabel gpt

parted -a opt /dev/<yourdrive> mkpart primary ext4 0% 100%

Sorting the filesystem

mkfs.ext4-L <NAME> /dev/<yourdrive>

mkdir -p /mnt/<name>

Automount

nano /etc/fstab

LABEL=<NAME> /mnt/<name> ext4 defaults 0 2

Save and Exit

mount -a