<?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: Command to reduce the filesystem size? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351974#M625641</link>
    <description>Hi Jagadesh,&lt;BR /&gt;&lt;BR /&gt;There is no command to reduce filesystem.&lt;BR /&gt;&lt;BR /&gt;If you are trying to reduce the LV, be prepared to do a newfs on the reduced LV and restore the data from a backup.&lt;BR /&gt;&lt;BR /&gt;When you perform lvreduce, the command does not check if there is data in the extent it is removing, Therefore it may result in data loss.&lt;BR /&gt;&lt;BR /&gt;Supported method is,&lt;BR /&gt;&lt;BR /&gt;1) Backup filesystem&lt;BR /&gt;2) Lvreduce the LV&lt;BR /&gt;3) Newfs LV&lt;BR /&gt;4) Restore the backup&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;With regards,&lt;BR /&gt;Mohan.</description>
    <pubDate>Sun, 08 Aug 2004 00:06:25 GMT</pubDate>
    <dc:creator>Mohanasundaram_1</dc:creator>
    <dc:date>2004-08-08T00:06:25Z</dc:date>
    <item>
      <title>Command to reduce the filesystem size?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351973#M625640</link>
      <description>Dear All;&lt;BR /&gt;&lt;BR /&gt;To reduce the LV size we user lvreduce.&lt;BR /&gt;Is there any similar command to reduce the file system size.&lt;BR /&gt;&lt;BR /&gt;command similar to lvreduce.&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 07 Aug 2004 17:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351973#M625640</guid>
      <dc:creator>Jagadesh</dc:creator>
      <dc:date>2004-08-07T17:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Command to reduce the filesystem size?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351974#M625641</link>
      <description>Hi Jagadesh,&lt;BR /&gt;&lt;BR /&gt;There is no command to reduce filesystem.&lt;BR /&gt;&lt;BR /&gt;If you are trying to reduce the LV, be prepared to do a newfs on the reduced LV and restore the data from a backup.&lt;BR /&gt;&lt;BR /&gt;When you perform lvreduce, the command does not check if there is data in the extent it is removing, Therefore it may result in data loss.&lt;BR /&gt;&lt;BR /&gt;Supported method is,&lt;BR /&gt;&lt;BR /&gt;1) Backup filesystem&lt;BR /&gt;2) Lvreduce the LV&lt;BR /&gt;3) Newfs LV&lt;BR /&gt;4) Restore the backup&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;With regards,&lt;BR /&gt;Mohan.</description>
      <pubDate>Sun, 08 Aug 2004 00:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351974#M625641</guid>
      <dc:creator>Mohanasundaram_1</dc:creator>
      <dc:date>2004-08-08T00:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Command to reduce the filesystem size?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351975#M625642</link>
      <description>Don't try and reduce too much. If you try and lvreduce down to the last extent the commmand could fail, leaving you with no filesystem at all.&lt;BR /&gt;&lt;BR /&gt;A backup is always a good idea. I wasn't aware that newfs was necessary. If you're careful you might not need to do that.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 08 Aug 2004 01:01:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351975#M625642</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-08-08T01:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Command to reduce the filesystem size?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351976#M625643</link>
      <description>Hi^^..&lt;BR /&gt;&lt;BR /&gt;File system is a attribute. so, File system don't have the command of reduce or extend.&lt;BR /&gt;&lt;BR /&gt;Good day~~&lt;BR /&gt;</description>
      <pubDate>Sun, 08 Aug 2004 21:27:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351976#M625643</guid>
      <dc:creator>Lee Tae-kyung</dc:creator>
      <dc:date>2004-08-08T21:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Command to reduce the filesystem size?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351977#M625644</link>
      <description>With Online JFS, you can reduce on the fly with fsadm.&lt;BR /&gt;&lt;BR /&gt;fsadm -b &lt;NEW size="" in="" mb=""&gt;M /mountpoint&lt;BR /&gt;lvreduce -L &lt;NEW size="" in="" mb=""&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Sun, 08 Aug 2004 23:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351977#M625644</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-08-08T23:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Command to reduce the filesystem size?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351978#M625645</link>
      <description>Hi Jagadesh,&lt;BR /&gt;&lt;BR /&gt;(And Steve),This is what you can find in the man pages of lvreduce "warnings" section,&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.</description>
      <pubDate>Mon, 09 Aug 2004 01:52:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351978#M625645</guid>
      <dc:creator>Mohanasundaram_1</dc:creator>
      <dc:date>2004-08-09T01:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Command to reduce the filesystem size?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351979#M625646</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you are using Veritas Volume manager you can use vxassist to do this.&lt;BR /&gt;&lt;BR /&gt;In lvm if you have Online Jfs you can use fsadm.&lt;BR /&gt;&lt;BR /&gt;No other way to reduce FS without lossing data.&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Wed, 11 Aug 2004 02:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-reduce-the-filesystem-size/m-p/3351979#M625646</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2004-08-11T02:11:54Z</dc:date>
    </item>
  </channel>
</rss>

