- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgdisplay: Warning: couldn't query all of the phys...
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
04-07-2008 03:54 AM
04-07-2008 03:54 AM
would really appreciate you can help me on this.
1. i wanted to extend one disc to vg05, but when i do pvcreate /dev/rdsk/c32t1d6, it gives me warning, Warning: couldn't query all of the physical volumes.
2.then i extend the disc to vg05 and when i issue the vgdisplay -v vg05, i got this error:
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c22t0d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
3. i have run the vgchange -a y vg05, but to no avail, i have searched inside itrc and find the another thread, but i'm not sure can i use the same solution as per this:
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1145144&admit=109447627+1207568383981+28353475
by vgchange -a y -q n /dev/vg05
4. is it critical problem? i'm afraid i might lose my existing data.
hope to hear from you. thansk a lot
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 03:57 AM
04-07-2008 03:57 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 03:57 AM
04-07-2008 03:57 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 04:01 AM
04-07-2008 04:01 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
do you have an entry in /etc/lvmtab of this disk?
check.
BTW, is it in SAN? which SAN you used?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 04:05 AM
04-07-2008 04:05 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
kedidi:/etc>strings /etc/lvmtab |grep c22t0d6
/dev/dsk/c22t0d6
i'm using hp san storage, command view eva.
hope to hear frm you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 04:10 AM
04-07-2008 04:10 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
/dev/vg05
/dev/dsk/c22t0d6
/dev/dsk/c32t0d6
/dev/dsk/c26t0d6
/dev/dsk/c34t0d6
/dev/dsk/c24t0d6
/dev/dsk/c24t1d1
/dev/dsk/c34t1d1
/dev/dsk/c26t1d1
/dev/dsk/c32t1d1
2. the new disc that i want to extend is
/dev/dsk/c32t1d6 Active
/dev/dsk/c34t1d6 Active
/dev/dsk/c24t1d6 Active
/dev/dsk/c26t1d6 Active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 04:12 AM
04-07-2008 04:12 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
1. is the disk claimed when you used ioscan -fnC disk?
2. did you cheked there is no dead LUN?
3. did u checked in EVA storage any faults?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 04:39 AM
04-07-2008 04:39 AM
SolutionMaybe situation is not so critical ...
First thing : "good" paths to EVA seem to be c24, c26, c32 and c34. It seems that this missing c22t0d6 is something like a ghost path to the EVA. Maybe you did in the past some reconfiguration of your SAN, right ? Could you post result of "ioscan -f -C ext_bus".
If we take a look at lvmtab, we can see the four good path to luns 6 an 9 + the missing c22t0d6 that correspond to a missing c22 path to LUN 6. More, vgdisplay shows 3 current PV and only 2 active PV : normal, since c22t0d6 does no more exist.
The only LV is 125 LE. We can see that it has 103 PE on lun 6 and 12 PE on lun 9, all of these LE through the 4 good paths. There is a good chance that your LV is not corrupted.
In my understanding c22t0d6 is no more used by vg05. Check with "lvdisplay -v /dev/vg05/lvol1". Do you have any stale PE ? Any LE positionned on a "?" disk instead of /dev/dsk/cxxxx ?
If not, you can safely remove this c22t0d6 with the command "vgreduce -f /dev/vg05".
Tell us
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 04:59 AM
04-07-2008 04:59 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
i'm bit a happy. i managed to extend the file system. appreciate you can enlighten me on my queries:
1. is the disk claimed when you used ioscan -fnC disk?
almond -> ioscan -funC disk /dev/dsk/c22t0d6 return me with no value
2. you give me hints, then i tried to mv the /etc/lvmtab and rescan the the vgscan -av
but it gives me this output:
LVMTAB has been created successfully.
If the PV links are configured in the system.
Do the following to resync information on disk.
Vgchange â a y
Lvlnboot â R
after that i'm able to extend the disc, but do we need to do resync or something as per the output?
3. kedidi:/etc>lvextend -l 229 /dev/vg05/lvol1
Logical volume "/dev/vg05/lvol1" has been successfully extended.
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 13 disks for "/dev/vg05"; /etc/lvmtab has 12 disks.
Cannot proceed with backup.
why i get this vgcfgbackup? why it cannot proceed with backup?
thanks a lot. my system admin journey is really fulfilling with itrc. thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 05:18 AM
04-07-2008 05:18 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
where have you seen such advice "you give me hints, then i tried to mv the /etc/lvmtab and rescan the the vgscan -av" ?
I think it was really a bad idea to do that before "vgreduce -f vg05" :-(
Could you post a new output of "vgdisplay -v vg05" and a new "strings /etc/lvmtab" restricting output to vg05 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 05:25 AM
04-07-2008 05:25 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
1. output for strings /etc/lvmtab
/dev/vg05
/dev/dsk/c32t0d6
/dev/dsk/c32t1d1
/dev/dsk/c34t0d6
/dev/dsk/c34t1d1
/dev/dsk/c24t0d6
/dev/dsk/c24t1d1
/dev/dsk/c26t0d6
/dev/dsk/c26t1d1
/dev/dsk/c32t1d6
/dev/dsk/c34t1d6
/dev/dsk/c24t1d6
/dev/dsk/c26t1d6
2. kedidi:/>vgdisplay -v vg05
attached is the ouput. i'm wondering, there are only 3 physical extends. but from the vgdisplay -v output, i can see this:
why Cur PV 4
Act PV 3
what does this mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 05:25 AM
04-07-2008 05:25 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
1. output for strings /etc/lvmtab
/dev/vg05
/dev/dsk/c32t0d6
/dev/dsk/c32t1d1
/dev/dsk/c34t0d6
/dev/dsk/c34t1d1
/dev/dsk/c24t0d6
/dev/dsk/c24t1d1
/dev/dsk/c26t0d6
/dev/dsk/c26t1d1
/dev/dsk/c32t1d6
/dev/dsk/c34t1d6
/dev/dsk/c24t1d6
/dev/dsk/c26t1d6
2. kedidi:/>vgdisplay -v vg05
attached is the ouput. i'm wondering, there are only 3 physical extends. but from the vgdisplay -v output, i can see this:
why Cur PV 4
Act PV 3
what does this mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 05:46 AM
04-07-2008 05:46 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
Cur PV 4
Act PV 3
The /etc/lvmtab is now correctly configured due to "vgscan" command, but the VG itself keeps track of the ghost disk : 4 disks, the "ghost" disk + 2 original disks + the new one.
"vgreduce -f" would have corrected this ... if done before "vgscan". Don't know if it could work well after. Try and tell us ...
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 05:49 AM
04-07-2008 05:49 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 06:51 AM
04-07-2008 06:51 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
vgreduce -f?
2. Vgcfgrestore? if i didn't what is the impact? i want to try, but will it cause our application residing inside the mount point a downtime. normally the backup and restore thing will take time. erm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 07:17 AM
04-07-2008 07:17 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
2) As far as i understand your problem, "vgcfgrestore" will resolve nothing and may damage your VG : saved configuration differs from real configuration since you add a new disk in vg05
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 04:49 PM
04-07-2008 04:49 PM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
almond -> if i do vgreduce, will it reduce all my vg. i heard last time, it's dangerous to do the vgreduce. do i need to specify reduce of how much?
2. is it my new disc extension is safe?
thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 09:27 PM
04-07-2008 09:27 PM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
if u do vgreduce command it will reduce lastly added physical volume
if u want to remove a particular volume
group
vgchange -a n volume group
vgexport --- volume group name
this will remove u volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 12:29 AM
04-08-2008 12:29 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
vgreduce removes only the specified disks given on the command line !
Now, "-f" option of vgreduce has a special meaning. Here is an extract of "man vgreduce"
----------------------------------
-f vg_name : Force reduction of missing physical volume(s) in a given volume group. vgreduce obtains the name of each physical volume (PV) belonging to the volume group. It then reads the kernel PV structures to work out which PVs are missing. PVs which are missing will be candidates for removal. If all the physical extents on the missing PV are free then it will be removed from the volume group. Otherwise vgreduce will report the physical to logical extent mapping. For missing PVs which have extents in use, you must free up all the extents by using lvreduce or lvremove and re-run vgreduce with the -f option. This option is most commonly used when the vgdisplay command shows "Cur PV" higher than "Act PV" and all of the PVs belonging to the volume group are attached. This option only works on PVs and not on links.
---------------------------------
Good luck
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 09:47 PM
04-08-2008 09:47 PM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 10:11 PM
04-15-2008 10:11 PM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
in this case, do i need to vgreduce -f?
thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 07:43 AM
04-17-2008 07:43 AM
Re: vgdisplay: Warning: couldn't query all of the physical volumes. need your help
Yes. I think that you still have Cur PV = 4 and Act PV = 3 (check with vgdisplay). So "vgchange -f vg05" is adequate in this case.
At the end of the command you will probably get a message saying that you must do a vgscan. It will not be necessary as /etc/lvmtab is OK. Check with "strings /etc/lvmtab"
Regards
Eric