Size of Extended partition changed

Merv Curley mervc-MwcKTmeKVNQ at public.gmane.org
Fri Jul 21 16:38:04 UTC 2006


On Friday 21 July 2006 10:02, Lennart Sorensen wrote:
> On Thu, Jul 20, 2006 at 10:07:12PM -0400, Merv Curley wrote:
> > This is the second time this has happened to me.  My 80 Gig drive had the
> > usual 3 Primary part's and the extended to the end of the disk.  I have
> > several logicals with about 30 gigs free.
> >
> > Yesterday I tried to create a new partition and found there was no space.
> >  The extended has changed its end point to the last created and formatted
> > partition.  The rest is now hidden.
> >
> > QTparted can't change the end point, is there any other way of recovering
> > all that free space other than deleting all the logicals and changing the
> > extended end point?
> >
> >  If I can recreate the logicals with the same start and end cylinders, is
> > there any chance they will still be ok?
>
> What is the output of 'fdisk -l /dev/xxx' for that drive?
>
> After all if you somehow ended up with this you would have a problem:
>
> hda1 primary  cylinder 1 - 100
> hda2 extended cylinder 101 - 1000
> hda3 primary  cylinder 1001 - 2000
> hda4 primary  cylinder 2001 - 3000
> free space    cylinder 3001 - 4000
> hda5 logical  cylinder 101 - 500
> hda6 logical  cylinder 501 - 1000
>
> I have managed to do that before, and having free space that is not
> right after the extended partition means I can't add it to the extended
> partition.  This is part of the reason I always use LVM now.
>
> --
> Len Sorensen
> --

The computer in question is another one, but here is your list  modified

Total cylinders 10000

 hda1   primary  cylinder 1 - 100
 hda2   primary cylinder 101 - 1000
 hda3   primary  cylinder 1001 - 2000
 hda4   extended  cylinder 2001 - 5000   [was  10000]

 hda5   logical  cylinder 2001 - 2500
 hda6   logical  cylinder 2501 - 5000

 free space    cylinder 5001 - 10000

Can you visualize it now? 

I have scanned the some LVM doc's and it mostly went right over my head, maybe 
I should spend a bit more time on it.  Too late now I guess.




-- 
Merv Curley
Toronto, Ont. Can

Kanotix Linux  Ver 2005-4   
Desktop  KDE 3.5.1    KMail 1.2



--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list