Red Hat CLUSTER SUITE - CONFIGURING AND MANAGING A CLUSTER 2006 Manual page 49

Table of Contents

Advertisement

Chapter 2. Hardware Installation and Operating System Configuration
beginning of the given range. The following example shows how to create two partitions
of 20 MB each on an empty disk.
(parted) mkpart primary ext3 0 20
(parted) mkpart primary ext3 20 40
(parted) p
Disk geometry for /dev/sda: 0.000-4340.294 megabytes
Disk label type: msdos
Minor
Start
1
0.030
2
21.343
When more than four partitions are required on a single disk, it is necessary to create an
extended partition. If an extended partition is required, the
task. In this case, it is not necessary to specify a file system type.
Note
Only one extended partition may be created, and the extended partition must be one
of the four primary partitions.
(parted) mkpart extended 40 2000
(parted) p
Disk geometry for /dev/sda: 0.000-4340.294 megabytes
Disk label type: msdos
Minor
Start
1
0.030
2
21.343
3
38.417
An extended partition allows the creation of logical partitionsinside of it. The following
example shows the division of the extended partition into two logical partitions.
(parted) mkpart logical ext3 40 1000
(parted) p
Disk geometry for /dev/sda: 0.000-4340.294 megabytes
Disk label type: msdos
Minor
Start
1
0.030
2
21.343
3
38.417
5
38.447
(parted) mkpart logical ext3 1000 2000
(parted) p
Disk geometry for /dev/sda: 0.000-4340.294 megabytes
Disk label type: msdos
Minor
Start
1
0.030
2
21.343
3
38.417
5
38.447
End
Type
21.342
primary
38.417
primary
End
Type
21.342
primary
38.417
primary
2001.952
extended
End
Type
21.342
primary
38.417
primary
2001.952
extended
998.841
logical
End
Type
21.342
primary
38.417
primary
2001.952
extended
998.841
logical
Filesystem
Flags
mkpart
Filesystem
Flags
Filesystem
Flags
Filesystem
Flags
33
also performs this

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cluster suite

Table of Contents