[Solved] Problem while working with LVM

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat [Solved] Problem while working with LVM
# 1  
Old 05-01-2013
[Solved] Problem while working with LVM

Hi

I am getting the following error while executing any command related to LVM -

Code:
[root `]# vgs
vgs: symbol lookup error: vgs: undefined symbol: pvcreate

Can any one please advise how to get rid of this problem?

Thanks

Last edited by Scrutinizer; 05-01-2013 at 03:42 PM.. Reason: code tags
# 2  
Old 05-02-2013
When does this error come up. Have you tried running vgscan
# 3  
Old 05-02-2013
Hi Maverick

Every time whenever I am executing any LVM related command, I am getting the error.

It is RHEL 5, 64 bit system.

Thank you very much for your response.

Atanu
# 4  
Old 05-02-2013
Seems your LVM command suite is broken.

Try reinstalling them or copy the binaries from another RHEL system (/usr/sbin/lv*, /usr/sbin/vg*, /usr/sbin/pv*).
# 5  
Old 05-02-2013
Copying binary did not work.
# 6  
Old 05-03-2013
Please try

Quote:
yum reinstall lvm2
This User Gave Thanks to maverick_here For This Post:
# 7  
Old 05-03-2013
It works !!!
Thank you very much.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SuSE

Problem migrating disk attached to the same vg (lvm)

Hi, I'm trying to migrate the content of disk 'A' to disk 'B', that they belong to the same vg 'data'_vg'. Whe using pvmove, I get the following error: 'device-mapper: suspend ioctl failed: Interrupted system call'. I put down the whole trace: pvmove -v "source_disk" "sink_disk" ... (0 Replies)
Discussion started by: Begnux
0 Replies

2. AIX

Script Checking LVM Mirror not Working

Hi, I need to know who can I create an script in order to check server mirror in AIX. I got this script !/usr/bin/ksh # # Check if a VG is mirrored. # # lsattr -El <lvname> -a strictness -a copies # If copies=2 and scrictness=y, then VG is mirrored # # LVs are retrieved via 'lsvg -l... (5 Replies)
Discussion started by: fede_mont
5 Replies

3. UNIX for Dummies Questions & Answers

[Solved] Help with LVM?

Hi How do you configure LVM to linux? How to create logic volume using LVM? On a new VM system, just install RHEL 5.8 gave 200 gig for / and 10 gig for swap. Now I want to configure LVM? is that too late, do I need to delete and start all over again ? (1 Reply)
Discussion started by: samnyc
1 Replies

4. Red Hat

LVM Partitioning Problem

Since I couldn't find a Fedora section, I post my thread here... Hi all, I installed Fedora 17 with Windows 7. For some reason I had to use LVM, since every time when I want to add more than one partition i.e. swap and /root it told me that the space was not sufficient, but still I had 300GB... (1 Reply)
Discussion started by: Learn4Life
1 Replies

5. UNIX for Advanced & Expert Users

LVM mirror creation problem

I apologize is this isn't an appropriate post for the 'advanced' UNIX, so please let me know if I should post this under UNIX for dummies, but here's my problem in a nutshell: I having problems creating a mirrored logical volume. I have created two new physical volumes ... (2 Replies)
Discussion started by: simonrodan
2 Replies

6. Emergency UNIX and Linux Support

[Solved] Need help with HP-UX 11.31 LVM!

Hi all, I've created some logical volumes on a non-production server. I was supposed to make the new LV's similar to another LV already on the server. Supposed to be the similar to lvol5 I did everything right except one thing as somebody mentioned. I would like to figure out what I did... (6 Replies)
Discussion started by: zixzix01
6 Replies

7. UNIX for Advanced & Expert Users

LVM problem

hi friends I have a problem .. actually I m working on LVM in linux through WinHex ..I have made one volume group and it has two logical volumes logvol00 and logvol01 and both are respectively mount on /rahul and /rock..I have found both folder(rahul & rock) in root directory which use ext file... (1 Reply)
Discussion started by: Rahul chauhan
1 Replies

8. UNIX and Linux Applications

Labrynthine problem of LVM

hi friends I have a problem .. actually I m working on LVM in linux through WinHex ..I have made one volume group and it has two logical volumes logvol00 and logvol01 and both are respectively mount on /rahul and /rock..I have found both folder(rahul & rock) in root directory which use ext file... (1 Reply)
Discussion started by: Rahul chauhan
1 Replies

9. Solaris

/etc/lvm/lock problem

Hi, I amnot able to execute any svm command. it gives the below message and hangs: # metadetach d50 d30 metadetach: waiting on /etc/lvm/lock ^Cmetadetach: Interrupt # metaclear d50 metaclear: waiting on /etc/lvm/lock ^Cmetaclear: Interrupt Please advice. Regards, Sagar. (4 Replies)
Discussion started by: sag71155
4 Replies

10. Linux

Problem for restoring lvm on different disks

Hi all, I have a server running in RH ES4, the SCSI HD are running in RAID 1. I backup the LVM config by using 'vgcfgbackup' and then remove all the HD. I insert another HD (same size & branch but different model) into the machine and run linux rescue to recreate the... (0 Replies)
Discussion started by: donaldfung
0 Replies
Login or Register to Ask a Question