<?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 vgreduce problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700288#M644910</link>
    <description>I want to reduce one of the disks from the vg00. I cannot reduce it says it has some data in the disk. When I do pvdisplay on that disk I do see some of the extent are used. But I do not need this data. I tried to go to lvm maint mode but my system crashes when I tried to boot it on lvm maint mode. &lt;BR /&gt;&lt;BR /&gt;Is there any other way to remove this disk from the volume group?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Tue, 09 Apr 2002 18:36:26 GMT</pubDate>
    <dc:creator>sheevm</dc:creator>
    <dc:date>2002-04-09T18:36:26Z</dc:date>
    <item>
      <title>vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700288#M644910</link>
      <description>I want to reduce one of the disks from the vg00. I cannot reduce it says it has some data in the disk. When I do pvdisplay on that disk I do see some of the extent are used. But I do not need this data. I tried to go to lvm maint mode but my system crashes when I tried to boot it on lvm maint mode. &lt;BR /&gt;&lt;BR /&gt;Is there any other way to remove this disk from the volume group?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 09 Apr 2002 18:36:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700288#M644910</guid>
      <dc:creator>sheevm</dc:creator>
      <dc:date>2002-04-09T18:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700289#M644911</link>
      <description>Hi Raji,&lt;BR /&gt;&lt;BR /&gt;You can do following things to solve your problem.&lt;BR /&gt;&lt;BR /&gt;1. Identify the disk which you want to remove from volume group.&lt;BR /&gt;&lt;BR /&gt;2. FInd out which logical volume resides in that disk.&lt;BR /&gt;You can do vgdisplay -v /dev/vgXX that will give you the name of Logical volume residing on the disk unser consideration.&lt;BR /&gt;&lt;BR /&gt;3. remove all the LVs from the disk using lv remove.&lt;BR /&gt;Before doing so, please make sure that those LV you do not need.&lt;BR /&gt;&lt;BR /&gt;Once all LVs have been removed from that disk, you can do vgreduce /dev/vgXX /dev/dsk/cAtBdC......&lt;BR /&gt;&lt;BR /&gt;you are all set now.&lt;BR /&gt;&lt;BR /&gt;let me know if you have any questions.&lt;BR /&gt;&lt;BR /&gt;-pap&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Apr 2002 18:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700289#M644911</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-04-09T18:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700290#M644912</link>
      <description>Hi Raji:&lt;BR /&gt;&lt;BR /&gt;You don't need to boot in LVM maintenance mode for reducing a VG, unless something related to root filesystems.&lt;BR /&gt;&lt;BR /&gt;Before removing the PV, you have to remove or reduce the file systems from that. check it with:&lt;BR /&gt;&lt;BR /&gt;# pvdisplay -v /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;Remove those LVs, if not needed and then do a vgreduce. You have to unmount the file systems first.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 09 Apr 2002 18:46:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700290#M644912</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-09T18:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700291#M644913</link>
      <description>Hi Raji&lt;BR /&gt;&lt;BR /&gt;1. Do a vgdisplay -v to find the status of the disk you wnat to remove in terms of lvols .&lt;BR /&gt;&lt;BR /&gt;2. Remove the logical volumes .&lt;BR /&gt;&lt;BR /&gt;3. vgreduce the volume group.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 09 Apr 2002 18:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700291#M644913</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-09T18:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700292#M644914</link>
      <description>Raji,&lt;BR /&gt;&lt;BR /&gt; Be careful when reducing out of vg00 - you don't want to reduce out any of the disks containing boot or swap info. You really don't want to lose /var or /usr either.&lt;BR /&gt;definitely do the vgdisplay -v &amp;amp; determine just WHAT exactly you're reducing out BEFORE you go too far.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 09 Apr 2002 18:52:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700292#M644914</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-09T18:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700293#M644915</link>
      <description>How can I do the lvremove on the disk.&lt;BR /&gt;&lt;BR /&gt;/dev/vg00/lvol6 is currently used. But /dev/vg00/lvol6 on the disk I want to get rid of is part of the mirror I forgot to reduce.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Apr 2002 18:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700293#M644915</guid>
      <dc:creator>sheevm</dc:creator>
      <dc:date>2002-04-09T18:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700294#M644916</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;To remove the mirror:&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 /dev/vg00/lvol6 /dev/dsk/c#t#d# (the disk you want to reduce)&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 09 Apr 2002 18:59:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700294#M644916</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-04-09T18:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700295#M644917</link>
      <description>Hi Raji:&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 /dev/vg00/lvol6 PV_path&lt;BR /&gt;# pvdisplay -v PV_path&lt;BR /&gt;&lt;BR /&gt;If there is no other FS on this disk, then:&lt;BR /&gt;&lt;BR /&gt;# vgreduce /dev/vg00 PV_path&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 09 Apr 2002 19:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700295#M644917</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-09T19:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700296#M644918</link>
      <description>Shiju:&lt;BR /&gt;&lt;BR /&gt;I cannot lvreduce -m 0 on that disk because it says no mirror copies.&lt;BR /&gt;&lt;BR /&gt;This the procedure I did:&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1/dev/vg00/lvol6 /dev/dsk/c3t2d0&lt;BR /&gt;(mirrored fine because I had room for lvol6)&lt;BR /&gt;&lt;BR /&gt;But my original lvol6 spanned across two disks.&lt;BR /&gt;&lt;BR /&gt;When I reduced it&lt;BR /&gt;&lt;BR /&gt;I said&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/dsk/old1&lt;BR /&gt;&lt;BR /&gt;I should have said&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 disk1 disk2&lt;BR /&gt;&lt;BR /&gt;Now disk2 has /dev/vg00/lvol6 on some of the extents.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The problem is when I first reduced this /dev/vg00/lvol6 I should have give two disks(because lvol6 spanned on two disks)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; instead I only gave one disk</description>
      <pubDate>Tue, 09 Apr 2002 19:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700296#M644918</guid>
      <dc:creator>sheevm</dc:creator>
      <dc:date>2002-04-09T19:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700297#M644919</link>
      <description>Hi Raji:&lt;BR /&gt;&lt;BR /&gt;In this situation, If you have a good backup of vg00/lvol6, then I would remove this entire LV and recreate it on the new disk, then restore it from backup. This may save a lot of your time.&lt;BR /&gt;&lt;BR /&gt;However, as it is saying there is no mirror copies now. Confirm it with:&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol6 ( check for mirror copies)&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 09 Apr 2002 19:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700297#M644919</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-09T19:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700298#M644920</link>
      <description>You can use pvmove to move the physical extends of this lvol to another disk.  See man pvmove.</description>
      <pubDate>Tue, 09 Apr 2002 19:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-problem/m-p/2700298#M644920</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2002-04-09T19:27:46Z</dc:date>
    </item>
  </channel>
</rss>

