<?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: How to increase free space on /tmp using JFS? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077467#M601076</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is it possbile to "reduce" the /tmp file system at a later date?&lt;BR /&gt;&lt;BR /&gt;10 points to any answer.&lt;BR /&gt;Thank you&lt;BR /&gt;Gino</description>
    <pubDate>Thu, 27 Sep 2007 11:57:19 GMT</pubDate>
    <dc:creator>Gino Castoldi_2</dc:creator>
    <dc:date>2007-09-27T11:57:19Z</dc:date>
    <item>
      <title>How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077459#M601068</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;HPUX 11.11 JFS vg00 is mirrored&lt;BR /&gt;&lt;BR /&gt;We want to increase disk space on the /tmp&lt;BR /&gt;file system in the vg00 volume group.&lt;BR /&gt;&lt;BR /&gt;I believe we need to boot the server into single user mode so we can umount the /tmp&lt;BR /&gt;file system. What are the exact steps to increasing free disk space?&lt;BR /&gt;&lt;BR /&gt;10 points to any answer.&lt;BR /&gt;Thank you&lt;BR /&gt;Gino&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2007 08:19:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077459#M601068</guid>
      <dc:creator>Gino Castoldi_2</dc:creator>
      <dc:date>2007-09-27T08:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077460#M601069</link>
      <description>Gino,&lt;BR /&gt;&lt;BR /&gt;If you have OnlineJFS, it's simple and you don't need to reboot.  Check like this&lt;BR /&gt;&lt;BR /&gt;# swlist |grep -i online&lt;BR /&gt;  B3929CA                               B.11.11        HP OnLineJFS&lt;BR /&gt;OnlineJFS                             B.11.11.03.03  Online features of the Vx&lt;BR /&gt;FS File System&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If the above shows you have OnlineJFS you can expand by running "fsadm -b newsize mount_point".  Have a look at "man fsadm_vxfs" for details.&lt;BR /&gt;&lt;BR /&gt;If you don't have online JFS, then you have to run lvextend and extendfs, which requires the FS to be unmounted, probably necessitating a reboot to single user mode.  Look at "man lvextend", particularly the EXAMPLES section.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 27 Sep 2007 08:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077460#M601069</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-09-27T08:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077461#M601070</link>
      <description>Although it isn't the question you asked, you probably aren't asking the right question. The right question is why do you need to increase space on /tmp? On modern UNIX boxes (those less than about 15 years old), /tmp should only be used for temporary files directly associated with the OS. User temporary files should use /var/tmp and well-written applications (including scripts) will go a step further and query the TMPDIR environment variable and use that if defined and default to /var/tmp otherwise. Only on very rare occasions does /tmp itself need to be enlarged.</description>
      <pubDate>Thu, 27 Sep 2007 11:19:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077461#M601070</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-27T11:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077462#M601071</link>
      <description>Sorry Pete - you forgot to say you must lvextend prior to doing the fsadm command:&lt;BR /&gt;&lt;BR /&gt;If /tmp is /dev/vg00/lvol6&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;lvextend -L 1024 /dev/vg00/lvol6&lt;BR /&gt;fsadm -b 1024M /tmp&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 27 Sep 2007 11:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077462#M601071</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-09-27T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077463#M601072</link>
      <description>Clay,&lt;BR /&gt;&lt;BR /&gt;I agree with you about the general/normal use of the /tmp fs. However I have a specific/special reason for enlarging /tmp&lt;BR /&gt;&lt;BR /&gt;Our /tmp is currently 7GB and I want to increase it to 14GB. The reason is that we are running OVO/UX on this server (clustered) and we want to run the OVOU backup utility (opc_backup) which copies&lt;BR /&gt;several file systems and Oracle database files to disk and the best candidate for this is the /tmp filesystem. &lt;BR /&gt;&lt;BR /&gt;We really need a spare disk for this purpose&lt;BR /&gt;but for now this is the best we can do.&lt;BR /&gt;&lt;BR /&gt;10 points to any answer.&lt;BR /&gt;Thank you&lt;BR /&gt;Gino&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2007 11:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077463#M601072</guid>
      <dc:creator>Gino Castoldi_2</dc:creator>
      <dc:date>2007-09-27T11:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077464#M601073</link>
      <description>I wouldn't use /tmp for copying OVO db's and file systems - I would create a new file system for that purpose....&lt;BR /&gt;&lt;BR /&gt;Something like /data/openview/backup or /data/openview/tmp&lt;BR /&gt;&lt;BR /&gt;(that's what we do)&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 27 Sep 2007 11:37:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077464#M601073</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-09-27T11:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077465#M601074</link>
      <description>Mine is set up as /ovobackups and I also have a separate /download filesystem which is used to archive the OV/O history logs. My /ovobackups filesystem is sized large enough to handle the most recent 2 backups. This directory is backed up by Data Protector and a cron job runs to only keep the 2 most recent versions. Older backups can be restored by DP. In any event, OV/O is considered an application and /tmp should not be used. 7GiB is an enormous /tmp filesystem. By comparison, /tmp on my largest boxes is 512MiB and stays at 1% utilization almost all the time.</description>
      <pubDate>Thu, 27 Sep 2007 11:46:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077465#M601074</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-27T11:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077466#M601075</link>
      <description>You can increase /tmp very easy:&lt;BR /&gt;&lt;BR /&gt;If you have OnlineJfs installed: &lt;BR /&gt;&lt;BR /&gt;#lvextend -L 14436 /dev/vg00/lvolX  (see output from bdf, where /tmp is located)&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -b 14680064 /tmp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If don't have OnlineJFS:&lt;BR /&gt;&lt;BR /&gt;Check what process use /tmp with fuser and try to unmount it.&lt;BR /&gt;&lt;BR /&gt;#umount /dev/vg00/lvolX&lt;BR /&gt;&lt;BR /&gt;Do same as above - lvextend &lt;BR /&gt;#lvextend -L 14436 /dev/vg00/lvolX  &lt;BR /&gt;#extendfs -F vxfs  /dev/vg00/rlvolX&lt;BR /&gt; &lt;BR /&gt;Mount agains:&lt;BR /&gt;#mount /dev/vg00/lvolX /tmp&lt;BR /&gt;&lt;BR /&gt;If /tmp cannot be unmounted you should go to single user mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 27 Sep 2007 11:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077466#M601075</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-09-27T11:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077467#M601076</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is it possbile to "reduce" the /tmp file system at a later date?&lt;BR /&gt;&lt;BR /&gt;10 points to any answer.&lt;BR /&gt;Thank you&lt;BR /&gt;Gino</description>
      <pubDate>Thu, 27 Sep 2007 11:57:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077467#M601076</guid>
      <dc:creator>Gino Castoldi_2</dc:creator>
      <dc:date>2007-09-27T11:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077468#M601077</link>
      <description>Hi Gino:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is it possbile to "reduce" the /tmp file system at a later date?&lt;BR /&gt;&lt;BR /&gt;Yes, if you have OnlineJFS you can not only extend but you can reduce the size of a filesystem without having to recreate it.&lt;BR /&gt;&lt;BR /&gt;The later the version of JFS the better.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 27 Sep 2007 11:59:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077468#M601077</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-09-27T11:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077469#M601078</link>
      <description>Reduce - yes - I have never had an issue.&lt;BR /&gt;&lt;BR /&gt;Make sure /tmp is cleaned up as much as possible...&lt;BR /&gt;&lt;BR /&gt;The defrag it:&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -d -D -e -E /tmp&lt;BR /&gt;&lt;BR /&gt;Then reduce the filesystem first:&lt;BR /&gt;&lt;BR /&gt;fasdm /b 512M /tmp&lt;BR /&gt;&lt;BR /&gt;The the lvol:&lt;BR /&gt;&lt;BR /&gt;lvreduce -L 512 /dev/vg00/lvol6&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 27 Sep 2007 12:02:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077469#M601078</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-09-27T12:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase free space on /tmp using JFS?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077470#M601079</link>
      <description>Using /tmp in this manner (multiple GB of critical files) is asking for a really big problem. As implied by the name, it is a TEMPORARY directory and you will find in the /etc/rc.config.d directory an option to erase the /tmp direcory every time you boot up. /tmp and /var/tmp MUST be assumed to be unstable! The reason is that the permissions grant any user the privilege of filling the directory or worse, remove any file at any time.&lt;BR /&gt; &lt;BR /&gt;So create a separate lvol immediately and as Stephen suggested, create a special mountpoint with the correct (protected) permissions and ownership. Transfer the production files to this directory and then backup what is left. Then try reducing the lvol. Most lvol reductions will fail with filesystem corruption and will need to be newfs'ed and the data restored. Sometimes fsadm can reduce a filesystem successfully but with such massively large files (and the busy nature of /tmp), removing them will likely leave the filesystem fragmented, a key to corruption with reduction.</description>
      <pubDate>Thu, 27 Sep 2007 21:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-free-space-on-tmp-using-jfs/m-p/4077470#M601079</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-09-27T21:05:23Z</dc:date>
    </item>
  </channel>
</rss>

