<?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: Expanding /opt and /usr on HP-UX 11.0 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483577#M18512</link>
    <description>Another way. Since this is a new install , you may want to reinstall the system with the correct sizes. Still better make a make_recovery tape and recover from it. While recovering interrupt the boot and increase the sizes of /opt and /usr.</description>
    <pubDate>Wed, 17 Jan 2001 19:38:18 GMT</pubDate>
    <dc:creator>Jitendra_1</dc:creator>
    <dc:date>2001-01-17T19:38:18Z</dc:date>
    <item>
      <title>Expanding /opt and /usr on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483574#M18509</link>
      <description>Hi , &lt;BR /&gt;     I have installed HP-UX 11.00 and assigned only .75 GB for /opt and /usr . We were not exepcting to install all these software . I am running out of space on both now , although I have unused space on my disk . The issue is that the OS wil not allow me to unmount either of them to expand . As they need to be re-mounted after the increase . I am using SAM . Thnak you in advance . &lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jan 2001 00:31:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483574#M18509</guid>
      <dc:creator>Muhammed Abass</dc:creator>
      <dc:date>2001-01-17T00:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expanding /opt and /usr on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483575#M18510</link>
      <description>Hi, try this &lt;BR /&gt;&lt;BR /&gt;1 Backup Your /opt &amp;amp; /usr on tape &lt;BR /&gt;2 Identify the lvol name of these filesystem&lt;BR /&gt;   ex. /dev/vg00/lvol7 1303305  552504   &lt;BR /&gt;       620470   47% /usr &lt;BR /&gt;       /dev/vg00/lvol8 1332405  692404  &lt;BR /&gt;       230470   49% /opt&lt;BR /&gt;3 Reboot to single user mode. &lt;BR /&gt;   note: unmount /usr and /opt if possible&lt;BR /&gt;    ex. umount /opt&lt;BR /&gt;        umount /usr&lt;BR /&gt;4 Execute lvextend -L NNN /dev/vg00/lvoln &lt;BR /&gt;   ex. lvextend -L 500 /dev/vg00/lvol7&lt;BR /&gt;       note: -L 500 actual size in mb.&lt;BR /&gt;          do the same for /lvol8&lt;BR /&gt;5 Execute extendfs -F vxfs /dev/vg00/rlvoln &lt;BR /&gt;   ex. extenfs -F vxfs /dev/vg00/rlvol7 &lt;BR /&gt;       do the same for rlvol8&lt;BR /&gt;6 Mount /opt and /var&lt;BR /&gt;   ex. mount /opt&lt;BR /&gt;       mount /usr &lt;BR /&gt;7 Restore from tape (if necessary)&lt;BR /&gt;8 Execute reboot. &lt;BR /&gt;   ex. shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jan 2001 00:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483575#M18510</guid>
      <dc:creator>Kurtkarl</dc:creator>
      <dc:date>2001-01-17T00:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expanding /opt and /usr on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483576#M18511</link>
      <description>Are /opt and /usr JFS/VxFS filesystems?  If so, do you have the OnLine JFS product?  If you answer yes to both of these, then you can expand your filesystems on the fly.  &lt;BR /&gt;&lt;BR /&gt;If not, then your best bet is the previous answer.</description>
      <pubDate>Wed, 17 Jan 2001 03:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483576#M18511</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-17T03:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expanding /opt and /usr on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483577#M18512</link>
      <description>Another way. Since this is a new install , you may want to reinstall the system with the correct sizes. Still better make a make_recovery tape and recover from it. While recovering interrupt the boot and increase the sizes of /opt and /usr.</description>
      <pubDate>Wed, 17 Jan 2001 19:38:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483577#M18512</guid>
      <dc:creator>Jitendra_1</dc:creator>
      <dc:date>2001-01-17T19:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expanding /opt and /usr on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483578#M18513</link>
      <description>You have a couple choices, depending on what you have. If you just installed 11.0 then you may not have all your software loaded...like Online JFS. So, if you have Online JFS, you can load that first and then expand your file systems using it on the fly..just do the lvextend on each filesystem like usual than do:&lt;BR /&gt;fsadm -F vxfs -b &lt;NEWSIZE of="" fs="" in="" kb=""&gt; /filesystem&lt;BR /&gt;...OR...&lt;BR /&gt;And this is what I have done at times...&lt;BR /&gt;At this point I rebooted to strictly single user, since nothing is really mounted at that point and then I extend all the filesystems the way I wanted, mounted them to check that they looked good...even went in and edited the /etc/fstab...and then rebooted.  At this point I could then loadup all the rest of software and patches, etc.&lt;BR /&gt;&lt;BR /&gt;/rcw&lt;/NEWSIZE&gt;</description>
      <pubDate>Wed, 17 Jan 2001 20:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483578#M18513</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-01-17T20:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expanding /opt and /usr on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483579#M18514</link>
      <description>This procedure works for me.  Your mileage may vary, of course.&lt;BR /&gt;&lt;BR /&gt;-----&lt;BR /&gt;&lt;BR /&gt;Determine volume group, logical volumes, and availability of free space:&lt;BR /&gt;&lt;BR /&gt;grep /opt /etc/fstab&lt;BR /&gt;/dev/vg00/lvol4 /opt vxfs delaylog 0 2&lt;BR /&gt;&lt;BR /&gt;grep /usr /etc/fstab&lt;BR /&gt;/dev/vg00/lvol6 /usr vxfs delaylog 0 2&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00 | grep 'PE Size'&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00 | grep 'Free PE'&lt;BR /&gt;Free PE                     894&lt;BR /&gt;&lt;BR /&gt;(894*4096=3,661,824 MB Free)&lt;BR /&gt;&lt;BR /&gt;Procedure:&lt;BR /&gt;&lt;BR /&gt;shutdown -ry 120&lt;BR /&gt;Interrupt boot process when prompted&lt;BR /&gt;enter bo&lt;BR /&gt;enter yes&lt;BR /&gt;ISL&amp;gt; hpux -lm&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;lvextend -L &lt;FINAL size="" in="" mb=""&gt; /dev/vg00/lvol4&lt;BR /&gt;extendfs -F vxfs /dev/vg00/rlvol4&lt;BR /&gt;lvextend -L &lt;FINAL size="" in="" mb=""&gt; /dev/vg00/lvol6&lt;BR /&gt;extendfs -F vxfs /dev/vg00/rlvol6&lt;BR /&gt;reboot&lt;/FINAL&gt;&lt;/FINAL&gt;</description>
      <pubDate>Wed, 17 Jan 2001 20:27:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483579#M18514</guid>
      <dc:creator>John Robben</dc:creator>
      <dc:date>2001-01-17T20:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expanding /opt and /usr on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483580#M18515</link>
      <description>Go to single user mode to unmount /opt and /usr.  And when I say that, I mean turn off the power, interrupt the boot process, interact with the ISP, and boot to single user mode there.  Only then you can unmount the filesystems to expand them.  At least that's the only way I could do it, with hp support on the phone.</description>
      <pubDate>Wed, 17 Jan 2001 21:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483580#M18515</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2001-01-17T21:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expanding /opt and /usr on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483581#M18516</link>
      <description>Hi Abbas,&lt;BR /&gt;&lt;BR /&gt;Use the following procedure :&lt;BR /&gt;&lt;BR /&gt;# init 1&lt;BR /&gt;&lt;BR /&gt;# fuser -k /dev/vg00/lvol?&lt;BR /&gt;# umount /usr&lt;BR /&gt;# fuser -k /dev/vg00/lvol?&lt;BR /&gt;#umount /opt&lt;BR /&gt;# lvextend -L &lt;NEW size=""&gt; /dev/vg00/lvol?&lt;BR /&gt;#lvextend -L &amp;lt; new size&amp;gt; /dev/vg00/lvol?&lt;BR /&gt;# mount -a&lt;BR /&gt;# init 4&lt;BR /&gt;Note: For checking the logical volume # of /usr and /opt use bdf command.&lt;BR /&gt;&lt;BR /&gt;I hope it will works.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Amir&lt;/NEW&gt;</description>
      <pubDate>Thu, 18 Jan 2001 07:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483581#M18516</guid>
      <dc:creator>Mr Amir Mujtabain</dc:creator>
      <dc:date>2001-01-18T07:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expanding /opt and /usr on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483582#M18517</link>
      <description>1.  Determine how much space is available on vg00.&lt;BR /&gt;2.  Determine the size you need for /usr and /opt.  If size of vg00 is sufficient, Johns example will be fine.  If not, you will need to put one or both filesystems in a different vg eg..vg01. The below example shows how to move /opt to vg01.&lt;BR /&gt;&lt;BR /&gt;boot to single user mode&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;vgchange -a y vg01&lt;BR /&gt;mount /usr&lt;BR /&gt;mount /opt&lt;BR /&gt;lvcreate -L (newsize_MB) -n lvol6 /dev/vg01&lt;BR /&gt;newfs /dev/vg01/rlvol6&lt;BR /&gt;mkdir /new_opt&lt;BR /&gt;mount /dev/vg01/lvol6 /new_opt&lt;BR /&gt;cd /opt&lt;BR /&gt;find . | cpio -pdmuxvl /new_opt&lt;BR /&gt;ensure all files are copied&lt;BR /&gt;umount /new_opt&lt;BR /&gt;rmdir /new_opt&lt;BR /&gt;modify /etc/fstab (make /opt point to the new vg and lv)&lt;BR /&gt;reboot&lt;BR /&gt;&lt;BR /&gt;You can do this with /usr as well&lt;BR /&gt;&lt;BR /&gt;Joe.....&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jan 2001 15:38:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/expanding-opt-and-usr-on-hp-ux-11-0/m-p/2483582#M18517</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-01-18T15:38:41Z</dc:date>
    </item>
  </channel>
</rss>

