<?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: fsadm error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949300#M635022</link>
    <description>Did you re-org it first?&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -d -D -e -E /usr&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Fri, 11 Apr 2003 13:47:23 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-04-11T13:47:23Z</dc:date>
    <item>
      <title>fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949299#M635021</link>
      <description>Hi!&lt;BR /&gt;I have having a little problem rying to figure out following error by fsadm:&lt;BR /&gt;fsadm -F vxfs -b 1024000 /usr&lt;BR /&gt;vxfs fsadm: /dev/vg00/rlvol8 is currently 1634304 sectors - size will be reduced&lt;BR /&gt;vxfs fsadm: allocations found in shrink range, moving data&lt;BR /&gt;vxfs fsadm: cannot shrink /dev/vg00/rlvol8 - blocks are currently in use.&lt;BR /&gt;&lt;BR /&gt;I don't to unmount /usr to srhink it, so any help on working around this problem is appreciated. &lt;BR /&gt;M</description>
      <pubDate>Fri, 11 Apr 2003 13:44:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949299#M635021</guid>
      <dc:creator>moliere francois</dc:creator>
      <dc:date>2003-04-11T13:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949300#M635022</link>
      <description>Did you re-org it first?&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -d -D -e -E /usr&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 11 Apr 2003 13:47:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949300#M635022</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-04-11T13:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949301#M635023</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;While degragmentation *may* allow a subsequent attempt to shrink the filesystem size to work, the failure rate is high for JFS versions prior to 3.3.&lt;BR /&gt;&lt;BR /&gt;If you *must* shink the filesystem, you could backup the data; boot into single user mode; 'lvreduce' and 'newfs' the filesystem to the intended size; and then reload your data.&lt;BR /&gt;&lt;BR /&gt;Another alternative, since this is a vg00 filesystem, is to re-Ignite your server using an Ignite recovery tape.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Apr 2003 13:58:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949301#M635023</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-04-11T13:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949302#M635024</link>
      <description>As mentioned by JRF, FS shrinking operation is best done by backing it up and recreating the LV. In you case (if you have OnlineJFS) the command you use should work. If you don't hv OnlineJFS the only way is to do this in single user mode.&lt;BR /&gt;# fsadm -F vxfs -b 10240000 /dev/vg00/rlvol8&lt;BR /&gt;and then resize the LV accordingly with lvreduce.</description>
      <pubDate>Fri, 11 Apr 2003 14:31:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949302#M635024</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-04-11T14:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949303#M635025</link>
      <description>This error seems to indicate that you don't have online JFS but only the base JFS version.&lt;BR /&gt;&lt;BR /&gt;Does this work?:&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -d -D -e -E /usr&lt;BR /&gt;&lt;BR /&gt;If this fails then you will have to umount /usr in order to grow /usr but WILL NOT BE ABLE TO SHRINK IT safely without a reinstall.</description>
      <pubDate>Fri, 11 Apr 2003 15:10:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949303#M635025</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-04-11T15:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949304#M635026</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Since it is the '/usr' filesystem tthat you want to shrink, obtaining a quiescent filesystesm would require a boot-up into single user mode where '/usr' isn't mounted.&lt;BR /&gt;&lt;BR /&gt;Since the 'fsadm' binary lives in '/usr' with no version available in '/sbin' (AFAIK) you will need to mount '/usr' while still in single-user mode.  *Then* you might (or not) be sucessful in dynamically shrinking the filesystem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Apr 2003 15:17:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949304#M635026</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-04-11T15:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949305#M635027</link>
      <description>The defrag. process of running fsadm -F vxfs -d -D -e -E did not solve the problem. However, I get a different error message now when I try to shrink /usr.&lt;BR /&gt;fsadm -F vxfs -b 10240000 /usr&lt;BR /&gt;vxfs fsadm: /dev/vg00/rlvol8 is currently 1634304 sectors - size will be increased&lt;BR /&gt;vxfs fsadm: write failure at block 14434302 : No such device or address.&lt;BR /&gt;&lt;BR /&gt;I have booted in single user mode to reduce /usr, but the binaries reside in /usr as previously pointed out. Running fsadm on /usr in single user mode produced the following error:&lt;BR /&gt;&lt;BR /&gt;fsadm: you don't have a license to run this program&lt;BR /&gt;&lt;BR /&gt;I understand that I may not have the full version of online jfs since swlist is reporting:&lt;BR /&gt;B3929CA                       B.11.11        HP OnLineJFS &lt;BR /&gt;I am thinking that perhaps, I need to have the Advanced Vxfs FileSystem loaded.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Apr 2003 20:11:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949305#M635027</guid>
      <dc:creator>moliere francois</dc:creator>
      <dc:date>2003-04-11T20:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949306#M635028</link>
      <description>First of all the second time you ran the fsadm command, you increased the size by 10x over the first time you ran the command. That is why you are getting the error that it can't EXPAND past block xxxx.&lt;BR /&gt;If you cut and pasted the commands as they were typed, then you didn't reduce it to 1gb you expanded it to 10.</description>
      <pubDate>Fri, 11 Apr 2003 20:27:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949306#M635028</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-04-11T20:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949307#M635029</link>
      <description>Thanks John ... it's my typo mistake, extra "0". Check if the vxadv driver is in your kernel or not (you can use SAM) or &lt;BR /&gt;# grep vxadv /stand/system&lt;BR /&gt;OnlineJFS needs that driver to work.</description>
      <pubDate>Fri, 11 Apr 2003 20:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949307#M635029</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-04-11T20:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949308#M635030</link>
      <description>You Online JFS 3.3 license is stored and configured in /etc/inittab which is not read until run level 2.&lt;BR /&gt;&lt;BR /&gt;I would not proceed with this reduction.  You take the chance of truncating some of your O/S.  This is because /usr is not contiguous.  The entire lvol is utilized, hence the need to defragment.  Although decrementing approaches contiguousness, it doesn't guarantee it.&lt;BR /&gt;&lt;BR /&gt;One final note, you're defrag will probably fail if you're over 85% utilized.  Some temporary work space is needed for the procedure.</description>
      <pubDate>Sat, 12 Apr 2003 00:53:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949308#M635030</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-04-12T00:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949309#M635031</link>
      <description>Regarding:  "...Although decrementing ..."&lt;BR /&gt;&lt;BR /&gt;...should read "...Although defragmenting...".</description>
      <pubDate>Sat, 12 Apr 2003 00:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949309#M635031</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-04-12T00:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949310#M635032</link>
      <description>Ok, this is what I had to resort to in order to reduce /usr since nothing else worked.&lt;BR /&gt;created a 1 GB logical volume (lvol9)  and mount it at /usr2 &lt;BR /&gt;then copied the content of /usr to /usr2&lt;BR /&gt;changed /etc/fstab to reflect lvol9 mounting at /usr &lt;BR /&gt;rebooted&lt;BR /&gt;lreduce /dev/vg00/lvol8 -L 1024M&lt;BR /&gt;(note) I could not fsck lvol8 no matter what options I used. Apparently lvol8 was beyond repair and I had to newfs it instead.&lt;BR /&gt;newfs -F vxfs /dev/vg00/rlvol8&lt;BR /&gt;mount /dev/vg00/lvol8 /us2&lt;BR /&gt;restored the content from temporary /usr to /usr2&lt;BR /&gt;cp -R -p * /usr2&lt;BR /&gt;changed /etc/fstab to reflect lvol 8 mounting at /usr&lt;BR /&gt;reboot and it worked like a charm.&lt;BR /&gt;/usr has been reduced to 1 GB as needed.&lt;BR /&gt;&lt;BR /&gt;Thanks to all who have responded. You guys are great!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 13:39:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-error/m-p/2949310#M635032</guid>
      <dc:creator>moliere francois</dc:creator>
      <dc:date>2003-04-16T13:39:32Z</dc:date>
    </item>
  </channel>
</rss>

