Skip to contentSkip to conversation

file system type

linux-lvm Pierrick PONS 2 participants 3 messages Jan 21, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 2 lines · Pierrick PONS

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.

Quoted 1 line

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

:)

Signature · 2 lines
Randomly Generated Tagline:
Interstellar Matter is a Gas
#2 lore raw
Quoted 6 lines · Pierrick PONS
Quoted 2 lines

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 .

Quoted 10 lines
Quoted 1 line

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

Quoted 8 lines

The mount the filesystem:

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

:)

Thank you very much.