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! 
Yorum yaz

0 Yorumlar.

Yorum Yap


Not - Bunları KullanabilirsinizHTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>