Peter Rothman writes:
>I am testing/playing with cloning SCSI linux systems on SLES9 SP2.
>
>I was successful cloning a 1 LUN system that had ext3. I am now trying to
>clone a 2 LUN system where I have ext3 (/boot) on 1 lun and LVM (/) on the
>other .
>The mount command (as shown in the Redbook) for the LVM LUN fails saying I
>need to specify a filesystem type.
>
>The Man pages for mount does not show LVM as a recognized type.
>
>Is this not possible?

The manpages don't list LVM as a filesystem type because its really a kind
of device type, not a filesystem type.  You group a number of physical
devices (or DASD extents, in this case) together into one logical device
(or "volume") using LVM.  You then create a filesystem of whatever type you
want within that logical device.

When you go to mount that filesystem, the pathname you give as the last
argument to the mount command is that of the logical device.  Linux should
be able to read that device and determine what kind of filesystem is on it
by itself.  The error message you are getting indicates that mount was
unable to find a filesystem at the pathname you gave it.

Make sure that you have built a filesystem (using mkfs or similar command)
within your LVM device, and that you are giving the mount command the
pathname of that LVM device.  That would usually be /dev/<vgname>/<lvname>,
where <vgname> is the volume group name and <lvname> is the logical volume
name.
        - MacK.
-----
Edmund R. MacKenty
Software Architect
Rocket Software, Inc.
Newton, MA USA

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to