> On Tue, 31 May 2005, Stephen Horgan wrote:
>>> I have a 250GB disk with two partitions: hdc1 (/backup - ext3 - RAID1)
>> is
>> 12GB and hdc2 (/data - ext3) is 210GB.
>>> The problem is there's a gap of ~25GB between the two partitions. I'd
>> like
>> to expand /data into this extra space. Parted will not resize hdc2
>> because
>> it's ext3; anyone know how I could increase hdc2 to use the free space
>> without loosing any data?
>> If the 25GB is in between 1 and 2 and you want to /extend/ 2, how do
> you propose to achieve that? (you can only extend filesystems, least
> extX).
>
OK rephrased: I want to grow the partition _down_ into the free 25GB, then
resize the filesystem.
>> Disk geometry for /dev/hdc: 0.000-239372.437 megabytes
>> Disk label type: msdos
>> Minor Start End Type Filesystem Flags
>> 1 0.031 12997.902 primary ext3 raid
>> 2 38154.375 239366.931 primary ext3
>> output of:
>> fdisk -l /dev/hdc
>
Disk /dev/hdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 1657 13309821 fd Linux raid autodetect
/dev/hdc2 4865 30515 206041657+ 83 Linux
> Another possibility is to just create a 3rd partition with that 25GB.
That's the easy way out ;-)
>> regards,
> --
> Paul Jakma paul at clubi.iepaul at jakma.org Key ID: 64A2FF6A
> Fortune:
> Some scholars are like donkeys, they merely carry a lot of books.
> -- Folk saying
>>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!