1834014 Members
2347 Online
110063 Solutions
New Discussion

the problem of lvm

 
王曦_1
Occasional Advisor

the problem of lvm

hi expert,
when i use the command " vgcfgbackup ", the reply was:vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c1t2d3, what maybe cause this problem, and what can i do for correct

thanks
9 REPLIES 9
Ravi_8
Honored Contributor

Re: the problem of lvm

Hi,

looks like problem with /etc/lvmtab file

#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -a -v
#vgcfgbackup

let's know the result
never give up
Michael Tully
Honored Contributor

Re: the problem of lvm


Does the disk show up in your ioscan as 'CLAIMED' ?

What does 'vgdisplay -v /dev/myvg' report?
(change this to your volume group name)

I would not run a 'vgscan' until this is resolved.
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: the problem of lvm


Does the disk show up in your ioscan as 'CLAIMED' ?

What does 'vgdisplay -v /dev/myvg' report?
(change this to your volume group name)

I would not run a 'vgscan' until this is resolved.
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: the problem of lvm

Does the disk show up in your ioscan as 'CLAIMED' ?

What does 'vgdisplay -v /dev/myvg' report?
(change this to your volume group name)

I would not run a 'vgscan' until this is resolved.
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: the problem of lvm

Does the disk show up in your ioscan as 'CLAIMED' ?

What does 'vgdisplay -v /dev/myvg' report?
(change this to your volume group name)

I would not run a 'vgscan' until this is resolved.
Anyone for a Mutiny ?
Balaji N
Honored Contributor

Re: the problem of lvm

chances are that your lvmtab is corrupt.

try regenerating the lvmtab wioth vgscan after taking a backup of the lvmtab.

hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
王曦_1
Occasional Advisor

Re: the problem of lvm

the disk still "CLAIMED" in my system ,and i already do a vgscan , after do that, the reply of vgcfgbackup still as before
Michael Tully
Honored Contributor

Re: the problem of lvm

Please post these results:

# diskinfo /dev/rdsk/c1t2d3

and if it is part of a volume group already (I am assuming it is)

# pvdisplay /dev/dsk/c1t2d0
Anyone for a Mutiny ?
Ravi_8
Honored Contributor

Re: the problem of lvm

Hi,
apart from Michael suggestion also post the o/p

#dd if=/dev/dsk/c1t2d3 of=/dev/null bs=1024k

check for any I/O errors
never give up