Operating System - HP-UX
1748123 Members
3306 Online
108758 Solutions
New Discussion юеВ

Re: rp3440 connected to msa30 cannot activate vg

 
Gabriel Madoz
Frequent Advisor

rp3440 connected to msa30 cannot activate vg

Good morning: I have a customer who has problems on activiting a volume group with 2 146 GB mirrored disks just after we power off and bring up a rp3440 server connected to a msa30 where the disks are placed. I have found an article here that talks about missing disks on msa30 apparently as not attached to the controller after reboot.
http://h30499.www3.hp.com/t5/LVM-and-VxVM/missing-vg/m-p/5013237#M43458


I think this was a little different from the problem we had. In the problem presented
in the forum the SA was eventually able to activate his volume groups. Then he ran
fsck and was able to mount his filesystems. Our problem is different from this in that
we could not activate the volume group by any means. We could see the disks in the
array with sautil, but the volume group information seemed to be corrupted and could
not be restored/rebuilt.

I put info attached here, if anyone has an idea what could be the problem it would be helpful
Thanks and regards





I would want you to take a look at the following link http://h30499.www3.hp.com/t5/LVM-and-VxVM/missing-vg/m-p/5013237#M43458, in case when you troubleshooted you encountered similar behaviour

Gabriel Madoz
20 REPLIES 20
Gabriel Madoz
Frequent Advisor

Re: rp3440 connected to msa30 cannot activate vg

Has anyone an idea to help on this trouble ?
Thanks
Gabriel Madoz
Torsten.
Acclaimed Contributor

Re: rp3440 connected to msa30 cannot activate vg

This is the current status:

---------- LOGICAL DRIVE 1 ----------

Device File = c4t0d1
RAID Level = 1+0
Size = 140009 MB
Stripe Size = 128 KB
Status = FAILED

Participating Physical Drive(s):

Ch ID

2 0
2 1




Did you replace BOTH disks???

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!   
Gabriel Madoz
Frequent Advisor

Re: rp3440 connected to msa30 cannot activate vg

Yes, we replaced both and next to it everything ok, but this always happened as soon as we had to shut down and power on server and storage and we have to find why to prevent it
Gabriel Madoz
Torsten.
Acclaimed Contributor

Re: rp3440 connected to msa30 cannot activate vg

You activated the RAID again, re-created VG. LVOLs and filesystems?

And after a reboot the RAID is failed again?

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!   
Gabriel Madoz
Frequent Advisor

Re: rp3440 connected to msa30 cannot activate vg

Yes, but only in the case when we put new disks, if the system is rebooted and restarted, we could not activate the volume group by any means in spite of being able to see the disks in the array with sautil, but the volume group information seemed to be corrupted and could not be restored/rebuilt.

Gabriel Madoz
Torsten.
Acclaimed Contributor

Re: rp3440 connected to msa30 cannot activate vg

Once the RAID is in status FAILED and you replace BOTH disk, all the data is gone.

The RAID remains in FAILED status.

You need to run

# sautil /dev/ciss4 accept _media _xchg 1

to enable the RAID again, but the disks are empty now.

So you need to get rid of the old VG information stored in the system (e.g. vgexport); then pvcreate, vgcreate, lvcreate etc ...

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!   
Gabriel Madoz
Frequent Advisor

Re: rp3440 connected to msa30 cannot activate vg

Ok, but the question is : why this happen? why after that we reboot the info is corrupted and we see the disks but cannot activate de vg
Gabriel Madoz
Torsten.
Acclaimed Contributor

Re: rp3440 connected to msa30 cannot activate vg

If I understand you right, you replaced the 2 disk - there nothings remains in this RAID, so there is no data at all. For this reason the RAID remains in FAILED status, even with new, good disks.

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!   
Torsten.
Acclaimed Contributor

Re: rp3440 connected to msa30 cannot activate vg

Since this is a new "disk", you can also restore the LVM configuration on the LUN (vgcfgrestore); but in each case you need to use newfs to create a new file system on the LVOLs.

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!