Parted: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
* [[Linux#Commands|Linux]] | * [[Linux#Commands|Linux]] | ||
* [[Linux 7 Storage Concepts#Commands|Storage - Commands]] | |||
* [[fdisk]] | * [[fdisk]] | ||
* [[sfdisk]] | * [[sfdisk]] | ||
Line 8: | Line 9: | ||
=Creating a Partition Larger than 2 TB= | =Creating a Partition Larger than 2 TB= | ||
parted /dev/sdb | |||
(parted) mklabel gpt | |||
(parted) unit GB | |||
(parted) print | |||
This displays the total disk size in GB. If you want to create a partition that spans the entire drive, use the same value when creating the partition. | |||
(parted) mkpart rackstationb 0GB 4001GB | |||
(parted) quit | |||
=Commands= | |||
==rm== | |||
Removes a partition. |
Latest revision as of 05:38, 15 December 2018
Internal
Overview
Creating a Partition Larger than 2 TB
parted /dev/sdb
(parted) mklabel gpt
(parted) unit GB
(parted) print
This displays the total disk size in GB. If you want to create a partition that spans the entire drive, use the same value when creating the partition.
(parted) mkpart rackstationb 0GB 4001GB
(parted) quit
Commands
rm
Removes a partition.