<?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: Increasing the size of /opt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851045#M93604</link>
    <description>Vinesh,&lt;BR /&gt;&lt;BR /&gt;The best way is to use fsadm if you have Online JFS installed in the system. Otherwise, you can boot the system in single user mode. /opt does not get mounted when you boot the system in single user mode so there's no need to comment that out from /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;Once the system is in single user mode.&lt;BR /&gt;&lt;BR /&gt;# mount /usr&lt;BR /&gt;# mount /tmp&lt;BR /&gt;# mount /var&lt;BR /&gt;# mount /var/tmp ( if /var/tmp is a separate fs )&lt;BR /&gt;&lt;BR /&gt;Now you can extend the fs size for /opt.&lt;BR /&gt;&lt;BR /&gt;-Venkat&lt;BR /&gt;</description>
    <pubDate>Tue, 26 Nov 2002 14:50:04 GMT</pubDate>
    <dc:creator>Venkataraman Bala</dc:creator>
    <dc:date>2002-11-26T14:50:04Z</dc:date>
    <item>
      <title>Increasing the size of /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851038#M93597</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have root and opt on different logical volumes but both belong to vg00.&lt;BR /&gt;&lt;BR /&gt;I want to install ignite but I do not have any more space in /opt. I have space to add to the opt logical volume but this is the problem!!!&lt;BR /&gt;&lt;BR /&gt;My plan to do this is to comment the /opt from the fstab and reboot the machine to run level 1. This will result in the /opt file system not being mounted. I can then add additional space to the opt logical volume, and boot to the default run level.&lt;BR /&gt;&lt;BR /&gt;Is my plan okay or do you have a better suggestion?&lt;BR /&gt;&lt;BR /&gt;Many Thanks&lt;BR /&gt;Vinesh&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Nov 2002 09:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851038#M93597</guid>
      <dc:creator>Vinesh Dhevcharran</dc:creator>
      <dc:date>2002-11-25T09:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the size of /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851039#M93598</link>
      <description>&lt;BR /&gt;As its only ignite your installing you could instead create a symlink in /opt called ignite pointing to another filesystem where you have space. Then you dont need to increase /opt. We do this ocassionally if we dont want a reboot and its only non critical software youre installing.&lt;BR /&gt;&lt;BR /&gt;Your plan to increase opt above is fine as long as you have free space in vg00 and when you extendfs it you should reboot it after instead of changing run level (after uncommenting if from fstab).&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Nov 2002 09:20:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851039#M93598</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-11-25T09:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the size of /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851040#M93599</link>
      <description>Yep, or if you still want to increase opt. There are two main ways depending on if you have onlineJFS or not:&lt;BR /&gt;&lt;BR /&gt;Before you start do a:&lt;BR /&gt;# bdf&lt;BR /&gt;to check the space&lt;BR /&gt;&lt;BR /&gt;A) &lt;BR /&gt;* If you have onlineJFS you can just go into SAM and increase /opt online without booting into single user mode. &lt;BR /&gt;* or via the command line:&lt;BR /&gt;&lt;BR /&gt;# lvextend -L 800 /dev/vg00/lvolxx&lt;BR /&gt;(800 is the TOTAL size you want in mb)&lt;BR /&gt;# fsadm -F vxfs -b 900m /opt&lt;BR /&gt;&lt;BR /&gt;B)&lt;BR /&gt;# shutdown -ry 0&lt;BR /&gt;When the system is coming up it will prompt you to boot into single user mode, so do this. Specify yes to interact with ISL.&lt;BR /&gt;# lvextend -L 800 /dev/vg00/lvolxx(800 is the TOTAL size you want in mb)&lt;BR /&gt;# extendfs /dev/vg00/lvolxx&lt;BR /&gt;&lt;BR /&gt;Now you can go back into multi-user:&lt;BR /&gt;&lt;BR /&gt;# init 3&lt;BR /&gt;&lt;BR /&gt;Do a:&lt;BR /&gt;# bdf &lt;BR /&gt;to check space&lt;BR /&gt;&lt;BR /&gt;Chuck J</description>
      <pubDate>Mon, 25 Nov 2002 09:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851040#M93599</guid>
      <dc:creator>Chuck J</dc:creator>
      <dc:date>2002-11-25T09:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the size of /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851041#M93600</link>
      <description>It can messy by having an additional logical volume mounted under /opt. If you have Online JFS this can be done on the fly. (extending /opt) If not why not wait until you get a maintenance window to do this. (Your choice)</description>
      <pubDate>Mon, 25 Nov 2002 09:33:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851041#M93600</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-25T09:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the size of /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851042#M93601</link>
      <description>Online JFS by all means, but it does cost some dinero.&lt;BR /&gt;&lt;BR /&gt;A free, but it takes some outage time is to taje an ignite backup and restore it.&lt;BR /&gt;&lt;BR /&gt;During the restore you can change the disk allocations.</description>
      <pubDate>Mon, 25 Nov 2002 13:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851042#M93601</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2002-11-25T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the size of /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851043#M93602</link>
      <description>you are right.&lt;BR /&gt;&lt;BR /&gt;If you have space in vg00 and if you do not have the online jfs bundle installed you can boot through the single user mode and increase the file system.&lt;BR /&gt;make sure you mount your /usr file system so that the commands are available.&lt;BR /&gt;&lt;BR /&gt;Else &lt;BR /&gt;if you have online jfs then&lt;BR /&gt;&lt;BR /&gt;$ /usr/sbin/swlist -l product | grep -i jfs &lt;BR /&gt;&lt;BR /&gt;you can just do&lt;BR /&gt;# lvextend -xxxxL  /dev/vg00/lvol? &lt;BR /&gt;# fsadm -F vxfs -b xxxxxx /opt &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 25 Nov 2002 13:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851043#M93602</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-25T13:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the size of /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851044#M93603</link>
      <description>Boot into single user mode to increase /opt.   Just note the lvol name and device file.&lt;BR /&gt;&lt;BR /&gt;% reboot&lt;BR /&gt;&lt;BR /&gt;Press space to interrupt the boot sequence.&lt;BR /&gt;&lt;BR /&gt;at menu type,&lt;BR /&gt;&lt;BR /&gt;boot pri&lt;BR /&gt;&lt;BR /&gt;When asked it you wish to interact type,&lt;BR /&gt;y&lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;at the ISL prompt type,&lt;BR /&gt;ISL&amp;gt; hpux -is&lt;BR /&gt;&lt;BR /&gt;This will boot you into single user mode.  Run lvextend.  Note the #### after the -L option is for the new size in megabytes.  Also use the raw lvol.&lt;BR /&gt;&lt;BR /&gt;# lvextend -L #### /dev/vg00/rlvol#&lt;BR /&gt;or for 1024MB in /opt and lvol06&lt;BR /&gt;&lt;BR /&gt;# lvextend -L 1024 /dev/vg00/rlvol6&lt;BR /&gt;&lt;BR /&gt;Next, extend the filesystem and again use the raw device file.&lt;BR /&gt;&lt;BR /&gt;# extendfs /dev/vg00/rlvol#&lt;BR /&gt;for lvol6&lt;BR /&gt;# extendfs /dev/vg00/rlvol6&lt;BR /&gt;&lt;BR /&gt;Now run mountall and ensure that new space is there and available.&lt;BR /&gt;&lt;BR /&gt;Reboot again and let system boot normally.  Should be done.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon&lt;/ENTER&gt;</description>
      <pubDate>Mon, 25 Nov 2002 14:10:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851044#M93603</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2002-11-25T14:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the size of /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851045#M93604</link>
      <description>Vinesh,&lt;BR /&gt;&lt;BR /&gt;The best way is to use fsadm if you have Online JFS installed in the system. Otherwise, you can boot the system in single user mode. /opt does not get mounted when you boot the system in single user mode so there's no need to comment that out from /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;Once the system is in single user mode.&lt;BR /&gt;&lt;BR /&gt;# mount /usr&lt;BR /&gt;# mount /tmp&lt;BR /&gt;# mount /var&lt;BR /&gt;# mount /var/tmp ( if /var/tmp is a separate fs )&lt;BR /&gt;&lt;BR /&gt;Now you can extend the fs size for /opt.&lt;BR /&gt;&lt;BR /&gt;-Venkat&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Nov 2002 14:50:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851045#M93604</guid>
      <dc:creator>Venkataraman Bala</dc:creator>
      <dc:date>2002-11-26T14:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the size of /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851046#M93605</link>
      <description>A way to extend a file, like /opt, without having to go to single user mode, is to put the extendfs command in your /sbin/bcheckrc file.&lt;BR /&gt;Then, a simple reboot completes the job.&lt;BR /&gt;&lt;BR /&gt;So:&lt;BR /&gt;With /opt mounted, do your lvextend. &lt;BR /&gt;&lt;BR /&gt;Then vi /sbin/bcheckrc (after making a backup copy) and add the mount/umount/extend lines shown below the fi statement:&lt;BR /&gt;&lt;BR /&gt;#*********************************************************************&lt;BR /&gt;# Activate LVM volume groups.&lt;BR /&gt;# Each logical volume will be activated according to its mirror&lt;BR /&gt;# consistency recovery policy.&lt;BR /&gt;#*********************************************************************&lt;BR /&gt; &lt;BR /&gt;if [ -x /sbin/lvmrc ]&lt;BR /&gt;then&lt;BR /&gt;        echo "Checking for LVM volume groups and Activating (if any exist)"&lt;BR /&gt;        /sbin/lvmrc&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;## ADD THESE LINES ##&lt;BR /&gt;/sbin/mount /dev/vg00/lvol6 /opt&lt;BR /&gt;/sbin/umount /opt&lt;BR /&gt;/sbin/extendfs /dev/vg00/rlvol6 &amp;gt;/extend.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;After you reboot, remove the lines you added to the /sbin/bcheckrc file.</description>
      <pubDate>Tue, 26 Nov 2002 18:05:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-size-of-opt/m-p/2851046#M93605</guid>
      <dc:creator>Remote Systems Support</dc:creator>
      <dc:date>2002-11-26T18:05:49Z</dc:date>
    </item>
  </channel>
</rss>

