Page 1 of 1

Proxmox Helpful Commands

Posted: Sun Apr 05, 2026 1:10 pm
by zemerdon
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
quit

Code: Select all

mkfs.ext4 -L 'RAID1' /dev/sdx1 # create ext4 partition with a label

Code: Select all

UUID=your-uuid-here /mnt/storage1 ext4 defaults 0 2 #fstab