[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] file system type



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]