[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unusable free space?



Stephen Powell put forth on 3/17/2010 8:20 AM:
> On Tue, 16 Mar 2010 17:12:49 -0400 (EDT), Aioanei Rares wrote:
>>
>> Hi all, I have a HDD (the only one, in fact) with the following layout , 
>> as reported by df :
>>
>> /dev/sda2              99G  886M   93G   1% /
>> /dev/sda1             2.0G  170M  1.8G   9% /boot
>> /dev/sda5             345G  232G   96G  71% /home
>> /dev/sda8              29G  172M   27G   1% /tmp
>> /dev/sda6              59G  5.2G   54G   9% /usr
>> /dev/sda7              20G  3.1G   17G  16% /var
>>
>> Now, at the end, I have some 137 GB unpartitioned/unformatted. How can I 
>> use this free space, since gparted ran from a LiveCD tells me that I 
>> need to make a logical partition (which is /dev/sda4) in order to create 
>> partitions anew in that free space. It's probably lack of sleep, but 
>> please help me out here. :)

> You can still create up to two more primary partitions, providing

Not necessarily.  He's not showing swap (assuming he's using a partition not
a file).  If partition, swap is at /dev/sda3, 4, or 9.

> the space is available outside the extended partition, and these
> would have names /dev/sda3 and /dev/sda4, respectively.  But there's
> no way you can create a new logical partition called /dev/sda4.

Agreed, there's not.  He'd have to make a primary partition to get a device
name of /dev/sda4.  I'm not sure what you mean by "space is available
outside the extended partition".  TTBOMK, extended partitions are place
holders.  They don't own or contain any blocks unless or until you create
logical partitions after having created an extended partition.  If there is
still unallocated space anywhere on the block device, and there are both
unassigned primary and logical partitions available, he can freely use
either.  For instance, on my vanity server I have a similar situation:
http://www.hardwarefreak.com/cfdisk.jpg

I have about 250GB of unallocated space within which I can create two
additional primary partitions, or unlimited? logical partitions.

-- 
Stan


Reply to: