<?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: lvmtab problems when removing disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128384#M315935</link>
    <description>hi lyenne;&lt;BR /&gt;&lt;BR /&gt;did you see any pe in the output of &lt;BR /&gt;&lt;BR /&gt;pvdisplay -v /dev/rdsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;if you cannot see try to recreate lvmtab by &lt;BR /&gt;&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.11012008&lt;BR /&gt;vgscan -a &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hasan</description>
    <pubDate>Sat, 12 Jan 2008 19:19:22 GMT</pubDate>
    <dc:creator>Hasan  Atasoy</dc:creator>
    <dc:date>2008-01-12T19:19:22Z</dc:date>
    <item>
      <title>lvmtab problems when removing disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128383#M315934</link>
      <description>Had one disk in a mirrored pair go south.&lt;BR /&gt;&lt;BR /&gt;un-mirrored the one lvol that was on the disk, but even with vgreduce -f it said there were PE's still in use... even though i really didn't think there were other lvols on there.&lt;BR /&gt;&lt;BR /&gt;used vgreduce -l vg02 /dev/dsk/c1t0d0&lt;BR /&gt;to get bad disk out of there.  Seemed to work.&lt;BR /&gt;&lt;BR /&gt;BUT:&lt;BR /&gt;&lt;BR /&gt;the VG is active, however i cannot do a vgcfgbkcp on it cause it says lvmtab is out of date with the running kernel, kernel sees two disks.&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg02 shows only one.&lt;BR /&gt;&lt;BR /&gt;file system in one lvol is up and running fine.&lt;BR /&gt;&lt;BR /&gt;I'm confused.  On one hand, my system is functional, on the other, there's a weird error  and i could have a problem lurking. &lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Sat, 12 Jan 2008 18:57:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128383#M315934</guid>
      <dc:creator>Lynne Seamans</dc:creator>
      <dc:date>2008-01-12T18:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: lvmtab problems when removing disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128384#M315935</link>
      <description>hi lyenne;&lt;BR /&gt;&lt;BR /&gt;did you see any pe in the output of &lt;BR /&gt;&lt;BR /&gt;pvdisplay -v /dev/rdsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;if you cannot see try to recreate lvmtab by &lt;BR /&gt;&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.11012008&lt;BR /&gt;vgscan -a &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hasan</description>
      <pubDate>Sat, 12 Jan 2008 19:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128384#M315935</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2008-01-12T19:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: lvmtab problems when removing disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128385#M315936</link>
      <description>Thanks for the tips.  Here's what i got:&lt;BR /&gt;&lt;BR /&gt;pvdisplay -v /dev/rdsk/c1t0d0&lt;BR /&gt;pvdisplay: Physical volume "/dev/rdsk/c1t0d0" is not a block special file.&lt;BR /&gt;&lt;BR /&gt;then when i ran vgscan -a, YIKES, it looks bad:&lt;BR /&gt;&lt;BR /&gt;r:/etc&amp;gt; vgscan -a&lt;BR /&gt;Creating "/etc/lvmtab".&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c3t2d0":&lt;BR /&gt;Invalid argument&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgscan:  has no correspoding valid raw device file under /dev/rdsk.&lt;BR /&gt;Verification of unique LVM disk id on each disk in the volume group&lt;BR /&gt;/dev/vg02 failed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*** LVMTAB has been created successfully.&lt;BR /&gt;*** If PV links are configured in the system.&lt;BR /&gt;*** Do the following to resync information on disk.&lt;BR /&gt;*** #1.   vgchange -a y &lt;BR /&gt;*** #2.  lvlnboot -R &lt;BR /&gt;&lt;BR /&gt;Now vgdisplay -v vg02 says it's not there!&lt;BR /&gt;&lt;BR /&gt;I'm putting the old lvmtab back :)</description>
      <pubDate>Sat, 12 Jan 2008 19:22:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128385#M315936</guid>
      <dc:creator>Lynne Seamans</dc:creator>
      <dc:date>2008-01-12T19:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: lvmtab problems when removing disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128386#M315937</link>
      <description>what about &lt;BR /&gt;&lt;BR /&gt;pvdisplay -v /dev/dsk/c1t0d0&lt;BR /&gt;and &lt;BR /&gt;pvdisplay -v other_disk_in vg02&lt;BR /&gt;&lt;BR /&gt;Hasan</description>
      <pubDate>Sat, 12 Jan 2008 19:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128386#M315937</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2008-01-12T19:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: lvmtab problems when removing disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128387#M315938</link>
      <description>r:/etc&amp;gt; pvdisplay -v /dev/dsk/c1t0d0       &lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c1t0d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c1t0d0"&lt;BR /&gt;&lt;BR /&gt;r:/etc&amp;gt; pvdisplay -v /dev/dsk/c2t0d0 | more&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c2t0d0&lt;BR /&gt;VG Name                     /dev/vg02&lt;BR /&gt;PV Status                   available                &lt;BR /&gt;Allocatable                 yes          &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;Cur LV                      1      &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    4340    &lt;BR /&gt;Free PE                     1340    &lt;BR /&gt;Allocated PE                3000        &lt;BR /&gt;Stale PE                    0       &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;   --- Distribution of physical volume ---&lt;BR /&gt;   LV Name            LE of LV  PE for LV &lt;BR /&gt;   /dev/vg02/loralogs 3000      3000      &lt;BR /&gt;&lt;BR /&gt;   --- Physical extents ---&lt;BR /&gt;   PE    Status   LV                 LE    &lt;BR /&gt;   00000 current  /dev/vg02/loralogs 00000 &lt;BR /&gt;   00001 current  /dev/vg02/loralogs 00001 &lt;BR /&gt;   00002 current  /dev/vg02/loralogs 00002 &lt;BR /&gt;   00003 current  /dev/vg02/loralogs 00003 &lt;BR /&gt;   00004 current  /dev/vg02/loralogs 00004 &lt;BR /&gt;   00005 current  /dev/vg02/loralogs 00005 &lt;BR /&gt;   00006 current  /dev/vg02/loralogs 00006 &lt;BR /&gt;   00007 current  /dev/vg02/loralogs 00007 &lt;BR /&gt;   00008 current  /dev/vg02/loralogs 00008 &lt;BR /&gt;   00009 current  /dev/vg02/loralogs 00009 &lt;BR /&gt;&lt;BR /&gt;(lots more)</description>
      <pubDate>Sat, 12 Jan 2008 19:41:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128387#M315938</guid>
      <dc:creator>Lynne Seamans</dc:creator>
      <dc:date>2008-01-12T19:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: lvmtab problems when removing disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128388#M315939</link>
      <description>what about &lt;BR /&gt;&lt;BR /&gt;vgreduce -f vg02&lt;BR /&gt;&lt;BR /&gt;Hasan</description>
      <pubDate>Sat, 12 Jan 2008 19:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128388#M315939</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2008-01-12T19:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: lvmtab problems when removing disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128389#M315940</link>
      <description>Well, it's my production system, and at least it's running OK now.  &lt;BR /&gt;&lt;BR /&gt;(university, students moving back, had database down a long time already :(  )&lt;BR /&gt;&lt;BR /&gt;I'm going to try that EARLY monday AM.&lt;BR /&gt;&lt;BR /&gt;I'm thinking that is the absolute right answer, and that i can limp along till a better time.&lt;BR /&gt;&lt;BR /&gt;Thank you thank you.  I will post a followup as soon as i'm comfortable running our little experiment.</description>
      <pubDate>Sat, 12 Jan 2008 19:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128389#M315940</guid>
      <dc:creator>Lynne Seamans</dc:creator>
      <dc:date>2008-01-12T19:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: lvmtab problems when removing disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128390#M315941</link>
      <description>First thing.. If you just want to replace the bad disk which is mirrored, it could have been done without reducing the lv and vg. using pvchange -a n &lt;DISK device="" file=""&gt;&lt;BR /&gt;so it will detach the PV from VG and then after replacement execute pvchange -a y &lt;DISK device="" file=""&gt;  to attach it again and restore the vgcfg on the disk.. everything will be as it was earlier.&lt;BR /&gt;however since u have already removed the disk from the VG and however kernel information is not updated then vgreduce -f vg02 will remove the disk information from the kernel for the disk which are not present in lvmtab.&lt;BR /&gt;&lt;BR /&gt;So as suggested vgreduce -f should resolve the issue. Please post the outcome after Monday task.&lt;BR /&gt;&lt;/DISK&gt;&lt;/DISK&gt;</description>
      <pubDate>Sun, 13 Jan 2008 00:48:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmtab-problems-when-removing-disk/m-p/4128390#M315941</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2008-01-13T00:48:31Z</dc:date>
    </item>
  </channel>
</rss>

