<?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 fsadm to decrease the filesystem size fails with error... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472422#M654475</link>
    <description>When I run fsadm to decrease the filesystem size, the command results in the following. This is on Series 700 system, running hp-ux 10.20.&lt;BR /&gt;&lt;BR /&gt;# bdf /var&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol8     462848   94095  346975   21% /var&lt;BR /&gt;# fsadm -F vxfs -b 350000 /var&lt;BR /&gt;fsadm:  cannot shrink /dev/vg00/rlvol8 - upgraded fs - inodes are currently in use.&lt;BR /&gt;</description>
    <pubDate>Mon, 11 Dec 2000 04:46:17 GMT</pubDate>
    <dc:creator>Yashwanth</dc:creator>
    <dc:date>2000-12-11T04:46:17Z</dc:date>
    <item>
      <title>fsadm to decrease the filesystem size fails with error...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472422#M654475</link>
      <description>When I run fsadm to decrease the filesystem size, the command results in the following. This is on Series 700 system, running hp-ux 10.20.&lt;BR /&gt;&lt;BR /&gt;# bdf /var&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol8     462848   94095  346975   21% /var&lt;BR /&gt;# fsadm -F vxfs -b 350000 /var&lt;BR /&gt;fsadm:  cannot shrink /dev/vg00/rlvol8 - upgraded fs - inodes are currently in use.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2000 04:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472422#M654475</guid>
      <dc:creator>Yashwanth</dc:creator>
      <dc:date>2000-12-11T04:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm to decrease the filesystem size fails with error...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472423#M654476</link>
      <description>&lt;BR /&gt;fsadm can only decrease an lvol if the part of the filesystem you are trying to reduce has no files on it. In your case it does, so it is unable to reduce it. You can try to defrag the filesystem, this may move the offending file(s) to the first part of the filesystem allowing the reduce to work (use fsadm -e -d). &lt;BR /&gt;If you use JFS 3.3 (for 11) fsadm will attempt to move the offending files out of the way first which works most of the time, a good imporvement.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2000 08:16:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472423#M654476</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-12-11T08:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm to decrease the filesystem size fails with error...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472424#M654477</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For fsadm to be able to shrink your disk, you should first defragment it with:&lt;BR /&gt;fsadm -F vxfs -d -e -s /var&lt;BR /&gt;&lt;BR /&gt;The -s flag will provide you with a summary showing if some files couldn't be moved.&lt;BR /&gt;&lt;BR /&gt;You have a few files open on /var, like /var/adm/syslog/syslog.log which could be quite large and need to be moved.&lt;BR /&gt;'fuser' will report all processes having a file open.&lt;BR /&gt;&lt;BR /&gt;Once defragmented, you may shrink your filesystem using the same command you already tried.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2000 08:40:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472424#M654477</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-12-11T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm to decrease the filesystem size fails with error...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472425#M654478</link>
      <description>This problem is a known limitation of JFS.&lt;BR /&gt;&lt;BR /&gt;Reducing the size of a file system will fail if there are file-system resources currently in use within the sectors to be removed from the file system regardless of whatever is done first.&lt;BR /&gt;Therefore, fsadm is behaving correctly.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Dec 2000 09:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472425#M654478</guid>
      <dc:creator>Insu Kim</dc:creator>
      <dc:date>2000-12-12T09:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm to decrease the filesystem size fails with error...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472426#M654479</link>
      <description>indeed you can defrag with fsadm. defrag works straight forward over the volume from begin to the end. &lt;BR /&gt;&lt;BR /&gt;On a working machine the file system can put files in the just freed area. fsadm doesnt prevend this. So at the end of  the defrag action, there are new files in the area you want to reduce. &lt;BR /&gt;&lt;BR /&gt;To prevend this go to single user mode first.&lt;BR /&gt;Gool luck</description>
      <pubDate>Thu, 14 Dec 2000 17:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472426#M654479</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2000-12-14T17:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm to decrease the filesystem size fails with error...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472427#M654480</link>
      <description>Yashwanth !&lt;BR /&gt;   If fsadm fails, only way is to backup(of course multiple copies) the filesystem with all the attributes and reduce the lv and recreate the filesystem and restore the data.&lt;BR /&gt;&lt;BR /&gt;...Madhu</description>
      <pubDate>Thu, 14 Dec 2000 18:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-to-decrease-the-filesystem-size-fails-with-error/m-p/2472427#M654480</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-12-14T18:09:40Z</dc:date>
    </item>
  </channel>
</rss>

