1

Topic: Unable to expand partition.

Server is a Dell PowerEdge 1900
OS is Windows SBS 2003
There are a total of 5 hard drives.  I recently added the last two.
Running RAID 5 and recently added the last two drives.
Added the drives to the array and spanned them.
Booted up into gparted and can see the unallocated space but when I click on the partition that I want to expand it doesn't give me the option as the "free space following" is showing as zero?

Any ideas?

2

Re: Unable to expand partition.

Are you using a GPT partition table?

If so, did you adjust the GPT partition table to recognize the increased space?
You can do this by going to the command prompt and running "parted /path-to-raid-device" and answering the prompt to use the additional space.

3

Re: Unable to expand partition.

No sorry, standard MBR.

4

Re: Unable to expand partition.

Is the total space available less than 2 TB?
MBR partition tables have a 2 TB limit when used with devices with 512 byte sectors.

What is the output from the following command?

fdisk -l -u

5

Re: Unable to expand partition.

gedakc wrote:

Is the total space available less than 2 TB?
MBR partition tables have a 2 TB limit when used with devices with 512 byte sectors.

What is the output from the following command?

fdisk -l -u

Yes it is under 2 TB.  This is a Windows server so I would have to take it down again to run that command via gpart.

6

Re: Unable to expand partition.

Is the free space inside or outside of an extended partition?

Space within an extended partition can only be added to logical partitions.

Space outside of an extended partition can only be added to primary partitions.

You can resize the extended partition if needed so that the space is either outside or inside the extended partition.

7

Re: Unable to expand partition.

If you are talking about within gpart it is outside of an extended partition.
How would I go about resizing the extended partition?

8

Re: Unable to expand partition.

I have pictures of the screen from this morning if that will help?

9

Re: Unable to expand partition.

Pictures can almost always help  :-)

To resize the extended partition, select the extended partition either in the graphical area, or from the list of partitions.  The extended partition is the one that is a container for /dev/sda5, /dev/sda6, etc.

Then choose "Partition --> Move/Resize" and then drag the right (or left hand edge) to either encompass the unallocated space, or not.

Then apply the operation.

10

Re: Unable to expand partition.

Ok, that is exactly what I cannot do!!
I will put up the pictures in a couple of minutes.

11

Re: Unable to expand partition.

http://img.photobucket.com/albums/v289/Voiddweller/gparted/Image015.jpg
http://img.photobucket.com/albums/v289/Voiddweller/gparted/Image014.jpg
http://img.photobucket.com/albums/v289/Voiddweller/gparted/Image013.jpg

12

Re: Unable to expand partition.

From the pictures it looks like your extended partition is /dev/sda3.  This is the one with the light blue outline in the graphical representation of the disk.

The partition in the pictures that you are trying to grow is logical partition /dev/sda5.

Before growing /dev/sda5, you first must grow the container extended partition /dev/sda3 to encompass all of the unallocated space.

The steps to do this are first select /dev/sda3, choose "Partition --> Move/Resize", grab the right hand side of the partition and drag it to cover all of the free space, then apply this operation.

After growing the extended partition /dev/sda3, then you should be able to grow the logical partition /dev/sda5.

Hope that helps.

13

Re: Unable to expand partition.

Thanks, I didn't catch that!!  I will try that and see what happens!!