[linux-lvm] file system type
Theo Van Dinter
felicity at kluge.net
Mon Jan 21 10:45: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.
> 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
More information about the linux-lvm
mailing list