Linux create 3TB partition size (Linux 3TB Partition Oluşturmak)
Linux create 3TB partition size (Linux 3TB Partition Oluşturmak)
# parted /dev/sde
Output:
GNU Parted 1.8.1
Using /dev/sde
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)
Creates a new GPT disklabel i.e. partition table:
(parted) mklabel gpt
Create 3TB partition size:
# more /proc/partitions
Output:
major minor #blocks name
8 64 2292251099 sde
Açıkalama: burada 2292251099 değerini 1024 e bölerek aşağıya yaz (2292251099 Write down here by dividing the value to 1024)
(parted) mkpart primary 0 2238526G
Quit and save the changes:
(parted) quit
Use mkfs to format file system:
# mkfs.ext3 /dev/sde1
# more /etc/fstab
/dev/sde1 /newdisk ext3 _netdev 0 0
# mkdir /newdisk
# mount /newdisk
# df -h
/dev/sde1 2.2T 128M 2.2T 1% /newdisk
|