<?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 /opt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249133#M175057</link>
    <description>You have around 5GB free in VG00 but make sure your both primary and mirror disks have equal free space which you need to extend /opt. With online JFS for example if you wish to increase /opt to new size of 3GB&lt;BR /&gt;#lvextend -L 3000 /dev/vg00/lvolxxx&lt;BR /&gt;#fsadm -F vxfs -b 3000M /opt&lt;BR /&gt;&lt;BR /&gt;If you extend already mirrored filesystem, lvextend will take care of mirror copy extention automatically.</description>
    <pubDate>Thu, 15 Apr 2004 11:19:32 GMT</pubDate>
    <dc:creator>SS_6</dc:creator>
    <dc:date>2004-04-15T11:19:32Z</dc:date>
    <item>
      <title>Extending /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249125#M175049</link>
      <description>I need to install Java on my HP-UX 11.0 system. The information on the download says I need 100MB of disk space in /opt/java1.4/jre. My /opt filesystem only has 104339 KB free so I'm thinking I need to extend that lv/filesystem. The volume group (vg00) has 5056MB unused that I could extend into. And that brings me to my question:&lt;BR /&gt;&lt;BR /&gt;How painful is it to extend /opt? I've extended other fileystems before but I seem to recall there are some restrictions on extending some filesystems on vg00.&lt;BR /&gt;&lt;BR /&gt;Should I be able to use SAM to just extend the logical volume and the filesytem without destroying anything on /opt?????</description>
      <pubDate>Thu, 15 Apr 2004 08:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249125#M175049</guid>
      <dc:creator>Don Spare</dc:creator>
      <dc:date>2004-04-15T08:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extending /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249126#M175050</link>
      <description>Personally, I would set up a new filesystem under /opt in its own logical volume (as indeed I did when I was in the same position).&lt;BR /&gt;&lt;BR /&gt;/opt/java would appear to be a logical name. If you already have a directory called /opt/java, move everything to a safe place before you delete the directory then move it into the new filesystem.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Thu, 15 Apr 2004 08:53:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249126#M175050</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-04-15T08:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extending /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249127#M175051</link>
      <description>Sure.&lt;BR /&gt;&lt;BR /&gt;Sam will do it.&lt;BR /&gt;&lt;BR /&gt;What sam will do is:&lt;BR /&gt;&lt;BR /&gt;lvextend -L &lt;NEW size="" in="" mb=""&gt; /dev/vg00/lvol_of_opt&lt;BR /&gt;umount /opt&lt;BR /&gt;extendfs -F vxfs /dev/vg00/rlvol_of_opt&lt;BR /&gt;&lt;BR /&gt;the only possible obstacle is whats running on /opt.&lt;BR /&gt;&lt;BR /&gt;You may want to do this manually after killing all processes on opt.&lt;BR /&gt;&lt;BR /&gt;fuser -cuk /opt&lt;BR /&gt;&lt;BR /&gt;This command might disrupt your production.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;&lt;/NEW&gt;</description>
      <pubDate>Thu, 15 Apr 2004 08:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249127#M175051</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-04-15T08:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extending /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249128#M175052</link>
      <description>Hi Don,&lt;BR /&gt;&lt;BR /&gt;Depends a bit on what is installed/running in /opt and if you have OnlineJFS installed.&lt;BR /&gt;&lt;BR /&gt;If you don't have OnlineJFS you need to umount /opt. You can check with lsof what is running on /opt and what you need to kill and restart after the filesystem extend.&lt;BR /&gt;&lt;BR /&gt;# umount /opt&lt;BR /&gt;# lvextend -L size_MB /dev/vg00/lvolx&lt;BR /&gt;# extendfs /dev/vg00/rlvolx&lt;BR /&gt;# mount /opt&lt;BR /&gt;# bdf&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 15 Apr 2004 08:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249128#M175052</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-04-15T08:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extending /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249129#M175053</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Since /opt doesn't have any contiguous requirements and if you have free space in vg00 then by all means you can extend it.&lt;BR /&gt;If you don't have any free space in vg00 then you'll have to add another PV to the vg00 VG to extend /opt.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 15 Apr 2004 08:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249129#M175053</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-04-15T08:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extending /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249130#M175054</link>
      <description>Don,&lt;BR /&gt;&lt;BR /&gt;Your main problem will be the requirement to unmount /opt.  Generally, the easiest thing to do is to boot into single user mode, run mount -a, then unmount /opt.  From that point it's a trivial matter to run sam and increase the lvol/filesystem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 15 Apr 2004 08:57:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249130#M175054</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-04-15T08:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extending /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249131#M175055</link>
      <description>If /opt is vxfs and you have onlineJFS. &lt;BR /&gt;&lt;BR /&gt;you can &lt;BR /&gt;&lt;BR /&gt;lvextend -L newsize /dev/vg00/lvol4&lt;BR /&gt;fsadm -F vxfs -b new_fs_size /opt&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2004 09:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249131#M175055</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2004-04-15T09:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extending /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249132#M175056</link>
      <description>Hi Don,&lt;BR /&gt;&lt;BR /&gt;If you don't have onlineJFS, you need to reboot the system in single user mode to extend /opt unless you want to create an additional filesystem and mount it inder /opt/java or /opt/java1.4 depending on which version you are installing. Try this link below if you need to reboot and extend /opt.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072882493" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072882493&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is KBRC00000204.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2004 09:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249132#M175056</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-04-15T09:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extending /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249133#M175057</link>
      <description>You have around 5GB free in VG00 but make sure your both primary and mirror disks have equal free space which you need to extend /opt. With online JFS for example if you wish to increase /opt to new size of 3GB&lt;BR /&gt;#lvextend -L 3000 /dev/vg00/lvolxxx&lt;BR /&gt;#fsadm -F vxfs -b 3000M /opt&lt;BR /&gt;&lt;BR /&gt;If you extend already mirrored filesystem, lvextend will take care of mirror copy extention automatically.</description>
      <pubDate>Thu, 15 Apr 2004 11:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-opt/m-p/3249133#M175057</guid>
      <dc:creator>SS_6</dc:creator>
      <dc:date>2004-04-15T11:19:32Z</dc:date>
    </item>
  </channel>
</rss>

