<?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: decrease logical volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680007#M52857</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you don't have Online/JFS you cannot shrink a log. volume / filesystem.&lt;BR /&gt;You have to backup the data (filesystem) of the log. volume, umount , remove log. volume, recreate log. volume with new size, make filesystem on log. volume (newfs) , mount again and restore the backuped data.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
    <pubDate>Mon, 11 Mar 2002 09:34:06 GMT</pubDate>
    <dc:creator>Andreas Voss</dc:creator>
    <dc:date>2002-03-11T09:34:06Z</dc:date>
    <item>
      <title>decrease logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680006#M52856</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I try to use sam to decrease the logical volume. I found there is only "increase logical volume" in the sam.&lt;BR /&gt;&lt;BR /&gt;Would someone please to tell me how to decrease the logical volume?&lt;BR /&gt;&lt;BR /&gt;thanks a lot.&lt;BR /&gt;&lt;BR /&gt;zhiyong</description>
      <pubDate>Mon, 11 Mar 2002 09:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680006#M52856</guid>
      <dc:creator>szhiyong</dc:creator>
      <dc:date>2002-03-11T09:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: decrease logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680007#M52857</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you don't have Online/JFS you cannot shrink a log. volume / filesystem.&lt;BR /&gt;You have to backup the data (filesystem) of the log. volume, umount , remove log. volume, recreate log. volume with new size, make filesystem on log. volume (newfs) , mount again and restore the backuped data.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 11 Mar 2002 09:34:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680007#M52857</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2002-03-11T09:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: decrease logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680008#M52858</link>
      <description>Hi,&lt;BR /&gt;#lvreduce -L (size in MB) /dev/vgxx/lvolx&lt;BR /&gt;&lt;BR /&gt; LVM does not store any information about which physical extents within&lt;BR /&gt; a logical volume contain useful data; therefore, reducing the space&lt;BR /&gt; allocated to a logical volume without doing a prior backup of the data&lt;BR /&gt; could lead to the loss of useful data.  The lvreduce command on a&lt;BR /&gt; logical volume containing a file system of greater length than the&lt;BR /&gt; size being reduced to will cause data corruption.&lt;BR /&gt;&lt;BR /&gt; To reduce a logical volume being used for swap, that swap area must&lt;BR /&gt; not be currently in use.&lt;BR /&gt;&lt;BR /&gt;See man lvreduce for details.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Animesh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Mar 2002 09:43:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680008#M52858</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2002-03-11T09:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: decrease logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680009#M52859</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you don't have Online JFS, it's not possible to decrease a logical volume. You could do something instead:&lt;BR /&gt;&lt;BR /&gt;make a backup of the logical volume, after that remove the old logical volume, create a new one and restore the backup into the new logical volume.&lt;BR /&gt;&lt;BR /&gt;To find out, if you use Online JFS, simply have a look into your /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 11 Mar 2002 09:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680009#M52859</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-03-11T09:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: decrease logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680010#M52860</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;# tar -c /myfs&lt;BR /&gt;# umount /myfs&lt;BR /&gt;#newfs -F vxfs -s xxxxx /dev/vg01/rmyfs&lt;BR /&gt;#mount /myfs&lt;BR /&gt;#tar -x /myfs&lt;BR /&gt;#bdf /myfs&lt;BR /&gt;&lt;BR /&gt;with this you are reducing the file system "myfs" that is JFS (without online JFS)&lt;BR /&gt;&lt;BR /&gt;#lvreduce -L xx /dev/vg01/myfs&lt;BR /&gt;&lt;BR /&gt;with this terminate of reducing the logical volume. Be careful, before make the lvreduce be sure that you were reducing the file system.&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;Jota.</description>
      <pubDate>Mon, 11 Mar 2002 09:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680010#M52860</guid>
      <dc:creator>Jose Juan</dc:creator>
      <dc:date>2002-03-11T09:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: decrease logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680011#M52861</link>
      <description>See the man page of command "lvreduce" &lt;BR /&gt;&lt;BR /&gt;If you are not having Online JFS , reducing a logical volume will wash out the data in it.&lt;BR /&gt;&lt;BR /&gt;However you can take backup and reduce the required voulume and once you have reduced it then restore from backup.&lt;BR /&gt;&lt;BR /&gt;Ex. &lt;BR /&gt;&lt;BR /&gt;Decrease the logical volume size by decreasing the number of logical extents allocated to it.&lt;BR /&gt;&lt;BR /&gt;"lvreduce -l 100 /dev/vg01/lvol3"  will reduce the logical extents allocated for /dev/vg01/lvol1 to 100 numbers.&lt;BR /&gt;&lt;BR /&gt;see also the man page of command "lvdisplay" ;&lt;BR /&gt;to get the current characteristics of the logical voulme which includes the extent size and the current extent allocated.&lt;BR /&gt;&lt;BR /&gt;-K.Vijay</description>
      <pubDate>Mon, 11 Mar 2002 09:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680011#M52861</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2002-03-11T09:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: decrease logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680012#M52862</link>
      <description>HPUX system administration Tasks manual should help you. &lt;BR /&gt;                                          See the link, &lt;BR /&gt;&lt;BR /&gt;                                          &lt;A href="http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90672/B2355-90672_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90672/00/00/1-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90672/00/00/1-toc.html&amp;amp;searchterms=system%7cadministration%7ctasks&amp;amp;queryid=20020303-234636" target="_blank"&gt;http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90672/B2355-90672_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90672/00/00/1-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90672/00/00/1-toc.html&amp;amp;searchterms=system%7cadministration%7ctasks&amp;amp;queryid=20020303-234636&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                                          -Vijay</description>
      <pubDate>Mon, 11 Mar 2002 09:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680012#M52862</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2002-03-11T09:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: decrease logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680013#M52863</link>
      <description>Of course if you have enough diskspace in the VG; create a new lvol, mount it and copy the data over, then remove the "old" lvol. remember to correct fstab.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Mon, 11 Mar 2002 10:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680013#M52863</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2002-03-11T10:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: decrease logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680014#M52864</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for all your help. I really appreciated it.&lt;BR /&gt;&lt;BR /&gt;Have a good day.&lt;BR /&gt;&lt;BR /&gt;zhiyong</description>
      <pubDate>Mon, 11 Mar 2002 11:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decrease-logical-volume/m-p/2680014#M52864</guid>
      <dc:creator>szhiyong</dc:creator>
      <dc:date>2002-03-11T11:01:14Z</dc:date>
    </item>
  </channel>
</rss>

