LVM and VxVM

Re: lvmtab & lvmtab_p - cannot remove VG's as I get 'not a character device' message

 
EU-Admins-UNIX
Regular Advisor

lvmtab & lvmtab_p - cannot remove VG's as I get 'not a character device' message

Hi

 

I have some VG definitions in lvmtab_p but not in lvmtab.  I am trying to get rid of them, but they don't exist in /dev.  Ans when I do attempt to vgremove, I get:

 

vgremove: "/dev/vgX02/group": not a character device.
vgremove: Couldn't remove volume group "/dev/vgX02".

 

Any idea what might be causing this, as we need to completely remove any suggestion of vgX01 - vgx13 from the server.

 

Regards

 

Tariq

3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: lvmtab & lvmtab_p - cannot remove VG's as I get 'not a character device' message

>> I have some VG definitions in lvmtab_p but not in lvmtab

 

These are LVM 2.x VGs.

 

Consider to use vgexport.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
EU-Admins-UNIX
Regular Advisor

Re: lvmtab & lvmtab_p - cannot remove VG's as I get 'not a character device' message

Hi Torsten

 

No vg*** commands are working.

 

Regards

 

Tariq

Torsten.
Acclaimed Contributor

Re: lvmtab & lvmtab_p - cannot remove VG's as I get 'not a character device' message

Did you delete the group file before?
Is it still there?
What is the error message for vgexport?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!