Operating System - HP-UX
1836225 Members
2051 Online
110096 Solutions
New Discussion

Couldn't remove a pv from /etc/lvmtab.

 
Saneesh S
Advisor

Couldn't remove a pv from /etc/lvmtab.

Hi all,

I'm facing a proble here.in one of our rp7410 there were 2 cellboards.i removed 1 cell board.previously there were 4 internal disk and 2 vgs.the 2 disks were mirrored too another 2 disks.now thins is that i am not able to remove 2 pv from the /etc/lvmtab file.i tried vgscan -av as well as vgreduce.but it was not successfull.i'm attaching some logs for u'r reference.
pls help me.

Thnx in advance,
Saneesh s.
4 REPLIES 4
Devender Khatana
Honored Contributor

Re: Couldn't remove a pv from /etc/lvmtab.

Hi,

Try

#vgreduce -f /dev/vg00

HTH,
Devender
Impossible itself mentions "I m possible"
Sreejith Kaliyam
Regular Advisor

Re: Couldn't remove a pv from /etc/lvmtab.

Hi Saneesh,

Try vgreduce -f option (have look at man vgreduce -f option)

Anoop
Saneesh S
Advisor

Re: Couldn't remove a pv from /etc/lvmtab.

Hi All,

vgreduce -f /dev/vg00 option also didn't work; but vgreduce -l vg00 pvname was successfull.any tnx a lot 4 u'r response.

Regards,
Saneesh S.
Luk Vandenbussche
Honored Contributor

Re: Couldn't remove a pv from /etc/lvmtab.

Try the following

mv /etc/lvmtab /tmp
vgscan

strings /etc/lvmtab