<?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: volume group disk problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012398#M613332</link>
    <description>As Eric recommended, mv the lvmtab then vgscan -v.&lt;BR /&gt;&lt;BR /&gt;If that doesn't work, try ignite.&lt;BR /&gt;&lt;BR /&gt;Andy</description>
    <pubDate>Mon, 06 Nov 2006 16:25:50 GMT</pubDate>
    <dc:creator>Sheriff Andy</dc:creator>
    <dc:date>2006-11-06T16:25:50Z</dc:date>
    <item>
      <title>volume group disk problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012394#M613328</link>
      <description>I am running 10.20 on a legacy system and when I run any vg command I get following errors&lt;BR /&gt;Couldn't query physical volume "/dev/dsk/c1t3d0"&lt;BR /&gt;The specified path does not correspond to physical volume attached to this volume group.&lt;BR /&gt;the volume group is vg00 which has O/S on it.&lt;BR /&gt;This happened because I removed this disk and replaced it with a larger disk.  The disk had no logical volumes on it, but I forgot to remove it from volume group before I replaced disk.  I have tried many different things from recreating lvmtab to vgreduce and none ot this works.  When I do vgdisplay it says  Cur PV 4 and Act PV 3.  It says this even when I have removed this disk from lvmtab.  currently disk is in lvmtab.  the vgdisplay does not show the disk I want removed c1t3d0.  It shows other 3 disk which are still good.&lt;BR /&gt;I am looking for information on how to fix my problem.  I do not need this disk in vg00 at this time, if I can remove it then I can re add it later old disk was 1 gig new disk is 4 gig I plan to use it to mirror o/s</description>
      <pubDate>Mon, 06 Nov 2006 11:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012394#M613328</guid>
      <dc:creator>Brian Harris</dc:creator>
      <dc:date>2006-11-06T11:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: volume group disk problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012395#M613329</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;read the man page about "vgreduce" - the "-f" option is yours,&lt;BR /&gt;e.g. vgreduce -f vg00</description>
      <pubDate>Mon, 06 Nov 2006 11:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012395#M613329</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-11-06T11:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: volume group disk problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012396#M613330</link>
      <description>I have already tried the -f and it fails with following message&lt;BR /&gt;# vgreduce -f /dev/vg00&lt;BR /&gt;vgreduce: Couldn't query physical volume "/dev/dsk/c1t3d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;&lt;BR /&gt;I also tried it by remaking lvmtab to remove c1t3d0 and then do vgreduce and that also did not work&lt;BR /&gt;So I am no longer sure if I should first remove c1t3d0 or if I need to first do something to pv c1t3d0.</description>
      <pubDate>Mon, 06 Nov 2006 12:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012396#M613330</guid>
      <dc:creator>Brian Harris</dc:creator>
      <dc:date>2006-11-06T12:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: volume group disk problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012397#M613331</link>
      <description>Is this a disk you hot swapped out while the system was running?  If so, try:&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/dsk/c1t3d0&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;vgdisplay vg00  --&amp;gt;Does Act PV and Cur PV &lt;BR /&gt;                   match?  If not:&lt;BR /&gt;&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.orig&lt;BR /&gt;vgscan -v&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Nov 2006 16:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012397#M613331</guid>
      <dc:creator>erics_1</dc:creator>
      <dc:date>2006-11-06T16:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: volume group disk problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012398#M613332</link>
      <description>As Eric recommended, mv the lvmtab then vgscan -v.&lt;BR /&gt;&lt;BR /&gt;If that doesn't work, try ignite.&lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Mon, 06 Nov 2006 16:25:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012398#M613332</guid>
      <dc:creator>Sheriff Andy</dc:creator>
      <dc:date>2006-11-06T16:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: volume group disk problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012399#M613333</link>
      <description>I'm not sure vgcfgrestore will work in your case as the size of disk is not the same. If it does not work, try to remove newly replaced disk (/dev/dsk/c1t3d0) from your server and then try vgreduce -f /dev/vg00. You may need to put original lvmtab back if you still have a backup for that file. The reason is that from vgreduce manpage:&lt;BR /&gt;&lt;BR /&gt;-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 from the file /etc/lvmtab. ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Nov 2006 17:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012399#M613333</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-06T17:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: volume group disk problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012400#M613334</link>
      <description>Since it's vg00 and "vgreduce -f" is not working for you then your only option maybe to boot your system into lvm maintenance mode and do the following:&lt;BR /&gt;&lt;BR /&gt;- vgexport -m /mapfile vg00&lt;BR /&gt;- mknod vg00&lt;BR /&gt;- vgimport -m /mapfile vg00 /dev/dsk/c#t#d# ...&lt;BR /&gt;- reboot into multi-user mode; and&lt;BR /&gt;- vgreduce -f vg00&lt;BR /&gt;&lt;BR /&gt;~hope it helps</description>
      <pubDate>Mon, 06 Nov 2006 18:11:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012400#M613334</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-11-06T18:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: volume group disk problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012401#M613335</link>
      <description>I found a solution that seems to have worked, which is same solution some one posted. I did a vgcfgrestore and then a vgchange. and then when I did a vgdisplay it showed the new disk and it seems to be correct size.  I had tried vgcfgrestore before but I had not used vgchange, because I only thought you did that when the volume group was not active, and in this case rest of the volume group was active and working. I don't understand why I had to do it, but it worked</description>
      <pubDate>Tue, 07 Nov 2006 08:37:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-disk-problem/m-p/5012401#M613335</guid>
      <dc:creator>Brian Harris</dc:creator>
      <dc:date>2006-11-07T08:37:38Z</dc:date>
    </item>
  </channel>
</rss>

