[mythtv-users] OT: mounting LVM

jack snodgrass mrlinuxgroups at gmail.com
Tue Nov 28 20:51:54 UTC 2006

On 11/28/06, Brad Fuller <bradallenfuller at yahoo.com> wrote:
> I installed Linux (gentoo) on another hd and would like to mount another
> drive (FC5) to copy files. The FC5 is LVM. I've searched on how to mount
> the disk, but all I can find is specifics on how to use LVM, how to
> shrink/grow, nothing about mounting it. Anyone know?
> thanks!
> brad

I don't know... ( I think that LVM is evil )... if I had to guess... (
and from what I do know )
FC5 detects LVM drives in the init scripts at boot time. It runs some
lvm program that will
make a /dev/XXX device that corresponds to a LVM drive. Once the boot
up is done, you ( or linux ) is free to mount /dev/XXX and proceded as
normal. I did a grep lvm on some
of the init scripts and found:
            if [ -x /sbin/lvm.static ]; then
                if /sbin/lvm.static vgscan > /dev/null 1>&1 ; then
                       action $"Setting up Logical Volume Management:"
/sbin/lvm.static vgchange -a y

so... I think that
/sbin/lvm.static vgscan
and looks for LVM drives.. I don't have any and I get:
  Reading all physical volumes.  This may take a while...
  No volume groups found

I assume that if I had found some, it would have run
/sbin/lvm.static vgchange -a y
which would create the /dev/XXX stuff that points to the LVM
do you have the needed, lvm stuff that corresponds to your
lvm drives... not sure how compatible the different lvm versions


More information about the mythtv-users mailing list