Professional Documents
Culture Documents
Increasing The Size of The Root Partition
Increasing The Size of The Root Partition
Increasing The Size of The Root Partition
Partition
This section describes how to increase the size of the default logical volume VolGroup00-
LogVol00 mounted at the root "/" directory of a guest vServer.
Note:
The procedure described here is relevant to vServers created by using the EECS 2.0.6.x.x Guest Base
Template. Do not use this procedure to modify the disks of vServers creating using a Guest Base Template that
is earlier than EECS version 2.0.6.0.0.
2. Attach the volume to the vServer, for which you want to modify the size of the root partition, as
described in Attaching Volumes to a vServer.
5. # df -h
6. Examine the available physical volumes on the vServer by running the following command:
7. # cat /proc/partitions
9.
Note:
The user input required at various stages while running the fdisk command is indicated
by bold text.
# fdisk /dev/xvdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
until you decide to write them. After that, of course, the previous
There is nothing wrong with that, but this is larger than 1024,
Command action
e extended
Selected partition 1
Syncing disks.
21.
22.
23. Extend the volume group VolGroup00 with the physical volume /dev/xvdb1:
26.
37. Check whether the root partition of the guest vServer has the updated size, by running the df -
h command as shown in the following example:
38. # df -h
40. /dev/mapper/VolGroup00-LogVol00