Operating System - HP-UX
1752794 Members
5852 Online
108789 Solutions
New Discussion юеВ

Volume Group Disk Problem

 
SOLVED
Go to solution
Helen French
Honored Contributor

Re: Volume Group Disk Problem

The unavailable PV status comes only when the communication fails between LVM and the disk. It can be either a HDD problem or LVM structure issue. From your outputs it's look like the HDD is working fine (check again the output of ioscan, diskinfo, dd, stm etc).

If you are sure that the disk is fine, then consider doing a vgcfgrestore to this specific disk:

# man vgcfgrestore

That will restore the VG structure back to the disk.
Life is a promise, fulfill it!
Helen French
Honored Contributor

Re: Volume Group Disk Problem

Again, IMPORTANT: make sure that you have a clean backup of all the file systems and data on this disk and the VG before changing anything!
Life is a promise, fulfill it!
Michael Tully
Honored Contributor

Re: Volume Group Disk Problem

A simple test of the disk should tell us something.

What does this do:

dd if=/dev/dsk/c0t0d0 of=/dev/null bs=1024k
Anyone for a Mutiny ?
Helen French
Honored Contributor

Re: Volume Group Disk Problem

Michael,

First, congratulations on your new hat!

He checked the dd output and said it was okay on an earlier post.

Look back ... do not drink too much to celebrate your new hat level =))
Life is a promise, fulfill it!
T G Manikandan
Honored Contributor

Re: Volume Group Disk Problem

I doubt some problem with the disk

With VG activated and PV status unavailable I would first suggest to check your
/var/adm/syslog/syslog.log for any scsi errors on the disk.
Also do check for the latest SCSI patches for the system.

Re: Volume Group Disk Problem

Hey all,

First of all, thanks for your help! vgcfgrestore is hanging. I've included a file with an excerpt of the syslog file. The latest XSWGR1100 patch bundle installed is B.11.00.49.3

Re: Volume Group Disk Problem

Oh, by the way, path 8/8.8.0
.255.0.0.0
is the path to the disk in question.
S.K. Chan
Honored Contributor

Re: Volume Group Disk Problem

Take a look at my answer here. Somewhat the same scenario and the vgexport/vgimport seems to solve the problem.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe50c237a4bc6d611abdb0090277a778c,00.html
Let us know if you have any question on that.
T G Manikandan
Honored Contributor

Re: Volume Group Disk Problem

Please revert on the output of

#vgdisplay -v /dev/vg2
Do check the count of Cur PV and Act PV.
#vgdisplay -v /dev/vg1
#strings /etc/lvmtab
#ioscan -fnC disk

Please post the output


Thanks
John Dvorchak
Honored Contributor

Re: Volume Group Disk Problem

This sounds eriely familiar to me. I had the exact same problem but the disk was on an EMC array. It seems that One, I should not have seen the power fail message and two I should not have seen the "can't write to the PVDA". A call to EMC provided me with a utility that repaired or masked the bad PVDA and I was able to deactivate the VG and vgcfgrestore the disk back into the VG. Status is now good. You didn't mention if this is a locally attached disk or a disk in a SAN etc.

If it has wheels or a skirt, you can't afford it.