Etiket arşivi: parted

Parted: mount a new disk

lsblk -> check which disk will you mount
sudo parted /dev/sdx
mklabel gpt
mkpart primary 0GB 5TB (5TB is size of my disk)
quit

sudo mkfs.ext4 /dev/sdx

sudo nano /etc/fstab (insert commands bottom)
/dev/sdx        /newdisk       ext4    defaults       0        0

mkdir newdisk
sudo mount /dev/sdx newdisk

df -h (check disk if mounted)
sudo reboot
done!