All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] file system type
@ 2002-01-21 10:36 Pierrick PONS
  2002-01-21 10:45 ` Theo Van Dinter
  0 siblings, 1 reply; 3+ messages in thread
From: Pierrick PONS @ 2002-01-21 10:36 UTC (permalink / raw)
  To: linux-lvm

I'm sorry I'm lvm newbie ....

I don't really understand how we can have ext2 partition as we use linuxx-lvm 
type (8E) for logical volume.
I can't see how I can mount a ext2 file system from a logical volume.

Of course, I'v read first the lvm-documentation.

Thank you all.



Pierrick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] file system type
  2002-01-21 10:36 [linux-lvm] file system type Pierrick PONS
@ 2002-01-21 10:45 ` Theo Van Dinter
  2002-01-21 11:03   ` Pierrick PONS
  0 siblings, 1 reply; 3+ messages in thread
From: Theo Van Dinter @ 2002-01-21 10:45 UTC (permalink / raw)
  To: linux-lvm

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.

> 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

The mount the filesystem:

mkdir /mnt/temp
mount /dev/volume_group/foo /mnt/temp


:)

-- 
Randomly Generated Tagline:
Interstellar Matter is a Gas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] file system type
  2002-01-21 10:45 ` Theo Van Dinter
@ 2002-01-21 11:03   ` Pierrick PONS
  0 siblings, 0 replies; 3+ messages in thread
From: Pierrick PONS @ 2002-01-21 11:03 UTC (permalink / raw)
  To: linux-lvm

> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-21 11:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-21 10:36 [linux-lvm] file system type Pierrick PONS
2002-01-21 10:45 ` Theo Van Dinter
2002-01-21 11:03   ` Pierrick PONS

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.