<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6729360#M492579</link>
    <description>I need yp reduce data mount point from 6gb to 3 GB .please share the procedure</description>
    <pubDate>Mon, 06 Apr 2015 05:30:43 GMT</pubDate>
    <dc:creator>rajesh73</dc:creator>
    <dc:date>2015-04-06T05:30:43Z</dc:date>
    <item>
      <title>lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6729318#M492577</link>
      <description>We have online jfs installed .now I need to reduce the filesystem.&lt;BR /&gt;&lt;BR /&gt;fsadm -f vxfs -b 3000 /data&lt;BR /&gt;&lt;BR /&gt;This above command will work or not?&lt;BR /&gt;&lt;BR /&gt;How to check the vxfs version and vg and lvm version&lt;BR /&gt;</description>
      <pubDate>Sun, 05 Apr 2015 20:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6729318#M492577</guid>
      <dc:creator>rajesh73</dc:creator>
      <dc:date>2015-04-05T20:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6729339#M492578</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt; &lt;STRONG&gt;fsadm -f vxfs -b 3000 /data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the man page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;-b newsize  Resize the file system to newsize sectors.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;However, nowhere in the man page is a "sector" defined. One could guess that it means 512 bytes as it has for decades when referring to disks. However, by experimentation it would appear that &lt;STRONG&gt;fsadm&lt;/STRONG&gt; sectors are 1024 bytes, so your command will change the filesystem to 3000 sectors which is 3 megabytes...probably not what you wanted. The good news is that if the filesystem is larger than 3 megabytes, the command will not make any changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the man page has been defective ever since &lt;STRONG&gt;fsadm&lt;/STRONG&gt; was created. There is an undocumented suffix that can be added to make the number (3000 in this case) represent megabytes, like this: 3000m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the command is probably: &lt;STRONG&gt;fsadm -f vxfs -b 3000m /data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I say probably because you did not tell us how big the the current lvol is and how much of the lvol is occupied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as versions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;vxfs version = &lt;STRONG&gt;fstyp -v /dev/vg00/lvol3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LVM version = &lt;STRONG&gt;what /sbin/vgdisplay&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...all LVM commands are actually one executable so &lt;STRONG&gt;what&lt;/STRONG&gt; with any command will be the same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VG version = &lt;STRONG&gt;vgdisplay vg00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...For VG version, if vgdisplay does not report "VG Version" then the VG is version 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 14:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6729339#M492578</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-04-06T14:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6729360#M492579</link>
      <description>I need yp reduce data mount point from 6gb to 3 GB .please share the procedure</description>
      <pubDate>Mon, 06 Apr 2015 05:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6729360#M492579</guid>
      <dc:creator>rajesh73</dc:creator>
      <dc:date>2015-04-06T05:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6729494#M492580</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;I need yp reduce data mount point from 6gb to 3 GB .please share the procedure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Online JFS is installed then you can do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# fsadm -F vxfs -b 3072m /data&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# lvreduce -L 3072 /dev/vg?/lvol?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where "/dev/vg?/lvol?" is the name is the LV for this mountpoint.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 13:40:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6729494#M492580</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2015-04-06T13:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6752763#M492581</link>
      <description>&lt;P&gt;Take backup of your mountpoint before running lvreduce.&lt;/P&gt;&lt;P&gt;If db mountpoint , shut application down &amp;amp; then a cold backup.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 05:13:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/6752763#M492581</guid>
      <dc:creator>chindi</dc:creator>
      <dc:date>2015-06-05T05:13:43Z</dc:date>
    </item>
  </channel>
</rss>

