<?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: lvreduce problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040884#M907516</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you truly want to "reclaim" the physical volume 'c4t10d2' from the volume group, then use 'pvmove' to move the physical extents allocated to that physical volume to another physical volume.  If successful, you will be able to 'vgreduce' the physical volume out of the volume group.  See the man pages for 'pvmove' for more information.  BTW, do not interrupt or otherwise kill the 'pvmove'.  It can leave things in an unusable state.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 04 Aug 2003 21:27:42 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2003-08-04T21:27:42Z</dc:date>
    <item>
      <title>lvreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040883#M907515</link>
      <description>--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol1b&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               0&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            25704&lt;BR /&gt;Current LE                  3213&lt;BR /&gt;Allocated PE                3213&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c4t10d2   46        46&lt;BR /&gt;   /dev/dsk/c10t8d1    1078      1078&lt;BR /&gt;   /dev/dsk/c10t8d2    1078      1078&lt;BR /&gt;   /dev/dsk/c10t8d3    923       923&lt;BR /&gt;   /dev/dsk/c10t8d7    88        88&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;how do I remove this disk, from the lvol?&lt;BR /&gt;/dev/dsk/c4t10d2. maybe my steps are #$%^&amp;amp;**&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Aug 2003 21:01:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040883#M907515</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-08-04T21:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040884#M907516</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you truly want to "reclaim" the physical volume 'c4t10d2' from the volume group, then use 'pvmove' to move the physical extents allocated to that physical volume to another physical volume.  If successful, you will be able to 'vgreduce' the physical volume out of the volume group.  See the man pages for 'pvmove' for more information.  BTW, do not interrupt or otherwise kill the 'pvmove'.  It can leave things in an unusable state.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 04 Aug 2003 21:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040884#M907516</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-08-04T21:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040885#M907517</link>
      <description>Hi Donny,&lt;BR /&gt;&lt;BR /&gt;The lvol1b shows that this lvol has been split from a mirror.&lt;BR /&gt;&lt;BR /&gt;You should be able to simly lvreduce it out&lt;BR /&gt;&lt;BR /&gt;lvreduce /dev/vg01/lvol1b&lt;BR /&gt;&lt;BR /&gt;It will ask it you really want to or some similar question so proceed with the removal.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
      <pubDate>Mon, 04 Aug 2003 21:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040885#M907517</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-04T21:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040886#M907518</link>
      <description>Two things.  One, have you thought about backing up the volume group, recreating it, and restoring it?  Might be easier. &lt;BR /&gt;&lt;BR /&gt;Two, I apologize if this is obvious, but you will want to make sure you get a good backup of whatever is on this filesystem before you attempt to do the above commands.  &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Mon, 04 Aug 2003 21:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040886#M907518</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2003-08-04T21:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040887#M907519</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;not sure if you understand the setup of lvm from your question, sorry if I've interpretted it wrongly, but hopefully this might be of help:&lt;BR /&gt;&lt;BR /&gt;* each disk is associated with a single volume group, a volume group can have many disks&lt;BR /&gt;* each logical volume is associated with a single volume group, a volume group can have many logical volumes&lt;BR /&gt;&lt;BR /&gt;   disk1   disk2 ...  diskn&lt;BR /&gt;        \    |       /&lt;BR /&gt;         volume group1&lt;BR /&gt;         /   |          lvol1   lvol2  ...  lvoln&lt;BR /&gt;&lt;BR /&gt;From your output you can see what physical disk the data in your logical volume is in but when you're dealing with a logical volume you go to the volume group rather than disks.&lt;BR /&gt;&lt;BR /&gt;Dunno why you want the stuff off that disk, guessing you want to either remove the disk or move the disk to another volume group?  If so James suggestion would be the way forward methinks, pvmove the stuff off the disk and then vgreduce it out of the volume group.&lt;BR /&gt;&lt;BR /&gt;Can't think of another reason to move stuff off a particular disk offhand, the logical volume can generally be 'striped' across physical volumes to increase performance.&lt;BR /&gt;&lt;BR /&gt;Maybe you know all that already, but if not hopefully its some bit helpful!&lt;BR /&gt;&lt;BR /&gt;Kevin.</description>
      <pubDate>Tue, 05 Aug 2003 10:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040887#M907519</guid>
      <dc:creator>Kevin O'Donovan</dc:creator>
      <dc:date>2003-08-05T10:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040888#M907520</link>
      <description>As it is already stated here, you're two options are either : &lt;BR /&gt;&lt;BR /&gt;1) use pvmove to move the extents that you have on /dev/dsk/c4t10d2 to another disk already in that VG &lt;BR /&gt;(eg. pvmove -n /dev/vg01/lvol1b /dev/dsk/c4t10d2 /dev/dsk/c10t8d7)&lt;BR /&gt;&lt;BR /&gt;2) take a backup of the LV itself, remove completely, and rebuild it then restore it. &lt;BR /&gt;&lt;BR /&gt;I,for one, like to use the pvmove options.  I like it cause it doesn't impact your users and it moves your data where you want it.</description>
      <pubDate>Tue, 05 Aug 2003 10:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-problem/m-p/3040888#M907520</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-08-05T10:56:46Z</dc:date>
    </item>
  </channel>
</rss>

