1748176 Members
4146 Online
108758 Solutions
New Discussion юеВ

Problems with VG00

 
Torsten.
Acclaimed Contributor

Re: Problems with VG00

What steps did you use when replacing and sync the disk?

Any error messages during this?

Problems with "vgcfgrestore" maybe???

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!   
Adam W.
Valued Contributor

Re: Problems with VG00

Please attach the output of the vgscan.
There are two types of people in the world, Marines and those who wish they were.
Adam W.
Valued Contributor

Re: Problems with VG00

Can you run a vgdisplay -v vg00?
There are two types of people in the world, Marines and those who wish they were.
Adam W.
Valued Contributor

Re: Problems with VG00

Did you do a vgreduce when you removed the disk?
There are two types of people in the world, Marines and those who wish they were.
Gustavo Souza Lima
Frequent Advisor

Re: Problems with VG00

Steps that I followed:

1 - After changing the crashed disk I type - pvcreate -B /dev/rdsk/c1t6d0
2 - Then I executed the command -> vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t6d0, and the messages Vgcfgrestore executed successfully to /dev/vg00 appeared.
3 - mv /etc/lvmtab /etc/lvmtab.old
4 - vgscan -v, and when I type strings /etc/lvmtab the vg00 didn't appear in the lvmtab.

From here, I rollback the lvmtab.old and stopped the mirror configutation.
Torsten.
Acclaimed Contributor

Re: Problems with VG00

Why you moved the lvmtab away???

Do you know this already?

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf


Proceed with the old lvmtab file.

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!   
Gustavo Souza Lima
Frequent Advisor

Re: Problems with VG00

Follow the vgscan -v output;

svuxpmt1:/# vgscan -v
Creating "/etc/lvmtab".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vgapmt1".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vgbpmt1".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vgtst".
Couldn't stat physical volume "/dev/dsk/c0t1d0":
Invalid argument


/dev/vgtst
/dev/dsk/c1t6d0


Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c2t6d0


/dev/vgapmt1
/dev/dsk/c54t0d0
/dev/dsk/c54t0d1
/dev/dsk/c54t0d2
/dev/dsk/c54t0d3
/dev/dsk/c54t0d4
/dev/dsk/c54t0d5
/dev/dsk/c53t0d0
/dev/dsk/c53t0d1
/dev/dsk/c53t0d2
/dev/dsk/c53t0d3
/dev/dsk/c53t0d4
/dev/dsk/c53t0d5



/dev/vgbpmt1
/dev/dsk/c54t0d6
/dev/dsk/c54t0d7
/dev/dsk/c54t1d0
/dev/dsk/c54t1d1
/dev/dsk/c54t1d2
/dev/dsk/c54t1d3
/dev/dsk/c54t1d4
/dev/dsk/c53t0d6
/dev/dsk/c53t0d7
/dev/dsk/c53t1d0
/dev/dsk/c53t1d1
/dev/dsk/c53t1d2
/dev/dsk/c53t1d3
/dev/dsk/c53t1d4

Ouput from the strings /etc/lvmtab

svuxpmt1:/# strings /etc/lvmtab
/dev/vgtst
/dev/dsk/c1t6d0
/dev/vgapmt1
/dev/dsk/c54t0d0
/dev/dsk/c54t0d1
/dev/dsk/c54t0d2
/dev/dsk/c54t0d3
/dev/dsk/c54t0d4
/dev/dsk/c54t0d5
/dev/dsk/c53t0d0
/dev/dsk/c53t0d1
/dev/dsk/c53t0d2
/dev/dsk/c53t0d3
/dev/dsk/c53t0d4
/dev/dsk/c53t0d5
/dev/vgbpmt1
/dev/dsk/c54t0d6
/dev/dsk/c54t0d7
/dev/dsk/c54t1d0
/dev/dsk/c54t1d1
/dev/dsk/c54t1d2
/dev/dsk/c54t1d3
/dev/dsk/c54t1d4
/dev/dsk/c53t0d6
/dev/dsk/c53t0d7
/dev/dsk/c53t1d0
/dev/dsk/c53t1d1
/dev/dsk/c53t1d2
/dev/dsk/c53t1d3
/dev/dsk/c53t1d4

The VG00 doesn't appear in the lvmtab.
Adam W.
Valued Contributor

Re: Problems with VG00

I am confused as to why you renamed the lvmtab and created a new one? Nothing was "actually" changing. Put that old lvmtab back and keep on truckin! No need to do a vgscan. Use the old lvmtab and run an lvlnboot -v and a vgdisplay -v vg00 and I bet everything will be without error.
There are two types of people in the world, Marines and those who wish they were.
Adam W.
Valued Contributor

Re: Problems with VG00

Then mirror everything again and you should be fine.
There are two types of people in the world, Marines and those who wish they were.
Torsten.
Acclaimed Contributor

Re: Problems with VG00

I don't really know what you did so far, but the disk is already part of another VG:

/dev/vgtst
/dev/dsk/c1t6d0

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!