<?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: Best way to add space to /OPT in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962263#M415919</link>
    <description>Hi Rita:&lt;BR /&gt;&lt;BR /&gt;If you were unable to increase the size of the '/opt' filesystem, I would guess that either you don't have enough free physical disk extents to enlarge the underlying logical volume; or that the filesystem must be unmounted to enlarge it.&lt;BR /&gt;&lt;BR /&gt;As already mentioned, please post any error messages.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 23 Feb 2006 13:40:47 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2006-02-23T13:40:47Z</dc:date>
    <item>
      <title>Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962258#M415914</link>
      <description>What is the best process to add disk space to /OPT?  I tried SAM but was not successful.&lt;BR /&gt;Thanks!  I'm rather new to HP-UX and appreciate any and all suggestions.</description>
      <pubDate>Thu, 23 Feb 2006 13:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962258#M415914</guid>
      <dc:creator>Rita D'Elia_1</dc:creator>
      <dc:date>2006-02-23T13:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962259#M415915</link>
      <description>if sam is not able to add this space, it means that you may have a problem with either insufficient disk space or maybe unbalanced mirroring or many other things.&lt;BR /&gt;&lt;BR /&gt;It would help if you can tell us what kind of error message you got back from sam.</description>
      <pubDate>Thu, 23 Feb 2006 13:26:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962259#M415915</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-02-23T13:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962260#M415916</link>
      <description>The message is that the filesystem is still mounted.  I was able to add space to the /u05 filesystem using SAM, but not /OPT.  Any idea why SAM did not unmount OPT?</description>
      <pubDate>Thu, 23 Feb 2006 13:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962260#M415916</guid>
      <dc:creator>Rita D'Elia_1</dc:creator>
      <dc:date>2006-02-23T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962261#M415917</link>
      <description>The reason you were unable to extend with SAM is because the file system needs to be unmounted in order to run the extendfs.  The easiest way, unless, of course, you have OnlineJFS, is to boot into single user mode.  Your file systems will be unmounted.  I usually do a "mount -a" so that all my commands, utilities, etc are available to me, and then do a "umount /opt".  You can then go into SAM and extend /opt.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 23 Feb 2006 13:32:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962261#M415917</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-02-23T13:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962262#M415918</link>
      <description>Because it was busy....&lt;BR /&gt;&lt;BR /&gt;If you don't have online jfs - then you need to un mount it.&lt;BR /&gt;&lt;BR /&gt;fuser -cu /opt&lt;BR /&gt;&lt;BR /&gt;will tell you all the processes that have /opt locked.&lt;BR /&gt;&lt;BR /&gt;do a &lt;BR /&gt;ps -ef |grep PID&lt;BR /&gt;to see what they are...&lt;BR /&gt;&lt;BR /&gt;You will probably need to shut some stuff down...&lt;BR /&gt;&lt;BR /&gt;Check output of:&lt;BR /&gt;&lt;BR /&gt;vxlicense -p&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;/sbin/fs/vxfs/vxenablef&lt;BR /&gt;&lt;BR /&gt;to see if you have online jfs...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 23 Feb 2006 13:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962262#M415918</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-23T13:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962263#M415919</link>
      <description>Hi Rita:&lt;BR /&gt;&lt;BR /&gt;If you were unable to increase the size of the '/opt' filesystem, I would guess that either you don't have enough free physical disk extents to enlarge the underlying logical volume; or that the filesystem must be unmounted to enlarge it.&lt;BR /&gt;&lt;BR /&gt;As already mentioned, please post any error messages.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 23 Feb 2006 13:40:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962263#M415919</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-23T13:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962264#M415920</link>
      <description>I ran the "ps" and "fuser" commands and got the output below.  If I'm not mistaken, I should be able to turn these all off?&lt;BR /&gt;#fuser -cu /opt&lt;BR /&gt;/opt:     1133mt(root)    1204mt(root)    2998mto(root)    1408mto(root)    134)&lt;BR /&gt;&lt;BR /&gt;root@labsvr.crmchealth.org[/]&lt;BR /&gt;#ps -ef | grep 1133&lt;BR /&gt;    root  1133     1  0  Feb 18  ?         0:14 /opt/dce/sbin/rpcd&lt;BR /&gt;    root 19604 19561  1 12:41:31 pts/ta    0:00 grep 1133&lt;BR /&gt;root@labsvr.crmchealth.org[/]&lt;BR /&gt;#ps -ef | grep 1204&lt;BR /&gt;    root  1204     1  0  Feb 18  ?         1:44 scrdaemon&lt;BR /&gt;    root 19877 19561  0 12:41:46 pts/ta    0:00 grep 1204&lt;BR /&gt;root@labsvr.crmchealth.org[/]&lt;BR /&gt;#ps -ef | grep 2998&lt;BR /&gt;    root  2998  1389  0  Feb 18  ?         0:17 /opt/perf/bin/agdbserver -t ala/&lt;BR /&gt;    root  2999  2998  0  Feb 18  ?         0:37 /opt/perf/bin/alarmgen -svr 299a&lt;BR /&gt;    root 19879 19561  1 12:41:56 pts/ta    0:00 grep 2998&lt;BR /&gt;root@labsvr.crmchealth.org[/]&lt;BR /&gt;#ps -ef | grep 1408&lt;BR /&gt;    root  1408     1  0  Feb 18  ?         7:24 /opt/perf/bin/scopeux&lt;BR /&gt;    root 19882 19561  1 12:42:15 pts/ta    0:00 grep 1408</description>
      <pubDate>Thu, 23 Feb 2006 13:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962264#M415920</guid>
      <dc:creator>Rita D'Elia_1</dc:creator>
      <dc:date>2006-02-23T13:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962265#M415921</link>
      <description>scopeux&lt;BR /&gt;&lt;BR /&gt;Can stop with &lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/mwa stop&lt;BR /&gt;&lt;BR /&gt;That should stop agdbserver and alarmgen as well...&lt;BR /&gt;&lt;BR /&gt;For rpcd:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/Rpcd stop &lt;BR /&gt;&lt;BR /&gt;For scrdaemon:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/scrdaemon stop&lt;BR /&gt;&lt;BR /&gt;Then try to extend, then start those up.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 23 Feb 2006 14:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962265#M415921</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-23T14:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962266#M415922</link>
      <description>While these daemons most likely can be turned off individually, I maintain that it is far simpler to reboot into single user mode.  Even if you get all the daemons stopped, you still may not be able to unmount!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 23 Feb 2006 14:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962266#M415922</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-02-23T14:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962267#M415923</link>
      <description>Hi Rita&lt;BR /&gt;&lt;BR /&gt;/opt will have lots of runing stuff in an online systems. so,the best way ( in the absence of online JFS ) is to &lt;BR /&gt;&lt;BR /&gt;1. boot the system in single user mode&lt;BR /&gt;2. vgchange -a y /dev/vg00 &lt;BR /&gt;3. mount /usr&lt;BR /&gt;&lt;BR /&gt;Once u are done with this, u can do lvextend and extendfs to increse the space.&lt;BR /&gt;&lt;BR /&gt;rgds...Ashish</description>
      <pubDate>Thu, 23 Feb 2006 16:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962267#M415923</guid>
      <dc:creator>AshishJain_USA</dc:creator>
      <dc:date>2006-02-23T16:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to add space to /OPT</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962268#M415924</link>
      <description>I am closing this thread as it seems that I will need to boot to single user mode as suggested in this thread in order to expand the space.  Thanks for all the input!</description>
      <pubDate>Fri, 24 Feb 2006 16:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-add-space-to-opt/m-p/4962268#M415924</guid>
      <dc:creator>Rita D'Elia_1</dc:creator>
      <dc:date>2006-02-24T16:50:31Z</dc:date>
    </item>
  </channel>
</rss>

