beautypg.com

Avago Technologies MegaRAID SATA 150-4 (523) User Manual

Page 132

background image

6-2

Virtual Sizing and Online Capacity Expansion

Version 2.0

Copyright © 2003–2006 by LSI Logic Corporation. All rights reserved.

6.2

Capacity Expansion under the Linux Operating System

Follow these steps after performing a reconstruction to a different RAID
level or drive capacity expansion.

Step 1.

Reboot so the Linux operating system reads the new drive size.

Step 2.

Type

fdisk –l

at a command prompt to verify that the new

drive size is seen.

Take note of the device name assigned to the hard drive
(such as

/dev/sda

,

/dev/sdb

, and

/dev/sdc

).

Step 3.

Run

fdisk /dev/sd*

.

Note:

Do not add the numerical value at the end of the device
name. This designates existing partition numbers

The command prompt displays.

Step 4.

Type

n

for new partition.

Step 5.

When prompted to choose primary partition or extended
partition, enter

p

for primary partition.

Note:

The Linux operating system allows only four primary
partitions per drive. If you need more than four partitions,
select

e

for extended partition.

Step 6.

Fdisk prompts you for a partition number, 1–4.

Step 7.

Fdisk prompts you to input the cylinder to begin the partition.

Note:

The Linux operating system defaults to the next available
cylinder.

Step 8.

Press ENTER to continue or type in the starting cylinder
number for the partition.

Step 9.

Fdisk then prompts you to input the cylinder number to end the
partition.

Note:

The Linux operating system defaults to the last
available cylinder.

Step 10. Press ENTER to continue or type in the ending cylinder number

for the partition.

Fdisk returns you to the command prompt