- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Warning: couldn't query physical volume...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 11:31 AM
06-30-2003 11:31 AM
lvdisplay /dev/vg02/lvol1
and the output was
Warning: couldn't query physical volume "/dev/dsk/c5t1d0": The specified path does not correspond to physical volume attached to this volume group...
LV Status available/stale
Mirror copies 1
Consistency Recovery NOMWC
It looks to me like I've got corrupt LVM data on c5t1d0. Can I fix it by running
vgcfgrestore -n /dev/vg02 /dev/rdsk/c5t1d0 ?
-------------------
Now here is the background of what was going on before this particular problem occurred. Last week I had a problem with a disk that was part of vg04 (not vg02). From the messages it looked like one of the two mirrored disks in vg04 had failed. I didn't have a spare to replace it. Over the weekend, the system was rebooted intentionally. After the reboot, inexplicably the two disks in vg04 were OK again, but I got the error message that vg02 could not be resynced. Is there a reason to believe the problem with vg04 caused the problem with vg02? I did a patch search but couldn't find anything relevant.
Thanks,
Ed
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 11:36 AM
06-30-2003 11:36 AM
SolutionIf not, I would suspect it is a coincedence.
I would not do the vgcfgrestore on c5t1d0 until you verify whether or not the disk is good or bad. Do a 'pvdisplay /dev/dsk/c5t1d0' and see what happens. You could also try a 'dd if=/dev/rdsk/c5t1d0 of=/dev/null bs=2048k' and see what, if anything, it returns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 11:44 AM
06-30-2003 11:44 AM
Re: Warning: couldn't query physical volume...
diskinfo /dev/rdsk/c5t1d0
If that fails - then you can not see the disk - maybe a bad disk? SCSI chain, etc...
If box is on support - put in a hardware call....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 11:46 AM
06-30-2003 11:46 AM
Re: Warning: couldn't query physical volume...
1) If both problem reported disks are on the same controller, I would check the disk controller, it's termination, connectivity etc.
2) Run STM and dd to check each disks and see if it reports any error.
3) If the disks are very old, suspect both disks are bad and replace it.
4) Some of the old disks, might give you error after a reboot and may be another reboot will erase the problem. But this problem might come again after another reboot, so I would replace any disks (if disk is the problem) that ever gave a h/w error.
5) Doing vgcfgrestore should be the task after replacing the disk. You need to recreate the FS and restore data from backup.
6) Check disks and controllers with STM, diskinfo, dd, ioscan -fnC disk etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 11:46 AM
06-30-2003 11:46 AM
Re: Warning: couldn't query physical volume...
Don't run the vgcfgrestore command. Check whether the disk is working fine using the dd command and diskinfo. If there are problems with the disk then replace it.
HTH,
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 11:51 AM
06-30-2003 11:51 AM
Re: Warning: couldn't query physical volume...
The bad PV in vg04 was c6t1d0 (1/2/0/1.1.0)
The bad PV in vg02 is c5t1d0 (1/2/0/0.1.0)
# pvdisplay /dev/dsk/c5t1d0
display: Warning: couldn't query physical volume "/dev/dsk/c5t1d0":
pvdisplay: Cannot display physical volume "/dev/dsk/c5t1d0".
# dd if=/dev/rdsk/c5t1d0 of=/dev/null bs=2048k
/dev/rdsk/c5t1d0: No such device or address
dd: cannot open /dev/rdsk/c5t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 11:55 AM
06-30-2003 11:55 AM
Re: Warning: couldn't query physical volume...
lvchange -M y /dev/vg01/lvol1
NOMWC = Mo Mirror Write Cache
should be used with swap devices or when the physical device is expected to pick up the overhead.
MWC = Mirror Write Cache and its important to survive crashes, else a full fsck will be implemented.
For performance enhancement reasons NOMWC is used when a lot of writes are occurring on the disk in question.
See what's going on performance wise with this disk and think about 'lvchange'.
sar -d 5 5
sar -u 5 5
sar -b 5 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 11:59 AM
06-30-2003 11:59 AM
Re: Warning: couldn't query physical volume...
HTH,
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:00 PM
06-30-2003 12:00 PM
Re: Warning: couldn't query physical volume...
Made the
return you all the HD that you have and
also the devices for every disk.
The check of dd is good to see if you have
bad sectors on the disk but if it return
that device is not found you shoud check
this point.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:09 PM
06-30-2003 12:09 PM
Re: Warning: couldn't query physical volume...
It's a hot swap drive, and just for the heck of it, I reseated it. Now the LED is constantly ON.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:20 PM
06-30-2003 12:20 PM
Re: Warning: couldn't query physical volume...
If the thing shows up at all, you can use xstm in X Windows to query and "exercize" the drive. It will probably show up red as in bad as in replace now.
Good Luck Ed,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:22 PM
06-30-2003 12:22 PM
Re: Warning: couldn't query physical volume...
1/2/0/1.1.0
1/2/0/1.0.0
1/2/0/0.0.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:30 PM
06-30-2003 12:30 PM
Re: Warning: couldn't query physical volume...
I know this problem ,i had this error last week .
The reason for this error is that the disks
in the mirror aren't synchronise with each other .
You should run :
lvsync /dev/vg0X/rlvolX
on every lvol with stale condition ,
this operation takes some time .....
Good Luck ,
Eran .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:32 PM
06-30-2003 12:32 PM
Re: Warning: couldn't query physical volume...
Until ioscan is able to see the disk again, you're not going to be able to do anything. The fact that the LED is on solid is a pretty good indicator that the disk is toast.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:34 PM
06-30-2003 12:34 PM
Re: Warning: couldn't query physical volume...
One thing I've noticed about running STM. If it's a mirrored drive, and you try to exercise the bad drive, it will actually run against the good drive and not report a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:34 PM
06-30-2003 12:34 PM
Re: Warning: couldn't query physical volume...
dd if=/dev/dsk/cXtYdZ of=/dev/null count=1000000
control c
hangs
pop out
unhang
Then bad disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:37 PM
06-30-2003 12:37 PM
Re: Warning: couldn't query physical volume...
I agree with Patrick, chances are this disk is not coming back. Have HP snatch that guy out of there. After that is done, then you can worry about getting it sync'd back up.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:40 PM
06-30-2003 12:40 PM
Re: Warning: couldn't query physical volume...
# dd if=/dev/rdsk/c5t1d0 of=/dev/null count=1000000
/dev/rdsk/c5t1d0: No such device or address
dd: cannot open /dev/rdsk/c5t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 02:06 PM
06-30-2003 02:06 PM