<?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: Remove items in lvmtab in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122486#M588116</link>
    <description>Run the command&lt;BR /&gt;&lt;BR /&gt;#vgexport /dev/PBWbackup&lt;BR /&gt;&lt;BR /&gt;If this VG is in cluster then same cmd. has to be run on other nodes. Be sure that this VG is not in use.</description>
    <pubDate>Thu, 31 Jul 2008 04:09:11 GMT</pubDate>
    <dc:creator>Sujit</dc:creator>
    <dc:date>2008-07-31T04:09:11Z</dc:date>
    <item>
      <title>Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122482#M588112</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to recreate a volume group called PBWbackup. The PBWbackup volume group was working fine until another administrator somehow removed it but the entries for it is still in lvmtab. thus, I am not able to recreate the VG PBWbackup. The lvmtab information is below. &lt;BR /&gt;&lt;BR /&gt;PBWbackup has three disks associate with it. But the three disks are no longer presented to the system. I tried vgreduce, vgremove and it does not work. I tried renaming the lvmtab and did a vgscan. vgscan removed the PBWbackup entry, however, I have servicegard and I don't want to have to re-import all the VG that is associated with servicegard. &lt;BR /&gt;&lt;BR /&gt;Please let me know if there is a way to just remove the PBWbackup VG.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;doux007:root 76&amp;gt; strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/disk/disk7_p2&lt;BR /&gt;/dev/vg10&lt;BR /&gt;/dev/disk/disk190&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/disk/disk20&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/disk/disk23&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/disk/disk10&lt;BR /&gt;/dev/vg04&lt;BR /&gt;/dev/disk/disk13&lt;BR /&gt;/dev/vg_PRD0&lt;BR /&gt;/dev/disk/disk108&lt;BR /&gt;/dev/disk/disk111&lt;BR /&gt;/dev/vg_PRD1&lt;BR /&gt;/dev/disk/disk188&lt;BR /&gt;/dev/disk/disk189&lt;BR /&gt;/dev/disk/disk116&lt;BR /&gt;/dev/disk/disk191&lt;BR /&gt;/dev/disk/disk192&lt;BR /&gt;/dev/disk/disk193&lt;BR /&gt;/dev/vg_PRD2&lt;BR /&gt;/dev/disk/disk57&lt;BR /&gt;/dev/disk/disk60&lt;BR /&gt;/dev/disk/disk63&lt;BR /&gt;/dev/disk/disk66&lt;BR /&gt;/dev/disk/disk69&lt;BR /&gt;/dev/disk/disk72&lt;BR /&gt;/dev/vg_PBW0&lt;BR /&gt;/dev/disk/disk119&lt;BR /&gt;/dev/disk/disk122&lt;BR /&gt;/dev/vg_PBW1&lt;BR /&gt;/dev/disk/disk125&lt;BR /&gt;/dev/disk/disk128&lt;BR /&gt;/dev/disk/disk131&lt;BR /&gt;/dev/disk/disk134&lt;BR /&gt;/dev/disk/disk137&lt;BR /&gt;/dev/disk/disk140&lt;BR /&gt;/dev/vg_PBW2&lt;BR /&gt;/dev/disk/disk143&lt;BR /&gt;/dev/disk/disk146&lt;BR /&gt;/dev/disk/disk149&lt;BR /&gt;/dev/disk/disk152&lt;BR /&gt;/dev/disk/disk155&lt;BR /&gt;/dev/disk/disk158&lt;BR /&gt;/dev/vg05&lt;BR /&gt;/dev/disk/disk195&lt;BR /&gt;/dev/disk/disk208&lt;BR /&gt;/dev/vg06&lt;BR /&gt;/dev/disk/disk198&lt;BR /&gt;/dev/vg_PRD3&lt;BR /&gt;/dev/dsk/c11t4d7&lt;BR /&gt;/dev/dsk/c7t4d7&lt;BR /&gt;/dev/dsk/c5t4d7&lt;BR /&gt;/dev/dsk/c9t4d7&lt;BR /&gt;/dev/vg_nfs&lt;BR /&gt;/dev/dsk/c7t2d4&lt;BR /&gt;/dev/dsk/c5t2d4&lt;BR /&gt;/dev/dsk/c11t2d4&lt;BR /&gt;/dev/dsk/c9t2d4&lt;BR /&gt;/dev/dsk/c11t5d0&lt;BR /&gt;/dev/dsk/c7t5d0&lt;BR /&gt;/dev/dsk/c5t5d0&lt;BR /&gt;/dev/dsk/c9t5d0&lt;BR /&gt;/dev/PBWArchive&lt;BR /&gt;/dev/disk/disk221&lt;BR /&gt;/dev/PBWbackup&lt;BR /&gt;/dev/disk/disk225&lt;BR /&gt;/dev/disk/disk227&lt;BR /&gt;/dev/disk/disk232</description>
      <pubDate>Wed, 30 Jul 2008 23:09:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122482#M588112</guid>
      <dc:creator>Kaleung Tsou</dc:creator>
      <dc:date>2008-07-30T23:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122483#M588113</link>
      <description>"another administrator somehow removed it but the entries for it is still in lvmtab'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;any idea how it was removed?</description>
      <pubDate>Thu, 31 Jul 2008 00:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122483#M588113</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-07-31T00:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122484#M588114</link>
      <description>If you are sure that the VG no longer exists, then you can try exporting the VG.&lt;BR /&gt;&lt;BR /&gt;# vgexport /dev/PBWbackup&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jul 2008 01:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122484#M588114</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-07-31T01:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122485#M588115</link>
      <description>Yes, you don't need to re-export and import all the VGS again &lt;BR /&gt;&lt;BR /&gt;vgexport is sufficient for removing the VG configuration when disks are not at all in use or in configuration itself.&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jul 2008 02:23:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122485#M588115</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-07-31T02:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122486#M588116</link>
      <description>Run the command&lt;BR /&gt;&lt;BR /&gt;#vgexport /dev/PBWbackup&lt;BR /&gt;&lt;BR /&gt;If this VG is in cluster then same cmd. has to be run on other nodes. Be sure that this VG is not in use.</description>
      <pubDate>Thu, 31 Jul 2008 04:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122486#M588116</guid>
      <dc:creator>Sujit</dc:creator>
      <dc:date>2008-07-31T04:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122487#M588117</link>
      <description>"another administrator somehow removed it but the entries for it is still in lvmtab'"&lt;BR /&gt;&lt;BR /&gt;"somehow" is most of the times "rm" - the root cause of many serious problems ;-)&lt;BR /&gt;&lt;BR /&gt;Next time you/he/she should use vgremove or vgexport. Otherwise you have a nice configuration mismatch like you currently have.</description>
      <pubDate>Thu, 31 Jul 2008 04:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122487#M588117</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-31T04:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122488#M588118</link>
      <description>Thanks guys for the suggestion. The other someone is my supervisor and of course he is the type that never tells you what he did. He just tell you to fix it.&lt;BR /&gt;&lt;BR /&gt;when I run vgexport /dev/PBWbackup I am getting the following error.&lt;BR /&gt;&lt;BR /&gt;doux007:root 4&amp;gt; vgexport /dev/PBWbackup&lt;BR /&gt;vgexport: "/dev/PBWbackup/group": not a character device.&lt;BR /&gt;vgexport: Couldn't export volume group "/dev/PBWbackup"</description>
      <pubDate>Thu, 31 Jul 2008 14:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122488#M588118</guid>
      <dc:creator>Kaleung Tsou</dc:creator>
      <dc:date>2008-07-31T14:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122489#M588119</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;This situation normally arrises from just deleting the /dev/VGXX/* files.&lt;BR /&gt;&lt;BR /&gt;You can't use vgexport because the files do not exist, only the entries in the lvmtab.&lt;BR /&gt;Therefore you can not create the VG of the same name as it already exists, according to the lvmtab.&lt;BR /&gt;&lt;BR /&gt;Catch 22 (If anyone remembers to book/movie.&lt;BR /&gt;&lt;BR /&gt;vgscan is the only way out.&lt;BR /&gt;To confirm this is the issue use &lt;BR /&gt;strings /etc/lvmtab &lt;BR /&gt;&lt;BR /&gt;You should see the ghost VG entries stream past. If so, get you Mgr to read the link below on how to do it properly.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The only way out is to use vgscan to recreate the lvmtab.&lt;BR /&gt;Look closely at the options, you can run it to see what would happen. Make sure what it comes up with is accurate and then do it for real. Have a BACKUP of the lvmtab before doing this. VERY Important.&lt;BR /&gt;&lt;BR /&gt;I've used it in an emergency and, apart from the stress headache it worked a charm. But make sure it does the right thing before committing and rebooting.&lt;BR /&gt;&lt;BR /&gt;Trevor.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2008 06:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122489#M588119</guid>
      <dc:creator>Trevor Roddam_1</dc:creator>
      <dc:date>2008-08-01T06:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122490#M588120</link>
      <description>Did you try to use this -&lt;BR /&gt;&lt;BR /&gt;please do the following steps.....:&lt;BR /&gt;1.  save /etc/lvmtab to another file&lt;BR /&gt;2.  remove /etc/lvmtab&lt;BR /&gt;3.  use vgscan(1m) -v to re-create /etc/lvmtab&lt;BR /&gt;4.  NOW use vgcfgbackup(1m) to save the LVM setup&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2008 07:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122490#M588120</guid>
      <dc:creator>Masud Parvez</dc:creator>
      <dc:date>2008-08-01T07:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122491#M588121</link>
      <description>Hi!&lt;BR /&gt;as u r saying the vg is not there then simply run # vgexport &lt;VGXX&gt;&lt;BR /&gt;&lt;BR /&gt;AS the vg is cluster awared make sure it is deactive or u can try #vgchange -c n &lt;VGCHANGE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;vjta&lt;/VGCHANGE&gt;&lt;/VGXX&gt;</description>
      <pubDate>Wed, 06 Aug 2008 08:42:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122491#M588121</guid>
      <dc:creator>vjta</dc:creator>
      <dc:date>2008-08-06T08:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122492#M588122</link>
      <description>Hi !&lt;BR /&gt;sorry pls read as &lt;BR /&gt;#vgchange -c n &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;vjta&lt;/VGNAME&gt;</description>
      <pubDate>Wed, 06 Aug 2008 08:44:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122492#M588122</guid>
      <dc:creator>vjta</dc:creator>
      <dc:date>2008-08-06T08:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Remove items in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122493#M588123</link>
      <description>I exported all the vg that belongs to servicegard. Ran vgscan. Then import the exported vgs.</description>
      <pubDate>Wed, 06 Aug 2008 22:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-items-in-lvmtab/m-p/5122493#M588123</guid>
      <dc:creator>Kaleung Tsou</dc:creator>
      <dc:date>2008-08-06T22:12:33Z</dc:date>
    </item>
  </channel>
</rss>

