[linux-lvm] file system type

Pierrick PONS ppons at cvf.fr
Mon Jan 21 11:03:02 UTC 2002


> On Mon, Jan 21, 2002 at 05:35:46PM +0100, Pierrick PONS wrote:
> > I don't really understand how we can have ext2 partition as we use linuxx-lvm 
> > type (8E) for logical volume.
> 
> ext2 is a filesystem, the partition type doesn't matter.
> 

That was my mistake .

> > I can't see how I can mount a ext2 file system from a logical volume.
> 
> First, create the LV:
> 
> lvcreate -n foo -L 1G volume_group
> 
> Then make the filesystem:
> 
> mke2fs /dev/volume_group/foo
> 

That was what I forget. 
I'm confused ... I'm a fool .... :-(

> The mount the filesystem:
> 
> mkdir /mnt/temp
> mount /dev/volume_group/foo /mnt/temp
> 
> 
> :)
> 


Thank you very much.





More information about the linux-lvm mailing list