Proxmox Helpful Commands
Posted: Sun Apr 05, 2026 1:10 pm
create partition and format ext4
Code: Select all
blkid # find UUID
parted /dev/sdx # start parted on device
mklabel gpt # create gpt partition table
mkpart primary ext4 0% 100% # use 100% of space
quitCode: Select all
mkfs.ext4 -L 'RAID1' /dev/sdx1 # create ext4 partition with a labelCode: Select all
UUID=your-uuid-here /mnt/storage1 ext4 defaults 0 2 #fstab