Parted: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * fdiks =Overview=") |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[ | * [[Linux#Commands|Linux]] | ||
* [[Linux 7 Storage Concepts#Commands|Storage - Commands]] | |||
* [[fdisk]] | |||
* [[sfdisk]] | |||
=Overview= | =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. |
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.