From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [linux-lvm] file system type In-Reply-To: Your message of "Mon, 21 Jan 2002 11:44:50 EST." <20020121114450.G30661@kluge.net> References: <20020121114450.G30661@kluge.net> MIME-Version: 1.0 From: Pierrick PONS Message-Id: Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Mon Jan 21 11:03:02 2002 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@sistina.com > 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.