<?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: extending /usr in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921565#M634306</link>
    <description>Hi Spike,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you have OnLine JFS you can do this while the FS is up &amp;amp; mounted.&lt;BR /&gt;Run this to see if you do have it:&lt;BR /&gt;&lt;BR /&gt;swlist | grep -i online&lt;BR /&gt;&lt;BR /&gt;Then check to see if you have free space in vg00&lt;BR /&gt;&lt;BR /&gt;vgdisplay vg00&lt;BR /&gt;&lt;BR /&gt;Look for the Free PE value.&lt;BR /&gt;&lt;BR /&gt;If both of these are true, then just extend the LV&lt;BR /&gt;&lt;BR /&gt;lvextend -L XXXX /dev/vg00/lvolY&lt;BR /&gt;&lt;BR /&gt;where XXXX=new size in MB and Y=lvol# for /usr (usually 6, but not necessarilly)&lt;BR /&gt;&lt;BR /&gt;Then increase the FS size&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b XXXXM /usr&lt;BR /&gt;&lt;BR /&gt;where XXXX again = new size in Mb&lt;BR /&gt;&lt;BR /&gt;If you don't have OnLine JFS, you have to reboot &amp;amp; increase the size in single-user mode.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 06 Mar 2003 23:24:15 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2003-03-06T23:24:15Z</dc:date>
    <item>
      <title>extending /usr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921564#M634305</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;  I am starting to run out of disk space on /usr and want to know if I can use LVM to extend it.  On Solaris with Veritas VM, you can extend it but will run into problems when doing OS upgrades or fixing rootdg.  Anyone wish to comment, please?!!  Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;spike</description>
      <pubDate>Thu, 06 Mar 2003 23:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921564#M634305</guid>
      <dc:creator>Spike Burkhardt</dc:creator>
      <dc:date>2003-03-06T23:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: extending /usr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921565#M634306</link>
      <description>Hi Spike,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you have OnLine JFS you can do this while the FS is up &amp;amp; mounted.&lt;BR /&gt;Run this to see if you do have it:&lt;BR /&gt;&lt;BR /&gt;swlist | grep -i online&lt;BR /&gt;&lt;BR /&gt;Then check to see if you have free space in vg00&lt;BR /&gt;&lt;BR /&gt;vgdisplay vg00&lt;BR /&gt;&lt;BR /&gt;Look for the Free PE value.&lt;BR /&gt;&lt;BR /&gt;If both of these are true, then just extend the LV&lt;BR /&gt;&lt;BR /&gt;lvextend -L XXXX /dev/vg00/lvolY&lt;BR /&gt;&lt;BR /&gt;where XXXX=new size in MB and Y=lvol# for /usr (usually 6, but not necessarilly)&lt;BR /&gt;&lt;BR /&gt;Then increase the FS size&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b XXXXM /usr&lt;BR /&gt;&lt;BR /&gt;where XXXX again = new size in Mb&lt;BR /&gt;&lt;BR /&gt;If you don't have OnLine JFS, you have to reboot &amp;amp; increase the size in single-user mode.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Mar 2003 23:24:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921565#M634306</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-03-06T23:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: extending /usr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921566#M634307</link>
      <description>Hi Spike:&lt;BR /&gt;&lt;BR /&gt;There are no problems with extending '/usr'.  Use 'lvextend' to increase the filesystem size.  Then, if you have "Online JFS", use 'fsadm' to increase the filesystem itself.  You do not need to unmount the filesystem to do this.&lt;BR /&gt;&lt;BR /&gt;If you don't have "Online JFS" then you need to bootup into single user mode; 'lvextned' the logical volume; and then use 'extendfs' to enlarge the filesystem.  Then, reboot (my preference) to resume normally.&lt;BR /&gt;&lt;BR /&gt;A good guide to basic LVM on HP-UX can be found in the "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" manual:&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...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 06 Mar 2003 23:24:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921566#M634307</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-06T23:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: extending /usr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921567#M634308</link>
      <description>Type "bdf" to note down the logical volume name associated with /usr&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;lvextend -L newsizeinMB /dev/vgname/lvname&lt;BR /&gt;&lt;BR /&gt;then if online JFS is not available&lt;BR /&gt;&lt;BR /&gt;umount /usr&lt;BR /&gt;&lt;BR /&gt;extendfs -F vxfs /dev/vgname/rlvname&lt;BR /&gt;&lt;BR /&gt;(note that the "r" is placed before lvname)&lt;BR /&gt;&lt;BR /&gt;mount -a&lt;BR /&gt;&lt;BR /&gt;that's it&lt;BR /&gt;&lt;BR /&gt;if you have online JFS then after the lvextend command run&lt;BR /&gt;&lt;BR /&gt;fsadm -b newsizem /usr&lt;BR /&gt;&lt;BR /&gt;(note that there is a "m" at the end of the filesystem size. like 400m)&lt;BR /&gt;&lt;BR /&gt;-Anil</description>
      <pubDate>Fri, 07 Mar 2003 00:02:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921567#M634308</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2003-03-07T00:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: extending /usr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921568#M634309</link>
      <description>Be aware that if you do not have the on-line JFS product you *will* need to boot you system into single-user mode to extend the filesystem. It is near impossible to do even do it even attempting to place the system in a lower run level, as there will be processes that will not have terminated.</description>
      <pubDate>Fri, 07 Mar 2003 04:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921568#M634309</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-03-07T04:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: extending /usr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921569#M634310</link>
      <description>Jeff, James, Anil &amp;amp; Michael,&lt;BR /&gt;&lt;BR /&gt;  If I understand what you're saying, it is OK to do this.  This is supported and will not cause the system problems on upgrades, correct?  Thanks for your help!&lt;BR /&gt;&lt;BR /&gt;spike</description>
      <pubDate>Fri, 07 Mar 2003 18:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921569#M634310</guid>
      <dc:creator>Spike Burkhardt</dc:creator>
      <dc:date>2003-03-07T18:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: extending /usr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921570#M634311</link>
      <description>Spike,&lt;BR /&gt;&lt;BR /&gt;Forgive me for answering for Jeff, James, Anil &amp;amp; Michael, but yes, you'll be fine.  It won't interfere with upgrades or anything else.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 07 Mar 2003 18:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921570#M634311</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-07T18:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: extending /usr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921571#M634312</link>
      <description>Pete,&lt;BR /&gt;&lt;BR /&gt;  No apologies needed.  Thanks!  That makes life a ton easier.&lt;BR /&gt;&lt;BR /&gt;spike</description>
      <pubDate>Fri, 07 Mar 2003 19:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-usr/m-p/2921571#M634312</guid>
      <dc:creator>Spike Burkhardt</dc:creator>
      <dc:date>2003-03-07T19:02:54Z</dc:date>
    </item>
  </channel>
</rss>

