[linux-lvm] mounting a filesystem on LVM2

Ray Morris support at bettercgi.com
Tue Oct 5 03:31:18 UTC 2010


> mkfs.ext3 and mkswapfs commands exist but how to I break the LVM in  
> to 2 parts.
> I am not asking to extend or move or resize or taking snapshot of the
> LVM which is given in your LVM Howto.
> If you used virt-manager it does that
> any user space program will show you one LVM but inside it will be
> having ext3 and swap partition within same LVM.

partitions, just like any other block device.
Preferably use parted as opposed to fdisk, as
fdisk can support only up to 2 TB.
--
Ray Morris
support at bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php


On 10/04/2010 09:40:57 PM, Tapas Mishra wrote:
> On Tue, Oct 5, 2010 at 1:27 AM, Alexander Skwar
> <alexanders.mailinglists+nospam at gmail.com> wrote:
> >
> > Yes. The question was, what filesystem you've put
> > on the lv. cfdisk is (basically) of no use for LVM. And
> > even in old style partitioning, cfdisk isn't used for
> > creating filesystems.
> Are you referring to ext3/ext4 type of file system.
> >>>
> >>>   Read the howto!
> >> Well what exactly ?
> >>
> >
> > The LVM howto.
> I have read it but what I am asking is not mentioned.
> I am breaking an LVM which is not having any filesystem on it into 2  
> parts.
> One will be used as root of type ext4 and another part will be used as
> swap filesystem.
> How can this be done.
> mkfs.ext3 and mkswapfs commands exist but how to I break the LVM in  
> to 2 parts.
> I am not asking to extend or move or resize or taking snapshot of the
> LVM which is given in your LVM Howto.
> If you used virt-manager it does that
> any user space program will show you one LVM but inside it will be
> having ext3 and swap partition within same LVM.
> I do not want to have different LVM for swap and ext3.
> I want both these filesystems to co exist.
> This thing is not mentioned in the LVM How to.
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> 





More information about the linux-lvm mailing list