<?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: expand /opt/openv in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789028#M44386</link>
    <description>Or increase the openv filesystem itself.&lt;BR /&gt;&lt;BR /&gt;give us a&lt;BR /&gt;&lt;BR /&gt;## df&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
    <pubDate>Wed, 18 May 2011 15:32:02 GMT</pubDate>
    <dc:creator>Bob_Vance</dc:creator>
    <dc:date>2011-05-18T15:32:02Z</dc:date>
    <item>
      <title>expand /opt/openv</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789024#M44382</link>
      <description>We are looking to see if around 1.5 G is available for netbackup upgrade but wanted to know the options on how to do the upgrade (by creating symbolic links)how do we do this sym links and use this in case space is not available. please help. RHEL 5 env.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian.</description>
      <pubDate>Tue, 17 May 2011 19:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789024#M44382</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2011-05-17T19:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: expand /opt/openv</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789025#M44383</link>
      <description>First, have you considered the possibility of expanding your filesystem? (It's easy if you're using LVM, not so easy if using "legacy" PC partitions. In my opinion, you should always use LVM in server systems unless there are very compelling reasons to do otherwise.)&lt;BR /&gt;&lt;BR /&gt;But if you need to use symbolic links, here's how. Let's assume that /lots-of-space/ is a filesystem that contains enough space to contain your current /opt/openv + the amount required by the upgrade:&lt;BR /&gt;&lt;BR /&gt;mv -i /opt/openv /lots-of-space/&lt;BR /&gt;ln -s /lots-of-space/openv /opt/&lt;BR /&gt;&lt;BR /&gt;In short, "ln" works sort of like "cp", but instead of actual copying it only makes the destination a link pointing back to the source.&lt;BR /&gt;&lt;BR /&gt;Verification:&lt;BR /&gt;ls -ld /opt/openv&lt;BR /&gt;&lt;BR /&gt;should list it like this:&lt;BR /&gt;... /opt/openv -&amp;gt; /lots-of-space/openv&lt;BR /&gt;&lt;BR /&gt;Some security-sensitive applications might not like being moved around like this, so test it after relocating it.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 18 May 2011 05:47:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789025#M44383</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-05-18T05:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: expand /opt/openv</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789026#M44384</link>
      <description>Matti&lt;BR /&gt;&lt;BR /&gt;one question, since /opt/openv is a mounted filesystem, before doing the mv -i should i not unmount /opt/openv??&lt;BR /&gt;&lt;BR /&gt;here is output from the 1st step&lt;BR /&gt;&lt;BR /&gt; mv -i /opt/openv /new&lt;BR /&gt;mv: cannot remove directory `/opt/openv': Device or resource busy&lt;BR /&gt;&lt;BR /&gt;/new has space.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Wed, 18 May 2011 12:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789026#M44384</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2011-05-18T12:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: expand /opt/openv</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789027#M44385</link>
      <description>Well, of course, if it's a mount point then the situation is different.&lt;BR /&gt;Matti was assuming that "openv" was just a directory under the /opt filesystem.&lt;BR /&gt;&lt;BR /&gt;In that case, you'd pick a few directories UNDER openv and do the similar mv, ln&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;## mkdir /lots-of-space/openv&lt;BR /&gt;(just to keep everything cozy)&lt;BR /&gt;&lt;BR /&gt;## mv -i /opt/openv/dir1 /lots-of-space/openv&lt;BR /&gt;## ln -s /lots-of-space/openv/dir1 /opt/openv/dir1&lt;BR /&gt;## mv -i /opt/openv/dir2 /lots-of-space/openv&lt;BR /&gt;## ln -s /lots-of-space/openv/dir2 /opt/openv/dir2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Wed, 18 May 2011 15:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789027#M44385</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-05-18T15:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: expand /opt/openv</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789028#M44386</link>
      <description>Or increase the openv filesystem itself.&lt;BR /&gt;&lt;BR /&gt;give us a&lt;BR /&gt;&lt;BR /&gt;## df&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Wed, 18 May 2011 15:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789028#M44386</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-05-18T15:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: expand /opt/openv</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789029#M44387</link>
      <description>can you do a df -k /opt/openv? Also check if the VG it resides on has ample space left (vgdisplay vgname). If you have space - then you can simply lvextend and resize2fs ONLINE.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If /opt/openv is NOT on its own Filesystem/Partition, you will need to find downtime to "move" it off (actually best practice to have it on its own FS and partition).&lt;BR /&gt;&lt;BR /&gt;Here is my recommendation:&lt;BR /&gt;&lt;BR /&gt;Create New LVOL/FS if you've space&lt;BR /&gt;mount new fs to say /x&lt;BR /&gt;shutdown Netbackup&lt;BR /&gt;cd /opt/openv&lt;BR /&gt;find ./ -depth -print|cpio -pdvmu /x&lt;BR /&gt;cd /opt&lt;BR /&gt;mv openv openv.old&lt;BR /&gt;mkdir openv&lt;BR /&gt;mount /dev/vgname/openv /opt/openv&lt;BR /&gt;resume NBU&lt;BR /&gt;create /etc/fstab entry for /opt/openv&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2011 15:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789029#M44387</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2011-05-18T15:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: expand /opt/openv</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789030#M44388</link>
      <description>Bob&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. I have lot of directories under /opt/openv so i guess this approach may not work&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian.</description>
      <pubDate>Wed, 18 May 2011 15:55:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789030#M44388</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2011-05-18T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: expand /opt/openv</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789031#M44389</link>
      <description>Well, you would look for a few large dirs :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;## du -sk /opt/openv/*&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Wed, 18 May 2011 16:01:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-opt-openv/m-p/4789031#M44389</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-05-18T16:01:22Z</dc:date>
    </item>
  </channel>
</rss>

