parted
This commit is contained in:
parent
0558f2f53f
commit
0f77725af3
2 changed files with 40 additions and 1 deletions
|
@ -4,4 +4,5 @@ Storage
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
mdadm/index
|
mdadm/index
|
||||||
|
parted/index
|
||||||
|
|
38
in/public/storage/parted/index.rst
Normal file
38
in/public/storage/parted/index.rst
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
Parted
|
||||||
|
======
|
||||||
|
|
||||||
|
Examples with 2 × 2 TB hard disk drives as MBR,
|
||||||
|
for a virtual 4 TB with data and 32 GB of swap as GPT.
|
||||||
|
|
||||||
|
MBR
|
||||||
|
---
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
parted /dev/sda
|
||||||
|
mktable msdos
|
||||||
|
mkpart primary 1 2000399
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
parted /dev/sdb
|
||||||
|
mktable msdos
|
||||||
|
mkpart primary 1 2000399
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
The first megabyte makes room for an embedded bootloader.
|
||||||
|
|
||||||
|
GPT
|
||||||
|
---
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
parted /dev/md0
|
||||||
|
mktable gpt
|
||||||
|
mkpart data 1 3966128
|
||||||
|
mkpart swap 2 4000527
|
||||||
|
|
||||||
|
.. info::
|
||||||
|
|
||||||
|
Start offset of a partition can be inferior than actual free space beginning.
|
Loading…
Reference in a new issue