<?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 lvextend pain in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941473#M798049</link>
    <description>Hi All, &lt;BR /&gt;&lt;BR /&gt;I very absent-mindedly did an lvextend on a logical volume that was still mounted! The lv was not extended, but if I do a vgdisplay I see that the extents have been used up! how can I reverse what I've done?&lt;BR /&gt;&lt;BR /&gt;I've thought of lvreducing the logical volume and then re-extending it. I realise I'll probably end up having to go to backup tapes to restore the data. &lt;BR /&gt;&lt;BR /&gt;Before I try this I was hoping that someone could confirm that this is the way to go, of if someone can suggest a better way. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Thu, 17 Nov 2005 14:00:47 GMT</pubDate>
    <dc:creator>Kevin Epstein</dc:creator>
    <dc:date>2005-11-17T14:00:47Z</dc:date>
    <item>
      <title>lvextend pain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941473#M798049</link>
      <description>Hi All, &lt;BR /&gt;&lt;BR /&gt;I very absent-mindedly did an lvextend on a logical volume that was still mounted! The lv was not extended, but if I do a vgdisplay I see that the extents have been used up! how can I reverse what I've done?&lt;BR /&gt;&lt;BR /&gt;I've thought of lvreducing the logical volume and then re-extending it. I realise I'll probably end up having to go to backup tapes to restore the data. &lt;BR /&gt;&lt;BR /&gt;Before I try this I was hoping that someone could confirm that this is the way to go, of if someone can suggest a better way. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 17 Nov 2005 14:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941473#M798049</guid>
      <dc:creator>Kevin Epstein</dc:creator>
      <dc:date>2005-11-17T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend pain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941474#M798050</link>
      <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;I think you mean that you *did* the 'lvextend' on the logical volume, but did *not* exten the file system.&lt;BR /&gt;&lt;BR /&gt;If that is the case, you should be able to 'lvreduce' the logical volume back to its original size without harm.&lt;BR /&gt;&lt;BR /&gt;As insurance, of course, be sure to backup the filesystem that lives in the logical volume beforehand!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 17 Nov 2005 14:07:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941474#M798050</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-11-17T14:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend pain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941475#M798051</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I think you're right. I did lvextend -L 20000 /dev/vg02/lvol1&lt;BR /&gt;&lt;BR /&gt;Can I not just do the extendfs command now?&lt;BR /&gt;Do I have to first reduce?&lt;BR /&gt;&lt;BR /&gt;Kevin</description>
      <pubDate>Thu, 17 Nov 2005 14:15:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941475#M798051</guid>
      <dc:creator>Kevin Epstein</dc:creator>
      <dc:date>2005-11-17T14:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend pain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941476#M798052</link>
      <description>You should be able to unmount the file system and run extendfs.  No need to lvreduce.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 17 Nov 2005 14:16:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941476#M798052</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-11-17T14:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend pain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941477#M798053</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Again, if I understood you, and you mean that you 'lvextend'ed the wrong logical volume, and thus you want to reclaim the phyical extents it took, then read my first post.&lt;BR /&gt;&lt;BR /&gt;If you mis-sized the logical volume too large, you can also 'lvreduce' it to a smaller size, AS LONG AS you do not reduce it smaller than the size of the fileystem it contains.  Then extend the filesystem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 17 Nov 2005 14:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941477#M798053</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-11-17T14:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend pain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941478#M798054</link>
      <description>The LV still being mounted is no problem. &lt;BR /&gt;The extends have not been used since you did not extend the filesystem yet, so lvreducing should be OK if you need these extends for another LV. If you would like to extend this FS then this could be done on-line when you have onlineJFS installed using "fsadm -F vxfs -b ........" (see man fsadm_vxfs) [if this is a vxfs-FS)  If no onlineJFS is available then the only option is unmounting the filesystem and use "extendfs ....."</description>
      <pubDate>Fri, 18 Nov 2005 03:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941478#M798054</guid>
      <dc:creator>SGUX</dc:creator>
      <dc:date>2005-11-18T03:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend pain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941479#M798055</link>
      <description>Hey All - it's been a long week. After the first response about not actually extending the FS I realized no mistake had been made - rather I'd only done half the job!&lt;BR /&gt;After unmounting and doing the extendfs all was well in the world once again.&lt;BR /&gt;&lt;BR /&gt;Thanks again for all the replies&lt;BR /&gt;Kevin</description>
      <pubDate>Fri, 18 Nov 2005 03:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941479#M798055</guid>
      <dc:creator>Kevin Epstein</dc:creator>
      <dc:date>2005-11-18T03:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend pain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941480#M798056</link>
      <description>Thanks all</description>
      <pubDate>Fri, 18 Nov 2005 03:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-pain/m-p/4941480#M798056</guid>
      <dc:creator>Kevin Epstein</dc:creator>
      <dc:date>2005-11-18T03:57:33Z</dc:date>
    </item>
  </channel>
</rss>

