<?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 Increase /usr and /tmp disk space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007863#M127907</link>
    <description>Is there an easy way to increase the amount of space available to /usr and /tmp?&lt;BR /&gt;I have already allocated all of the space available on the disk to other mnt points..&lt;BR /&gt;Can you decrease the space allocated to a mnt point?  I have a mnt point for /apps that contains 30Gig of disk space but only using around 5 Gig, I would like to make some the unused space available to both /usr and /tmp.&lt;BR /&gt;I am new to Unix so I apologize if the message is written poorly..&lt;BR /&gt;Thanks..</description>
    <pubDate>Wed, 25 Jun 2003 19:34:38 GMT</pubDate>
    <dc:creator>Dale Sullens</dc:creator>
    <dc:date>2003-06-25T19:34:38Z</dc:date>
    <item>
      <title>Increase /usr and /tmp disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007863#M127907</link>
      <description>Is there an easy way to increase the amount of space available to /usr and /tmp?&lt;BR /&gt;I have already allocated all of the space available on the disk to other mnt points..&lt;BR /&gt;Can you decrease the space allocated to a mnt point?  I have a mnt point for /apps that contains 30Gig of disk space but only using around 5 Gig, I would like to make some the unused space available to both /usr and /tmp.&lt;BR /&gt;I am new to Unix so I apologize if the message is written poorly..&lt;BR /&gt;Thanks..</description>
      <pubDate>Wed, 25 Jun 2003 19:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007863#M127907</guid>
      <dc:creator>Dale Sullens</dc:creator>
      <dc:date>2003-06-25T19:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Increase /usr and /tmp disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007864#M127908</link>
      <description>First, do a swlist | grep JFS; if you see OnlineJFS listed then that makes life easier because these operations can be done "on the fly"; if not, then it's not so pretty.&lt;BR /&gt;&lt;BR /&gt;I do question your need to increase /tmp; /tmp should really only be used by the OS; /var/tmp is intended for users and applications.&lt;BR /&gt;&lt;BR /&gt;If your have OnlineJFS then you can do an fsadm and shrink the  /apps filesystem and then do an lvreduce to reduce the size of the LVOL. You can then do an lvextend operation on the /usr and /tmp LVOLS and an fsadm to grow the filesystems.&lt;BR /&gt;&lt;BR /&gt;Man fsadm_vxfs for details.&lt;BR /&gt;&lt;BR /&gt;Now if you don't have OnlineJFS then things are more complicated so before going through that procedure or giving more detail on the OnlineJFS procedure, it would be good to know it you are OnlineJFS challenged or not.&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jun 2003 19:46:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007864#M127908</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-06-25T19:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Increase /usr and /tmp disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007865#M127909</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you have OnlineJFS licensed, then you *may* be able to dynamically reduce the size of your /apps filesystem.  I say "may" only because this generally will not work unless you have JFS version 3.3.&lt;BR /&gt;&lt;BR /&gt;In the absence of the above, the best (only) way to decrease a filesystem's size is to back it up; 'lvreduce' the logical volume container in which the filesystem resides; 'newfs' the filesystem; and reload your data.&lt;BR /&gt;&lt;BR /&gt;With regard to expanding '/usr' and '/tmp', then if you have a spare physical disk, then you could add it to the volume group, although I personally prefer vg00 to consist of a single disk (plus a single mirror). &lt;BR /&gt;&lt;BR /&gt;If you don't have OnlineJFS, then to expand '/usr' and '/tmp' you will need to boot-up into single-user mode; 'lvextend' the logical volumes; and 'extendfs' the filesystem.&lt;BR /&gt;&lt;BR /&gt;Since you are new to Unix, I urge you to consider using SAM *and* I urge you to take some time to read chapter-6 of "Managing Systems and Workgroups":&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 25 Jun 2003 19:47:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007865#M127909</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-06-25T19:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Increase /usr and /tmp disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007866#M127910</link>
      <description>If you have online JFS, you may be able to reduce a size of a filesystem.  However, I do not think reducing a filesystem size is a good idea in any case.&lt;BR /&gt;&lt;BR /&gt;If you have a current backup of your /apps then this is my suggestion:&lt;BR /&gt;- Delete the logical volume on which /apps mounts.&lt;BR /&gt;- Created a 10GB logical volume to mount /apps on.&lt;BR /&gt;- Restore /apps data to this new /apps.&lt;BR /&gt;- Now you have 20GB available to add to /usr and /tmp.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Wed, 25 Jun 2003 19:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007866#M127910</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2003-06-25T19:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Increase /usr and /tmp disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007867#M127911</link>
      <description>I think in order to increase /usr you have to be in a single user mode:&lt;BR /&gt;shutdown -ry 0&lt;BR /&gt;interrupt&lt;BR /&gt;boot pri ipl&lt;BR /&gt;ISL&amp;gt; hpux -is&lt;BR /&gt;(only / and /stand should be mounted)&lt;BR /&gt;/sbin/lvextend -L XXX(MB) /dev/vg00/lvolx&lt;BR /&gt;/sbin/extendfs -F vxfs /dev/vg00/rlvolx&lt;BR /&gt;mount /dev/vg00/lvolx /usr&lt;BR /&gt;bdf (to check that it has been extended)&lt;BR /&gt;init 3&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jun 2003 20:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007867#M127911</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2003-06-25T20:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Increase /usr and /tmp disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007868#M127912</link>
      <description>You can still do it if you don't have OnlineJFS, you just can't do it during the day.&lt;BR /&gt;&lt;BR /&gt;The /tmp filesystem is a bit annoying because by default the allocation is strict, meaning the new space must be contiguous.&lt;BR /&gt;&lt;BR /&gt;If you have space contiguous to the end of /tmp you can do this.&lt;BR /&gt;&lt;BR /&gt;init 1&lt;BR /&gt;&lt;BR /&gt;brings the system down to run level 1&lt;BR /&gt;&lt;BR /&gt;lvextend -L 1024 /dev/vg00/lvol6 /dev/dsk/c1t1d0&lt;BR /&gt;&lt;BR /&gt;umount /tmp&lt;BR /&gt;&lt;BR /&gt;extendfs -F vxfs /dev/vg00/rlvol6&lt;BR /&gt;&lt;BR /&gt;1024 is the number of megabytes to expand /tmp to&lt;BR /&gt;The /dev/dsk entry is the chosen disk.&lt;BR /&gt;&lt;BR /&gt;/var is even tougher.&lt;BR /&gt;&lt;BR /&gt;To expand it without OnlineJFS, you will need to follow this procedure.&lt;BR /&gt;&lt;BR /&gt;shutdown -ry now&lt;BR /&gt;&lt;BR /&gt;interupt at the 10 second prompt&lt;BR /&gt;&lt;BR /&gt;bo&lt;BR /&gt;&lt;BR /&gt;Y Interact with the ISL&lt;BR /&gt;&lt;BR /&gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;You have now booted to single user mode and can  use the lvextend and extendfs commands to finish the job.&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 25 Jun 2003 20:04:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007868#M127912</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-25T20:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Increase /usr and /tmp disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007869#M127913</link>
      <description>Since you have already allocated all the space available, then the only way of increasing some volumes, is to decrease others. JRF makes a good point about probably needing to backup and restore those volumes that you need to reduce, then use 'lvreduce' and 'newfs'&lt;BR /&gt;&lt;BR /&gt;Here's another idea and can only be called an "easy way" if this machine can afford the downtime involved. Make an ignite tape backup using 'make_recovery' with the  "-Ai" options so that the recovery is interactive, then reduce/increase the size of the volumes when you go to restore the system from the recovery tape.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2003 03:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007869#M127913</guid>
      <dc:creator>Alex Jenner</dc:creator>
      <dc:date>2003-06-26T03:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Increase /usr and /tmp disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007870#M127914</link>
      <description>if you have online jfs you can online change /usr and /tmp size. it is better that you need to &lt;BR /&gt;1. boot to a single user mode &lt;BR /&gt;ISL &amp;gt; hpux -is &lt;BR /&gt;2. mount /usr ( for commands ) &lt;BR /&gt;# umount /tmp &lt;BR /&gt;3. change the size of the logical volume &lt;BR /&gt;of tmp. &lt;BR /&gt;# lvextend -L &lt;SIZE in="" mb=""&gt; /dev/vg00/lvol4 &lt;BR /&gt;4. extend the file system with extendfs &lt;BR /&gt;# extendfs /dev/vg00/rlvol4 &lt;BR /&gt;# mount /dev/vg00/lvol4 /tmp &lt;BR /&gt;5. boot the system. &lt;BR /&gt;&lt;/SIZE&gt;</description>
      <pubDate>Thu, 26 Jun 2003 04:45:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007870#M127914</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-06-26T04:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Increase /usr and /tmp disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007871#M127915</link>
      <description>you can also change these file systems by doing an ignite restore, and changing the allocations on the first ignite screen&lt;BR /&gt;&lt;BR /&gt;otherwise, you are off to single user land to make these changes if you do not have OnlineJFS</description>
      <pubDate>Thu, 26 Jun 2003 11:38:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-usr-and-tmp-disk-space/m-p/3007871#M127915</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2003-06-26T11:38:38Z</dc:date>
    </item>
  </channel>
</rss>

