How to install LVM partition?

Paul Smith phhs80 at gmail.com
Sat Apr 1 17:31:19 UTC 2006


On 4/1/06, Matthew Saltzman <mjs at ces.clemson.edu> wrote:
> >> Run these commands as root.
> >>
> >> vgdisplay -v
> >>
> >>> From that, determine the correct name for your LV/VG.
> >>
> >> Then run
> >>
> >> vgchange -a y
> >> mount -t ext3 /dev/mapper/VolGroupXX-LogVolYY /mnt
> >>
> >> Where XX and YY were discovered from the vgdisplay command.
> >
> > On FC4,
> >
> > # vgdisplay -v
> > bash: vgdisplay: command not found
> > #
>
> Did you become root using "su" or "su -"?   If the former, the problem
> may be that /usr/sbin is not in your path.  Is the lvm2 RPM installed?

Thanks! Some progress:

# lvscan
  inactive          '/dev/VolGroup00/LogVol00' [86.22 GB] inherit
  inactive          '/dev/VolGroup00/LogVol01' [1.00 GB] inherit
# pvscan
  PV /dev/hda3   VG VolGroup00   lvm2 [87.25 GB / 32.00 MB free]
  PV /dev/hdc2                   lvm2 [72.44 GB]
  Total: 2 [159.69 GB] / in use: 1 [87.25 GB] / in no VG: 1 [72.44 GB]
# mount -t ext3 /dev/VolGroup00/LogVol00 /mnt/fc5
mount: special device /dev/VolGroup00/LogVol00 does not exist
#

Paul




More information about the fedora-list mailing list