Operating System - HP-UX
1835243 Members
2262 Online
110078 Solutions
New Discussion

lvlnboot returns not a character device on non vg00

 
SOLVED
Go to solution
Nancy Stout
Frequent Advisor

lvlnboot returns not a character device on non vg00

I have a rx6600 that at one time had some non vg00 volume groups. These have been removed and I was trying to do a make_tape_recover tape and am now getting the error message lvlnboot "/dev/vgXX/group" not a character device. These volume groups do not appear in the server and are not in fstab or checklist. How do I go about removing these so that I can get a good make_tape_recover.
10 REPLIES 10
Robert-Jan Goossens_1
Honored Contributor

Re: lvlnboot returns not a character device on non vg00

Hi Nancy,

Could you post the output of
# ll /dev/*/group

You could try to vgexport the volune group.

# vgexport vgxx

Regards,
Robert-Jan
Nancy Stout
Frequent Advisor

Re: lvlnboot returns not a character device on non vg00

Robert-Jan,

Here is the output of /dev/*/group:

ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 Oct 26 19:35 /dev/vg00/group

Here is the output from the vgexport

# vgexport vgP01
vgexport: "/dev/vgP01/group": not a character device.
vgexport: Couldn't export volume group "vgP01".
Torsten.
Acclaimed Contributor
Solution

Re: lvlnboot returns not a character device on non vg00

I guess the VG vgP01 was **NOT** removed via vgexport or vgremove, right?

So there is some information left about this VG.

How about

/dev/vgP01

and

strings /etc/lvmtab

and

/etc/lvmconf ?

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!   
Nancy Stout
Frequent Advisor

Re: lvlnboot returns not a character device on non vg00

There is the information of the volume group disks in /etc/lvmtab and also /etc/lvmconf. How would I go about cleaning up the lvmtab and lvmconf?
Robert-Jan Goossens_1
Honored Contributor

Re: lvlnboot returns not a character device on non vg00

could you post the output of

# /dev/vgP01
Nancy Stout
Frequent Advisor

Re: lvlnboot returns not a character device on non vg00

Robert-Jan,

If you see an earlier post I show the output of /dev/P01. I have just cleaned up the lvmtab file and am no longer getting the error messages. Thank you for all of your assistance.
Nancy Stout
Frequent Advisor

Re: lvlnboot returns not a character device on non vg00

Robert-Jan,

My mistake here is the output of /dev/vgP01 and /etc/lvmtab.

ll /dev/vgP01
/dev/vgP01 not found
erpprd1:/# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c3t0d0s2
/dev/vgP01
/dev/dsk/c17t0d1
/dev/dsk/c19t0d1
/dev/dsk/c13t0d1
/dev/dsk/c15t0d1
As I stated earlier I have cleaned up the lvmtab and am now able to run a make_tape_recovery.
TTr
Honored Contributor

Re: lvlnboot returns not a character device on non vg00

You probably have a corrupt /etc/lvmtab. Look at "strings /etc/lvmtab" and read "man vgscan" about recreating lvmtab.

Let me guess. Did you use sam to remove the volume groups?
Nancy Stout
Frequent Advisor

Re: lvlnboot returns not a character device on non vg00

Thank you everyone for your help.
Torsten.
Acclaimed Contributor

Re: lvlnboot returns not a character device on non vg00

You should also remove the files for that VG from /etc/lvmconf to prevent future problems.

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!