1847180 Members
3729 Online
110263 Solutions
New Discussion

lvmtab

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

lvmtab

I have a T600 with an Hp12H autoraid. I deleted the ARM configuration for the autoraid. Now I get an error message sying that those disk already have an entry in the lvmtab. How can I remove those disk entries from lvmtab? Vi does not look good. When I do a strings, I can see an old VG that used to reside on these disks.

TIA
UNIX IS GOOD
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: lvmtab

Robert

1) mv /etc/lvmtab /etc/lvmtab.old

2) vgscan -a

Pete

Pete
Ken Hubnik_2
Honored Contributor

Re: lvmtab

vgexport should remove the vg from lvmtab
A. Clay Stephenson
Acclaimed Contributor

Re: lvmtab

First note the paths associated with your 12H using the strings /etc/lvmtab then do a vgexport /dev/vgxx. That will remove your /dev/vgxx entries (if they exist) and remove the entries in /etc/lvmtab. The vgexport command will not destroy data on the LUN's themselves and you can use vgimport after creating a /dev/vgxx direotory and group file to re-import if needed.
If it ain't broke, I can fix that.