Operating System - HP-UX
1822018 Members
3708 Online
109639 Solutions
New Discussion

Re: couldn't uery Physical volume /dev/dsk/c1t0d0s2

 
SOLVED
Go to solution
Syedfurquan
Trusted Contributor

couldn't uery Physical volume /dev/dsk/c1t0d0s2

Hi ,

 

I am getting an error in vgdisplay -v vg00 op that couldn't query physical volume. Then I check diskinfo it is showing disk size as o bits. I identify teh disk using dd if=/dev/dsk/c1t0d0 of=/dev/null bs=4k and then did

 

# pvchange -a n /de/dsk/c1t0d0s2 then replace the disk. After replcaing the server got hanged and nothing is coming. Again reinsert the same old disk by removing new one and server started working but still getting same error.


Same error in lvlnboot -v also.

 

It is rx 2660 with HP-UX 11.23

 

Attaching ioscan o/p.

# ioscan -fnC disk
Class        I  H/W Path        Driver         S/W State   H/W Type     Description
====================================================================================
disk         0  0/0/2/1.0.16.0.0  sdisk          CLAIMED     DEVICE       TEAC    DV-28E-N
                              /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
disk         1  0/1/1/0.0.0.0.0   sdisk          CLAIMED     DEVICE       HP      DG146ABAB4
                              /dev/dsk/c1t0d0     /dev/dsk/c1t0d0s2   /dev/rdsk/c1t0d0    /dev/rdsk/c1t0d0s2
                              /dev/dsk/c1t0d0s1   /dev/dsk/c1t0d0s3   /dev/rdsk/c1t0d0s1  /dev/rdsk/c1t0d0s3
disk         2  0/1/1/0.0.0.1.0   sdisk          CLAIMED     DEVICE       HP      DG146ABAB4
                              /dev/dsk/c1t1d0     /dev/dsk/c1t1d0s2   /dev/rdsk/c1t1d0    /dev/rdsk/c1t1d0s2
                              /dev/dsk/c1t1d0s1   /dev/dsk/c1t1d0s3   /dev/rdsk/c1t1d0s1  /dev/rdsk/c1t1d0s3
disk         4  0/1/1/0.0.0.3.0   sdisk          CLAIMED     DEVICE       HP      DG146ABAB4
                              /dev/dsk/c1t3d0   /dev/rdsk/c1t3d0
disk         3  0/1/1/0.0.0.4.0   sdisk          CLAIMED     DEVICE       HP      DG0146FARVU
                              /dev/dsk/c1t4d0   /dev/rdsk/c1t4d0

 

 

Anyhelp will be very much appreciated.

Regards,
Syed
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: couldn't uery Physical volume /dev/dsk/c1t0d0s2

It looks like the disk you replaced could be a boot disk.  Are the LV's on that disk mirrored to another, c1t1d0_s2 perhaps?

 

Please attach the output of "vgdisplay -v vg00", "lvlnboot -v" and the "/var/adm/syslog/syslog.log" file.

Syedfurquan
Trusted Contributor
Solution

Re: couldn't uery Physical volume /dev/dsk/c1t0d0s2

Hi,

I have solve that problem.

 

I try to do:-

vgreduce -f vg00

mv /etc/lvmtab /etc/lvmtab.old

vgscan

 

It worked.

Then pvcreate on the new hdds and then mirror it.

Regards,
Syed