<?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: Failed physical volume causing lvmtab weirdness in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715128#M645227</link>
    <description>Also look for "lbolt" in /var/adm/syslog/syslog.log and dmesg&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
    <pubDate>Wed, 01 May 2002 18:11:51 GMT</pubDate>
    <dc:creator>David Burgess</dc:creator>
    <dc:date>2002-05-01T18:11:51Z</dc:date>
    <item>
      <title>Failed physical volume causing lvmtab weirdness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715125#M645224</link>
      <description>Yes, "weirdness" is the best technical term I can come up with to explain what's going on here...&lt;BR /&gt;&lt;BR /&gt;I've got a K box running 11.0 with several disk arrays attached, with the disks arranged in several volume groups. One of the disks in the VG /dev/foo is in the process of failing. However, we didn't realize this was happening before our last software update, and we rebooted the machine (necessary step in our in-house update process).&lt;BR /&gt;&lt;BR /&gt;Here's where the weirdness starts. I'm trying to figure out exactly which disk (one of 4) in the VG is the one that's dying, since you can't tell by looking at the drives themselves (no amber lights to be seen, and there's no logical correlation between the PVs and which VG they belong to -- they all kind of got put where they were needed at the moment (not my doing, the system's been in place far longer than I've been in the job)). Here's what the system tells me:&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v /dev/foo&lt;BR /&gt;vgdisplay: Volume group "/dev/foo" does not exist in the "/etc/lvmtab" file&lt;BR /&gt;vgdisplay: Cannot display volume group "/dev/foo"&lt;BR /&gt;&lt;BR /&gt;Okay, not an insurmountable problem. However, oddly enough, the other three LVs within the volume group are mounted and are accessible -- /dev/foo/lvx, /dev/foo/lvy, and /dev/foo/lvz are mounted where they need to be, and we've got programs using directories under the mount points. /dev/foo/lva is missing as it should be, since it's on the dying disk.&lt;BR /&gt;&lt;BR /&gt;Following standard procedure, I back up /etc/lvmtab, delete the existing copy, and do a vgscan. And I seem to find the three disks which correspond to /dev/foo/lvx, /dev/foo/lvy, and /dev/foo/lvz. However...they're listed as being in /dev/vg01.&lt;BR /&gt;&lt;BR /&gt;We don't have a /dev/vg01. And /dev/foo doesn't show up.&lt;BR /&gt;&lt;BR /&gt;Using vgdisplay on /dev/vg01 lists the three PVs, all right. Using pvdisplay -v on those PVs shows that they're not associated with any LV (it gives "???" for the LV for each logical extent).&lt;BR /&gt;&lt;BR /&gt;I can't use lvdisplay on /dev/foo/lvx -- it complains that /dev/foo isn't in lvmtab (which we knew). However, it's mounted, and nothing changed in /etc/fstab -- it's still listed as /dev/foo/lvx in there.&lt;BR /&gt;&lt;BR /&gt;Any ideas on (1) what's going on, and (2) how I can fix it? Thanks.</description>
      <pubDate>Wed, 01 May 2002 17:57:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715125#M645224</guid>
      <dc:creator>Erwin Mascardo</dc:creator>
      <dc:date>2002-05-01T17:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Failed physical volume causing lvmtab weirdness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715126#M645225</link>
      <description>Has someone kindly renamed your /dev/foo devices files to /dev/vg01?&lt;BR /&gt;&lt;BR /&gt;What are the timestamps on /dev/vg01?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Wed, 01 May 2002 18:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715126#M645225</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2002-05-01T18:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Failed physical volume causing lvmtab weirdness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715127#M645226</link>
      <description>Hi Erwin:&lt;BR /&gt;&lt;BR /&gt;One way to identify a failing disk is:&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/rdsk/cXtYdz of=/dev/null&lt;BR /&gt;&lt;BR /&gt;Look for errors...&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 May 2002 18:05:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715127#M645226</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-05-01T18:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Failed physical volume causing lvmtab weirdness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715128#M645227</link>
      <description>Also look for "lbolt" in /var/adm/syslog/syslog.log and dmesg&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Wed, 01 May 2002 18:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715128#M645227</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2002-05-01T18:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Failed physical volume causing lvmtab weirdness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715129#M645228</link>
      <description>Hi Erwin,&lt;BR /&gt;&lt;BR /&gt; Sounds like David may be on to something here.&lt;BR /&gt;&lt;BR /&gt;If the /dev/foo dir exists &amp;amp; /dev/vg01 doesn't.&lt;BR /&gt;&lt;BR /&gt;Why don't you create a link from /dev/foo -&amp;gt; /dev/vg01?&lt;BR /&gt;&lt;BR /&gt;vgscan looks at the info on the disk &amp;amp; doesn't care about the /dev dirs - so it's possible someone renamed the /dev/vg01 to /dev/foo.&lt;BR /&gt;&lt;BR /&gt;This may get you past the current problem until you can take it down &amp;amp; fix it the way it's supposed to be.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 01 May 2002 18:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715129#M645228</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-05-01T18:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Failed physical volume causing lvmtab weirdness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715130#M645229</link>
      <description>If it is the case that it has been renamed then you can simply rename it back again. Alternatively just edit the /etc/fstab and change it from /dev/foo to /dev/vg01 for each logical volume that it affects.&lt;BR /&gt;&lt;BR /&gt;Then see if the problem goes away. Before you do make sure you check for the lbolt&lt;BR /&gt;&lt;BR /&gt;grep -i lbolt /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;dmesg | grep -i lbolt&lt;BR /&gt;&lt;BR /&gt;dmesg will be the same as syslog, but syslog had more history and timestamps.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Wed, 01 May 2002 18:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715130#M645229</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2002-05-01T18:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Failed physical volume causing lvmtab weirdness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715131#M645230</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt; If your mount points still show as /dev/foo/lvx than there has to be a directory structure under /dev as /dev/foo. I think renaming as suggested should do the work.</description>
      <pubDate>Wed, 01 May 2002 18:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715131#M645230</guid>
      <dc:creator>ashish nanjiani</dc:creator>
      <dc:date>2002-05-01T18:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Failed physical volume causing lvmtab weirdness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715132#M645231</link>
      <description>Thanks for the help, folks. /dev/vg01 did exist, but nothing was underneath it (except for the group file). I renamed it and then symlinked it to /dev/foo. Lo and behold, I can now use lvdisplay on the LVs and vgdisplay on the whole VG.&lt;BR /&gt;&lt;BR /&gt;This will work until I can do a real fix. Thanks again.</description>
      <pubDate>Wed, 01 May 2002 18:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-physical-volume-causing-lvmtab-weirdness/m-p/2715132#M645231</guid>
      <dc:creator>Erwin Mascardo</dc:creator>
      <dc:date>2002-05-01T18:36:16Z</dc:date>
    </item>
  </channel>
</rss>

