SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Microsoft Windows Server 2003 for Itanium-based Systems

parted
Synopsis
parted [-v | -i | -s | -h]...
[DEVICE [COMMAND [PARAMETER]...] ...]
Description
The parted utility manages disk partitions. It allows you to make a GPT partition table and to
create all the partitions needed. It is also able to create hidden partitions and change the partition
GUID to HPSP, MSRES, MSDATA, and ESP.
Options
Table 5-21 parted Options
DescriptionOption
Displays the version.
-v
Prompts for user intervention, when necessary.
-i
Never prompts for user intervention.
-s
Displays this help message.
-h
Examples
The following examples illustrate the use of parted:
To check the file system:
check MINOR
To copy a file system to another partition:
cp [FROM-DEVICE] FROM-MINOR TO-MINOR
To print general help, or help on COMMAND:
help [COMMAND]
To create a new disk label (partition table):
mklabel PARTITION_TYPE
The supported values for PARTITION_TYPE are: gpt, bsd, mac, dvh, msdos, pc98, sun,
amiga, and loop.
To make a file system FTYPE on partition MINOR:
mkfs MINOR FTYPE
FTYPE is file system type: fat16, fat32, ext2, and linux-swap.
To create a partition:
mkpart PTYPE START END
PTYPE is partition type: primary, logical, or extended. For GPT partition table only
primary is used.
To create a partition with a file system:
mkpartfs PTYPE FTYPE START END
PTYPE is partition type: primary, logical, or extended. For GPT partition table only
primary is used.
FTYPE is file system type: fat16, fat32, ext2, and linux-swap.
parted 99