- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: physical volume trouble
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-11-2007 04:02 PM
06-11-2007 04:02 PM
i have no problem with ioscan -fnC disk
#vgscan
vgscan: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: The physical volume "/dev/dsk/c1t15d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t15d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c2t2d0":
Invalid argument
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c1t15d0
#pvdisplay -v /dev/dsk/c1t15d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg01".
pvdisplay: Cannot display physical volume "/dev/dsk/c1t15d0".
#vgdisplay -v /dev/vg01
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg01".
#vgchange -a y /dev/vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t15d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/vg01":
Quorum not present, or some physical volume(s) are missing.
#pvcreate -f /dev/rdsk/c1t15d0
pvcreate: The physical volume "/dev/dsk/c1t15d0" is already recorded in the "/etc/lvmtab" file.
i also attach the file.
any suggestion ?
thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 04:07 PM
06-11-2007 04:07 PM
Re: physical volume trouble
vgcfgrestore -n vg01 /dev/dsk/c1t15d0
Do it for all the PVs which are part of vg01 and then try to activate it..
normally this kind of error means someone has execute pvcreate on this disk.
Is it part of shared storag and accessible by any other node ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 04:26 PM
06-11-2007 04:26 PM
Re: physical volume trouble
# vgcfgrestore -n vg01 /dev/dsk/c1t15d0
vgcfgrestore: Error opening LVM configuration file : /etc/lvmconf/vg01.conf
will renaming /etc/lvmtab and run vgscan fix the problem.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 04:28 PM
06-11-2007 04:28 PM
Re: physical volume trouble
post the output of ll /etc/lvmconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 04:32 PM
06-11-2007 04:32 PM
Re: physical volume trouble
# ll /etc/lvmconf
total 640
---------- 1 root sys 0 Jun 11 15:48 lvm_lock
-rw------- 1 root sys 321536 Jun 11 15:45 vg00.conf
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 04:36 PM
06-11-2007 04:36 PM
Re: physical volume trouble
I think you could try running vgscan after renaming the existing lvmtab... It seems that you have already tried that...
Now the only option available is to recreate the vg from scratch.. do you have data backup ?? or old lvdisplay,vgdisplay outputs ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 04:48 PM
06-11-2007 04:48 PM
Re: physical volume trouble
This is the reason I asked if we have old outputs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 04:53 PM
06-11-2007 04:53 PM
Re: physical volume trouble
>> how i do know that i have old output?
what command should i type?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 05:06 PM
06-11-2007 05:06 PM
Re: physical volume trouble
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 05:59 PM
06-11-2007 05:59 PM
Re: physical volume trouble
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1134638
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 06:23 PM
06-11-2007 06:23 PM
Re: physical volume trouble
thanks for the replies, maybe i will try o recreate the vgs and lvs.one thing lhe left, can i run vgimport?
tursten:
yes, the machine still the same. but i have managed to reinstall UNIX on the same boot disk, but i can't get create vg with the other disk.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 06:25 PM
06-11-2007 06:25 PM
Re: physical volume trouble
If vgexport was not done earlier then it won't be of any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 06:29 PM
06-11-2007 06:29 PM
Re: physical volume trouble
vgdisplay -v
ioscan -fnCdisk
strings /etc/lvmtab
(not sure about the current status)
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 06:36 PM
06-11-2007 06:36 PM
Re: physical volume trouble
can i do vgimport without previously done vgexport?
what is the difference between vgcfgbackup and vgexport also vgcfgrestore and vgimport?
can i create vg without do pvcreate first?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 06:40 PM
06-11-2007 06:40 PM
SolutionYes.
> what is the difference between vgcfgbackup and vgexport also vgcfgrestore and vgimport?
vgcfgbackup is storing the VG layout to the disk. vgexport can delete the VG config from your system (not the data from the disk)
vgcfgrestore restores the LVM layout to a disk. vgimport imports VGs to the system. see the man pages!
> can i create vg without do pvcreate first?
Yes, if the disk is already a LVM disk.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 06:41 PM
06-11-2007 06:41 PM
Re: physical volume trouble
No.. it's not possible.
>> what is the difference between vgcfgbackup and vgexport also vgcfgrestore and vgimport?
These are altogether different thingss..
vgcfgbackup>> will take the vg configuration backup under /etc/lvmconf, however vg would be available on the system and in active state
vgcfgrestore >> is used when replacing disk or lvm header gets corrupted on a disk for the coresponding vg.
vgexport >> will remove all the entries from the host and vg has to be deactivated before doing this. After vgexport being done this vg can be imported on other host after moving the corresponding PVs.
vgimport >> used to import a vg which is being exported using vgexport..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 06:49 PM
06-11-2007 06:49 PM
Re: physical volume trouble
vgimport can be done as Torsten said.. but you should the the PV disks and major and minor no.'s....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:03 PM
06-11-2007 07:03 PM
Re: physical volume trouble
then it imports what?since we haven't store any configuration earlier.
does it import current active VG?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:05 PM
06-11-2007 07:05 PM
Re: physical volume trouble
Assuming you had a config with 1 disk in vg00 and 1 disk in vg01. Now you re-install the OS (as you did) and you get a "new" vg00.
The data of vg01 is still there.
You can vgimport this disk now to your current config.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:07 PM
06-11-2007 07:07 PM
Re: physical volume trouble
As I mentioned.. considering that vg does not exist on the node and we have all the details of the PVs , major and minor no.'s.. only then it could be imported.. that way it will query the details from VGRA on the lvm header of the disk.
However in our case LVM header are corrupt on the disk so it's not possible to import the vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:10 PM
06-11-2007 07:10 PM
Re: physical volume trouble
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:18 PM
06-11-2007 07:18 PM
Re: physical volume trouble
I remember you destroyed the c1t15d0, right?
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 08:12 PM
06-11-2007 08:12 PM
Re: physical volume trouble
sorry i keep bothering you.
especially torsten, who keep track from my other thread.
i think it's time to close the thread.
i finally find some workaorund, i don't know if it's recommended or not. but it worked for me.
what i did was rename /etc/lvmtab, then pvcreate,vgcreate then vgscan...woila
the system works fine.
thanks so much my friends...it helps me a lot