I'm trying to expand a RAID5 array that on an Adaptec 2410SA RAID card. It's currently a 3 drive array, and I've just added a fourth.
The expansion went ok, but now when i try to take advantage of extra space by expanding the partition using gparted I get the following error:
"A partition cannot have a length of -1 sectors"
and it won't complete.
The size of the partition if it completed would be approx 1.5tb.
I can however create a partition for the unallocated space, but I would like to avoid this if possible.
Attached is a copy of the output from fdisk -l
Code:
Disk /dev/sda: 1500.2 GB, 1500216557568 bytes
255 heads, 63 sectors/track, 182390 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00058d95
Device Boot Start End Blocks Id System
/dev/sda1 * 1 121593 976695741 83 Linux
/dev/sda2 121594 182390 488351902+ 83 Linux
Disk /dev/sdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1549f232
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9640 77433268+ 83 Linux
/dev/sdb2 9641 9733 747022+ 5 Extended
/dev/sdb5 9641 9733 746991 82 Linux swap / Solaris
The output of df -H
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 79G 7.7G 68G 11% /
varrun 131M 246k 131M 1% /var/run
varlock 131M 0 131M 0% /var/lock
udev 131M 74k 131M 1% /dev
devshm 131M 13k 131M 1% /dev/shm
lrm 131M 41M 91M 32% /lib/modules/2.6.24-19-generic/volatile
/dev/sda2 497G 208M 471G 1% /media/disk
/dev/sda1 985G 742G 193G 80% /media/Media
So I currently have the RAID array separated into two partitions /media/Media and /media/disk. /media/disk is empty, so I can delete the partition without loss.
Ideally I would like to expand the partition to encompass the whole drive. Any ideas?