Parted: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:


=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.

Revision as of 01:04, 10 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.