<?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: Reverse lvextend in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428487#M623761</link>
    <description>Thanks!&lt;BR /&gt;&lt;BR /&gt;Excellent replies everyone. &lt;BR /&gt;&lt;BR /&gt;I forgot about pvmove, d'oh! Think I'll go with that for now, as it's less scary.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Matt.</description>
    <pubDate>Tue, 23 Nov 2004 08:38:18 GMT</pubDate>
    <dc:creator>Matt Wardle</dc:creator>
    <dc:date>2004-11-23T08:38:18Z</dc:date>
    <item>
      <title>Reverse lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428481#M623755</link>
      <description>Silly old me. Lventended filesystem without specifying the physical volume. Now it's extended on the wrong disk. I have not run fasdm -b yet to extend the filesystem, so can I just lvreduce the extents I just lvextended back to it's original size?&lt;BR /&gt;Or is there a risk the lvreduce will remove part of the original filesystem?&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;Matt.</description>
      <pubDate>Tue, 23 Nov 2004 06:41:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428481#M623755</guid>
      <dc:creator>Matt Wardle</dc:creator>
      <dc:date>2004-11-23T06:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428482#M623756</link>
      <description>Matt,&lt;BR /&gt;There are chances that you will be able to keep you data intact but it is not guranteed. I did it and i had my data intact. But it is always safe to have backup ready. If it works safely you save your restore time. That's all.&lt;BR /&gt;All the best.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Nov 2004 06:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428482#M623756</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-11-23T06:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428483#M623757</link>
      <description>Matt,&lt;BR /&gt;&lt;BR /&gt;It's worth a try, I suppose, but make absolutely sure you've got a good backup first.  From the man page:&lt;BR /&gt;&lt;BR /&gt;WARNINGS&lt;BR /&gt;      LVM does not store any information about which physical extents within a logical volume contain useful data; therefore, reducing the space allocated to a logical volume without doing a prior backup of the data could lead to the loss of useful data.  The lvreduce command on a logical volume containing a file system of greater length than the size being reduced to will cause data corruption.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 23 Nov 2004 07:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428483#M623757</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-11-23T07:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428484#M623758</link>
      <description>Absolutely !&lt;BR /&gt;&lt;BR /&gt;First be sure that your filesystem has not been extended by some automatic procedure. Compare bdf and lvdisplay output.&lt;BR /&gt;Then lvreduce the LV to the size of your filesystem. This is of no risk since there is actually nothing at all on that portion of the disk.&lt;BR /&gt;The lvextend again and fsadm your filesystem.&lt;BR /&gt;&lt;BR /&gt;I have even lvreduced LV's after having to shrink a filesystem with fsadm. All without problem, as long as the new size of lvreduce is not smaller that the size of uyour filesystem.</description>
      <pubDate>Tue, 23 Nov 2004 07:44:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428484#M623758</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2004-11-23T07:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428485#M623759</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I will use pvmove instaed of lvreduce and lvextend.This is absolute tested method. suppose you extend /dev/vg00/lvol6 to /dev/dsk/c0t1d0 but you want it to be on /dev/dsk/c0t2d0 then syntax will be like this&lt;BR /&gt;#pvmove -n /dev/vg00/lvol6 /dev/dsk/c0t1d0 /dev/dsk/c0t2d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Tue, 23 Nov 2004 07:49:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428485#M623759</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2004-11-23T07:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428486#M623760</link>
      <description>Yes, you can lvreduce back to the original,no problem (just get the original size correct!). Or you could pvmove the misplaced new extents onto the correct disk.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Tue, 23 Nov 2004 07:50:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428486#M623760</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2004-11-23T07:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428487#M623761</link>
      <description>Thanks!&lt;BR /&gt;&lt;BR /&gt;Excellent replies everyone. &lt;BR /&gt;&lt;BR /&gt;I forgot about pvmove, d'oh! Think I'll go with that for now, as it's less scary.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Matt.</description>
      <pubDate>Tue, 23 Nov 2004 08:38:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reverse-lvextend/m-p/3428487#M623761</guid>
      <dc:creator>Matt Wardle</dc:creator>
      <dc:date>2004-11-23T08:38:18Z</dc:date>
    </item>
  </channel>
</rss>

