<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: physical volume trouble in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017884#M737892</link>
    <description>&amp;gt; can i do vgimport without previously done vgexport?&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; what is the difference between vgcfgbackup and vgexport also vgcfgrestore and vgimport?&lt;BR /&gt;&lt;BR /&gt;vgcfgbackup is storing the VG layout to the disk. vgexport can delete the VG config from your system (not the data from the disk)&lt;BR /&gt;vgcfgrestore restores the LVM layout to a disk. vgimport imports VGs to the system. see the man pages!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; can i create vg without do pvcreate first?&lt;BR /&gt;&lt;BR /&gt;Yes, if the disk is already a LVM disk.</description>
    <pubDate>Tue, 12 Jun 2007 01:40:34 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2007-06-12T01:40:34Z</dc:date>
    <item>
      <title>physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017870#M737878</link>
      <description>i've ran several command below :&lt;BR /&gt;i have no problem with ioscan -fnC disk&lt;BR /&gt;#vgscan&lt;BR /&gt;vgscan: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;vgscan: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c1t15d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c3t15d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t2d0":&lt;BR /&gt;Invalid argument&lt;BR /&gt;&lt;BR /&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c1t15d0&lt;BR /&gt;&lt;BR /&gt;#pvdisplay -v /dev/dsk/c1t15d0&lt;BR /&gt;pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;pvdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;pvdisplay: Couldn't retrieve the names of the physical volumes&lt;BR /&gt;belonging to volume group "/dev/vg01".&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c1t15d0".&lt;BR /&gt;&lt;BR /&gt;#vgdisplay -v /dev/vg01&lt;BR /&gt;vgdisplay: Volume group not activated.&lt;BR /&gt;vgdisplay: Cannot display volume group "/dev/vg01".&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y /dev/vg01&lt;BR /&gt;vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t15d0":&lt;BR /&gt;Cross-device link&lt;BR /&gt;vgchange: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;vgchange: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgchange: Couldn't activate volume group "/dev/vg01":&lt;BR /&gt;Quorum not present, or some physical volume(s) are missing.&lt;BR /&gt;&lt;BR /&gt;#pvcreate -f /dev/rdsk/c1t15d0&lt;BR /&gt;pvcreate: The physical volume "/dev/dsk/c1t15d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;i also attach the file.&lt;BR /&gt;&lt;BR /&gt;any suggestion ?&lt;BR /&gt;thanks in advance&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jun 2007 23:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017870#M737878</guid>
      <dc:creator>Trias_1</dc:creator>
      <dc:date>2007-06-11T23:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017871#M737879</link>
      <description>I would suggest you to restore the vg configuration of the disk which are part of vg01 using the following:&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg01 /dev/dsk/c1t15d0&lt;BR /&gt;&lt;BR /&gt;Do it for all the PVs which are part of vg01 and then try to activate it..&lt;BR /&gt;&lt;BR /&gt;normally this kind of error means someone has execute pvcreate on this disk.&lt;BR /&gt;&lt;BR /&gt;Is it part of shared storag and accessible by any other node ?</description>
      <pubDate>Mon, 11 Jun 2007 23:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017871#M737879</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-06-11T23:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017872#M737880</link>
      <description>i've done as u told before&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n vg01 /dev/dsk/c1t15d0&lt;BR /&gt;vgcfgrestore: Error opening LVM configuration file : /etc/lvmconf/vg01.conf&lt;BR /&gt;&lt;BR /&gt;will renaming /etc/lvmtab and run vgscan fix the problem.&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 11 Jun 2007 23:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017872#M737880</guid>
      <dc:creator>Trias_1</dc:creator>
      <dc:date>2007-06-11T23:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017873#M737881</link>
      <description>That may or may not fix the problem.. however it is not always advisable to do so.. anyway that can be done as a last option... can you look for any old configuration available of vg01 under /etc/lvmconf&lt;BR /&gt;&lt;BR /&gt;post the output of ll /etc/lvmconf&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jun 2007 23:28:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017873#M737881</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-06-11T23:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017874#M737882</link>
      <description>as your request&lt;BR /&gt;&lt;BR /&gt;# ll /etc/lvmconf&lt;BR /&gt;total 640&lt;BR /&gt;----------   1 root       sys              0 Jun 11 15:48 lvm_lock&lt;BR /&gt;-rw-------   1 root       sys         321536 Jun 11 15:45 vg00.conf&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 11 Jun 2007 23:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017874#M737882</guid>
      <dc:creator>Trias_1</dc:creator>
      <dc:date>2007-06-11T23:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017875#M737883</link>
      <description>Aah.. we don't have vg01 configuration backup...&lt;BR /&gt;&lt;BR /&gt;I think you could try running vgscan after renaming the existing lvmtab... It seems that you have already tried that...&lt;BR /&gt;&lt;BR /&gt;Now the only option available is to recreate the vg from scratch.. do you have data backup ?? or old lvdisplay,vgdisplay outputs ??</description>
      <pubDate>Mon, 11 Jun 2007 23:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017875#M737883</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-06-11T23:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017876#M737884</link>
      <description>If we have old vgdisplay and lvdisplay output then there is a work around by which we can recover data but make sure that we don't execute newfs after create this vg and all the details while creating vg and lv should remain as it were earlier....&lt;BR /&gt;&lt;BR /&gt;This is the reason I asked if we have old outputs.</description>
      <pubDate>Mon, 11 Jun 2007 23:48:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017876#M737884</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-06-11T23:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017877#M737885</link>
      <description>This is the reason I asked if we have old outputs.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; how i do know that i have old output?&lt;BR /&gt;what command should i type?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 11 Jun 2007 23:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017877#M737885</guid>
      <dc:creator>Trias_1</dc:creator>
      <dc:date>2007-06-11T23:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017878#M737886</link>
      <description>There is no command for that.. I thought you might have the old output of these commands.. If we don't have a snapshot of the old ones then there is no way we can recover it.. Then as mentioned earlier the only way is to recreate the vgs and lvs and restore the data.</description>
      <pubDate>Tue, 12 Jun 2007 00:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017878#M737886</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-06-12T00:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017879#M737887</link>
      <description>Still the same system like this ???&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1134638" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1134638&lt;/A&gt;</description>
      <pubDate>Tue, 12 Jun 2007 00:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017879#M737887</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-06-12T00:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017880#M737888</link>
      <description>mridul :&lt;BR /&gt;thanks for the replies, maybe i will try o recreate the vgs and lvs.one thing lhe left, can i run vgimport?&lt;BR /&gt;&lt;BR /&gt;tursten:&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Tue, 12 Jun 2007 01:23:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017880#M737888</guid>
      <dc:creator>Trias_1</dc:creator>
      <dc:date>2007-06-12T01:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017881#M737889</link>
      <description>vgimport could be run if we had run vgexport in the past... remember you have to create vg dir and group file before executing the vgimport.&lt;BR /&gt;&lt;BR /&gt;If vgexport was not done earlier then it won't be of any help.</description>
      <pubDate>Tue, 12 Jun 2007 01:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017881#M737889</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-06-12T01:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017882#M737890</link>
      <description>How about &lt;BR /&gt;&lt;BR /&gt;vgdisplay -v&lt;BR /&gt;ioscan -fnCdisk&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;(not sure about the current status)</description>
      <pubDate>Tue, 12 Jun 2007 01:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017882#M737890</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-06-12T01:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017883#M737891</link>
      <description>mridul:&lt;BR /&gt;can i do vgimport without previously done vgexport?&lt;BR /&gt;what is the difference between vgcfgbackup and vgexport also vgcfgrestore and vgimport?&lt;BR /&gt;can i create vg without do pvcreate first?</description>
      <pubDate>Tue, 12 Jun 2007 01:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017883#M737891</guid>
      <dc:creator>Trias_1</dc:creator>
      <dc:date>2007-06-12T01:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017884#M737892</link>
      <description>&amp;gt; can i do vgimport without previously done vgexport?&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; what is the difference between vgcfgbackup and vgexport also vgcfgrestore and vgimport?&lt;BR /&gt;&lt;BR /&gt;vgcfgbackup is storing the VG layout to the disk. vgexport can delete the VG config from your system (not the data from the disk)&lt;BR /&gt;vgcfgrestore restores the LVM layout to a disk. vgimport imports VGs to the system. see the man pages!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; can i create vg without do pvcreate first?&lt;BR /&gt;&lt;BR /&gt;Yes, if the disk is already a LVM disk.</description>
      <pubDate>Tue, 12 Jun 2007 01:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017884#M737892</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-06-12T01:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017885#M737893</link>
      <description>&amp;gt;&amp;gt; can i do vgimport without previously done vgexport?&lt;BR /&gt;No.. it's not possible.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; what is the difference between vgcfgbackup and vgexport also vgcfgrestore and vgimport?&lt;BR /&gt;&lt;BR /&gt;These are altogether different thingss..&lt;BR /&gt;vgcfgbackup&amp;gt;&amp;gt; will take the vg configuration backup under /etc/lvmconf, however vg would be available on the system and in active state&lt;BR /&gt;vgcfgrestore &amp;gt;&amp;gt; is used when replacing disk or lvm header gets corrupted on a disk for the coresponding vg.&lt;BR /&gt;vgexport &amp;gt;&amp;gt; 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.&lt;BR /&gt;vgimport &amp;gt;&amp;gt; used to import a vg which is being exported using vgexport..&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jun 2007 01:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017885#M737893</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-06-12T01:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017886#M737894</link>
      <description>I m sorry for the first one....&lt;BR /&gt;&lt;BR /&gt;vgimport can be done as Torsten said.. but you should the the PV disks and major and minor no.'s....</description>
      <pubDate>Tue, 12 Jun 2007 01:49:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017886#M737894</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-06-12T01:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017887#M737895</link>
      <description>like u two said earlier, that vgimport can be done without vgexport first.&lt;BR /&gt;then it imports what?since we haven't store any configuration earlier.&lt;BR /&gt;does it import current active VG?&lt;BR /&gt;thanks</description>
      <pubDate>Tue, 12 Jun 2007 02:03:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017887#M737895</guid>
      <dc:creator>Trias_1</dc:creator>
      <dc:date>2007-06-12T02:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017888#M737896</link>
      <description>It depends like always.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;The data of vg01 is still there.&lt;BR /&gt;You can vgimport this disk now to your current config.</description>
      <pubDate>Tue, 12 Jun 2007 02:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017888#M737896</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-06-12T02:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: physical volume trouble</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017889#M737897</link>
      <description>No..It's not like that...&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;However in our case LVM header are corrupt on the disk so it's not possible to import the vg.</description>
      <pubDate>Tue, 12 Jun 2007 02:07:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-trouble/m-p/4017889#M737897</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-06-12T02:07:23Z</dc:date>
    </item>
  </channel>
</rss>

