<?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 with many disks in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903545#M492713</link>
    <description>do a&lt;BR /&gt;&lt;BR /&gt;man lvmpvg&lt;BR /&gt;&lt;BR /&gt;this will help you.</description>
    <pubDate>Thu, 29 Sep 2016 20:33:30 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2016-09-29T20:33:30Z</dc:date>
    <item>
      <title>lvreduce with many disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903373#M492708</link>
      <description>&lt;P&gt;Need some help, for some reason I have encountered this issue and I can not wrap my head around a solution.&lt;/P&gt;&lt;P&gt;The issue I'm having involves a storage migration. I have a volume group with quite a few 100GB LUNs. All of these luns make up one logical volume. I need to mirror that logical volume to new 3Par disks. No issues there, my issue comes in the splitting off of the old LUNs (original luns).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that when I do the lvreduce to break off the original disks, I don't have enough characters on the command line to accomodate all of the disks I need to split off.&lt;/P&gt;&lt;P&gt;How do I split off (lvreduce) a large number of disks?&lt;/P&gt;&lt;P&gt;Hopefully that makes some sense.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bryan&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 14:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903373#M492708</guid>
      <dc:creator>achduliebe</dc:creator>
      <dc:date>2016-09-29T14:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce with many disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903403#M492709</link>
      <description>&lt;P&gt;Ok, well I did a bit more digging and found this post:&lt;/P&gt;&lt;P&gt;/t5/LVM-and-VxVM/lvreduce-m-0-multiple-PV-s/td-p/5083917&lt;/P&gt;&lt;P&gt;So basically what I was missing was adding "\" to continue the input line. I don't know why I could not pull that out of my head, as many times as I have used that...&lt;/P&gt;&lt;P&gt;As an FYI, here is what the command would look like:&lt;/P&gt;&lt;P&gt;lvreduce -m 0 /dev/vgXX/lvolYY /dev/disk/disk## /dev/disk/disk## \&lt;/P&gt;&lt;P&gt;/dev/disk/disk## /dev/disk/disk## \&lt;/P&gt;&lt;P&gt;/dev/disk/disk## /dev/disk/disk## \&lt;/P&gt;&lt;P&gt;/dev/disk/disk##&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 15:27:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903403#M492709</guid>
      <dc:creator>achduliebe</dc:creator>
      <dc:date>2016-09-29T15:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce with many disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903432#M492710</link>
      <description>&lt;P&gt;&amp;gt; [...] I don't have enough characters on the command line [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For some shell or other (which?)?&amp;nbsp; Using some terminal/emulator?&lt;BR /&gt;What, exactly, do you think limits what, exactly?&lt;/P&gt;&lt;P&gt;&amp;gt; [...] adding "\" to continue the input line. [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp; Or just keep typing past (whatever you think is) the end of the line?&lt;/P&gt;&lt;P&gt;&amp;gt; [...] can not wrap my head around [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It's a line-wrap question, not a head-wrap question.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 15:49:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903432#M492710</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2016-09-29T15:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce with many disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903461#M492711</link>
      <description>&lt;P&gt;This is a common misunderstanding about line lengths. Your terminal emulator (SecureCRT, Reflection, PuTTY, xterm...) provides an artificial line length that may be 80 or 100 or more characters. But the right end of the screen is meaningless to the shell which is limited to about 250 characters for an input line. And vi is limited to about 4000 characters on a single line.&lt;/P&gt;&lt;P&gt;Or&amp;nbsp;for lvreduce, you can issue the command several times to remove a few LUNs at a time.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 17:02:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903461#M492711</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2016-09-29T17:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce with many disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903512#M492712</link>
      <description>&lt;P&gt;&amp;gt; [...] the shell which is limited to about 250 characters for an input&lt;BR /&gt;&amp;gt; line. [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This depends on which "the shell" you use.&amp;nbsp; Around here, for example:&lt;/P&gt;&lt;P&gt;rux# uname -a&lt;BR /&gt;HP-UX rux B.11.31 U ia64 1678555272 unlimited-user license&lt;/P&gt;&lt;P&gt;And "/bin/sh" stops accepting input at 250 characters, so a command like&lt;BR /&gt;"echo &amp;lt;blah, blah, ...&amp;gt; is stopped at a point like this (as seen on an&lt;BR /&gt;80-character-wide terminal):&lt;/P&gt;&lt;P&gt;1 123456789 123456789 123456789 123456789 123456789 2 123456789 123456789 123456&lt;BR /&gt;789 123456789 123456789 3 123456789 123456789 123456789 123456789 123456789 4 12&lt;BR /&gt;3456789 123456789 123456789 123456789 123456789 5 123456789 123456789 123456789&lt;BR /&gt;12345&lt;/P&gt;&lt;P&gt;("echo " + 245 characters = 250 characters.)&lt;/P&gt;&lt;P&gt;But GNU bash has no such (low) limit:&lt;/P&gt;&lt;P&gt;1 123456789 123456789 123456789 123456789 123456789 2 123456789 123456789 123456&lt;BR /&gt;789 123456789 123456789 3 123456789 123456789 123456789 123456789 123456789 4 12&lt;BR /&gt;3456789 123456789 123456789 123456789 123456789 5 123456789 123456789 123456789&lt;BR /&gt;123456789 123456789 6 123456789 123456789 123456789 123456789 123456789 7 123456&lt;BR /&gt;789 123456789 123456789 123456789 123456789 8 123456789 123456789 123456789 1234&lt;BR /&gt;56789 123456789 9 123456789 123456789 123456789 123456789 123456789 A 123456789&lt;BR /&gt;123456789 123456789 123456789 123456789 B 123456789 123456789 123456789 12345678&lt;BR /&gt;9 123456789 C 123456789 123456789 123456789 123456789 123456789 D 123456789 1234&lt;BR /&gt;56789 123456789 123456789 123456789 E 123456789 123456789 123456789 123456789 12&lt;BR /&gt;3456789 F 123456789 123456789 123456789 123456789 123456789&lt;/P&gt;&lt;P&gt;("echo " + 779 characters = 784 characters, with no end in sight.)&lt;BR /&gt;&lt;BR /&gt;rux# $0 --version&lt;BR /&gt;$0 --version&lt;BR /&gt;GNU bash, version 3.2.0(1)-release (ia64-hp-hpux11.31)&lt;BR /&gt;Copyright (C) 2005 Free Software Foundation, Inc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; But certainly, using backslash-escaped line breaks, and writing a&lt;BR /&gt;script instead of trying to enter such a long line manually (even&lt;BR /&gt;employing the new copy+paste technology which I used) makes more sense.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 18:29:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903512#M492712</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2016-09-29T18:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce with many disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903545#M492713</link>
      <description>do a&lt;BR /&gt;&lt;BR /&gt;man lvmpvg&lt;BR /&gt;&lt;BR /&gt;this will help you.</description>
      <pubDate>Thu, 29 Sep 2016 20:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-with-many-disks/m-p/6903545#M492713</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2016-09-29T20:33:30Z</dc:date>
    </item>
  </channel>
</rss>

