[Linux] Combining partitions

David Williams linux@flux.org
Mon, 18 Aug 2008 16:07:47 -0400


Thanks.

I think what I am after is LVM, but now you've got me wondering.  So, with
this I can add other partitions to the logical partition to increase the
space on the logical partition ?

Do I then need to always access this via the logical partition name ?

Any good web reading about LVM ?

Regards,
____________________________________________
David Williams
 

-----Original Message-----
From: linux-admin@flux.org [mailto:linux-admin@flux.org] On Behalf Of NV
Sent: Monday, August 18, 2008 3:40 PM
To: linux@flux.org
Subject: Re: [Linux] Combining partitions


Hi,

I read your question in two separate ways depending on whether I focus 
on the first part or the later example.

If you are looking for the ability to dynamically reallocate space 
across "partitions", you can use Logical Volume Management (LVM2 to be 
precise). The disk(s) are partitioned using LVM tools to create logical 
volumes which can be dynamically resized at run time.

However, the example you gave suggests a different angle to the problem 
- how would you create a unified file system, so both /photos and /free 
look like one file system? If this is what you want, then unionfs is the 
way to go. Depending on how you configure unionfs, some files will end 
up in the partition belonging to /photos, others will end up in the 
partition belonging to /free. Each partition remains distinct and can be 
accessed independent of unionfs.

One solution works at the disk block level, another at the file system 
level.

Best,
NV
--


David Williams wrote:
>
> I know that I've heard about this in the past, but don't recall the 
> exact name. It is possible to combine two separate partitions into one 
> larger 'virtual' partition right ? So, if I had the following:
>
> /photos
>
> /free
>
> How could I get /free to be an extension of /photos so that the space 
> from /free becomes available under the /photos partition ?
>
> Any help/pointers much appreciated.
>
> Regards,
>
> ____________________________________________
>
> David Williams
>

_______________________________________________
Linux mailing list
Linux@flux.org
http://www.flux.org/mailman/listinfo/linux


No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.6.5/1618 - Release Date: 8/18/2008
6:51 AM