1836644 Members
1787 Online
110102 Solutions
New Discussion

Re: lvmtab

 
Steve_3
Frequent Advisor

lvmtab

Trying to remove devices that don't exist from lvmtab.

/dev/vg23_BCV_0
/dev/dsk/c19t4d2
/dev/dsk/c19t4d3

The devices do not exist.
The vg do not exist.
It doesn't show up in ioscan.
Reran vgscan but it still shows up.

How do I get rid of it.

Thanks
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: lvmtab

# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -a
Steve_3
Frequent Advisor

Re: lvmtab

Still shows up.
Chris Wilshaw
Honored Contributor

Re: lvmtab

That suggests that there are still active references in the kernel somewhere.

It may be that the only way to resolve this is to reboot the server, then try the vgscan again.
Dietmar Konermann
Honored Contributor

Re: lvmtab

Try vgexport /dev/vg23_BCV_0
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Steve_3
Frequent Advisor

Re: lvmtab

problem fixed..had to recreate the group device
Bharat Katkar
Honored Contributor

Re: lvmtab

Yes,
# vgexport vg23_BCV_0
removes the entry of vg23_BCV_0 from lvmtab.

That should help.
Regards,

You need to know a lot to actually know how little you know