Ding! Ding! Ding! Louis gets the prize.
I did:

[EMAIL PROTECTED]:~/nmapScans$ ls -l /sbin/lvscan
lrwxrwxrwx 1 root root 13 2007-01-17 13:05 /sbin/lvscan -> lvmiopversion

Then I reinstalled lvm-common.   Then I did:

[EMAIL PROTECTED]:~/nmapScans$ lvscan
 /etc/lvm/.cache: open failed: Permission denied
 No volume groups found
 /etc/lvm/.cache: fopen failed: Permission denied

Then I did:

[EMAIL PROTECTED]:~/nmapScans$ su -
Password:
[EMAIL PROTECTED]:~# lvscan
 ACTIVE            '/dev/VolGroup00/LogVol00' [33.06 GB] inherit
 ACTIVE            '/dev/VolGroup00/LogVol01' [1.94 GB] inherit

What had happened was when I couldn't connect to the us.archive site I
downloaded packages from other sites to see if it would work.  I must
have had an incompatible copy of lvm-common installed.

Now everything is ok.  I did:

[EMAIL PROTECTED]:~# vgscan
 Reading all physical volumes.  This may take a while...
 Found volume group "VolGroup00" using metadata type lvm2
[EMAIL PROTECTED]:~# vgchange -a y VolGroup00
 2 logical volume(s) in volume group "VolGroup00" now active
[EMAIL PROTECTED]:~# lvdisplay VolGroup00
 --- Logical volume ---
 LV Name                /dev/VolGroup00/LogVol00
 VG Name                VolGroup00
 LV UUID                vCQGay-UEXC-Di8L-N5H1-Zylh-L5P2-YpXTul
 LV Write Access        read/write
 LV Status              available
--snip--

[EMAIL PROTECTED]:~# mount /dev/VolGroup00/LogVol00 /mnt/fedora/
[EMAIL PROTECTED]:~# cd /mnt/fedora/
.bash_history  dev/           jawt.h         jni_md.h
lost+found/    mnt/           proc/          selinux/       tmp/
bin/           etc/           jawt_md.h      .lesshst       media/
   opt/           root/          srv/           usr/
boot/          home/          jni.h          lib/           misc/
   poweroff       sbin/          sys/           var/

Thank you everyone for your help.

-Daniel

On 1/18/07, Louis Zirkel <[EMAIL PROTECTED]> wrote:
Daniel wrote:

> I tried a variety of commands all with the same result.
>
> [EMAIL PROTECTED]:~$ vgscan
> No program "vgscan" found for your current version of LVM
> [EMAIL PROTECTED]:~$ lvdisplay
> No program "lvdisplay" found for your current version of LVM
> [EMAIL PROTECTED]:~$ lvscan
> No program "lvscan" found for your current version of LVM
> [EMAIL PROTECTED]:~$ lvm
> No program "lvm" found for your current version of LVM
> [EMAIL PROTECTED]:~$ lvm --version
> No program "lvm" found for your current version of LVM
>
> What is going on here?

Try doing an 'ls -l /sbin/lvscan' and see if that command is actually a
symlink.  My guess is that you may have the incorrect lvm-common package
installed.  I did this recently on Debian and discovered that much the
same thing happened.  Getting all the packages in sync with each other
resolved the issue in the end.

--
Louis Zirkel / [EMAIL PROTECTED]
Systems Engineer




/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/




/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to