<?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: root filesystem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990731#M124274</link>
    <description>We always create a /root filesystem, and make that root's home directory.  That way we can grow it as needed, and put all our scripts and miscellaneous stuff in there without fear of overgrowing the / filesystem.  As other have said, / should never grow.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
    <pubDate>Fri, 06 Jun 2003 13:34:35 GMT</pubDate>
    <dc:creator>Chris Vail</dc:creator>
    <dc:date>2003-06-06T13:34:35Z</dc:date>
    <item>
      <title>root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990724#M124267</link>
      <description>hello &lt;BR /&gt;&lt;BR /&gt;is ther a way to extend the / ( root ) filesystem. when i tried in sam is sys that cannot unmount the / in order to extend.&lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 06:54:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990724#M124267</guid>
      <dc:creator>enrique Ortiz_1</dc:creator>
      <dc:date>2003-06-06T06:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990725#M124268</link>
      <description>Hi,&lt;BR /&gt;the only easy way is to re-install the S.O., using ignite (make_tape_recovery).&lt;BR /&gt;&lt;BR /&gt;There are some tricks, but they involve going down to maintenance, disabling swap and other.&lt;BR /&gt;&lt;BR /&gt;If you are asking this question, it's best not to go too deeper.&lt;BR /&gt;&lt;BR /&gt;Why do you want to exent / ?&lt;BR /&gt;&lt;BR /&gt;If you are in lack of space it's best to create additional lvol and move your data there.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 06:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990725#M124268</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-06T06:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990726#M124269</link>
      <description>Yes, it is possible, but it is NOT easy.&lt;BR /&gt;Its far simlper to find out who/what is filling up / to free up some space. Remember, / is NOT supposed to grow, it should remain static. If its not then someone/somthing is using for data which should not happen.&lt;BR /&gt;&lt;BR /&gt;You can check the sizes of the dirs in /etc;&lt;BR /&gt;&lt;BR /&gt;du -sk /etc /dev /sbin /tcb&lt;BR /&gt;&lt;BR /&gt;They should only be around;&lt;BR /&gt;45000 /etc&lt;BR /&gt;25 /dev&lt;BR /&gt;370 /tcb&lt;BR /&gt;23300 /sbin&lt;BR /&gt;&lt;BR /&gt;If theyre a lot bigger then you need to look into each to find out what is filling them up.&lt;BR /&gt;&lt;BR /&gt;The easiest way to increase / is;&lt;BR /&gt;1. Create a new lvol for vg00 (eg. lvol9). Set it to same size as /tmp.&lt;BR /&gt;2. in /etc/fstab change the /dev/vg00/lvol4 for /tmp to the new lvol, eg. lvol9.&lt;BR /&gt;3. reboot. now /tmp is on lvol9.&lt;BR /&gt;4. lvremove old tmp, lvol4. Now you can extend / up to the size of the old lvol4.&lt;BR /&gt;&lt;BR /&gt;Or you can backup using an ignite tape, boot off the ignite tape and then set the new size for /, but this is a bigger and longer job.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 07:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990726#M124269</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-06-06T07:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990727#M124270</link>
      <description>Hi,&lt;BR /&gt; You cannot  increase the size of / FS through sam .&lt;BR /&gt;&lt;BR /&gt;When u want to increase the /stand,/, or swap lvols the PEs needs to be contiguos. So you have to take the total system backup and modify the LVM structure of the root disk if you don't have enough free PE's continously after the / (default lvol3).&lt;BR /&gt;&lt;BR /&gt;The better way of doing is &lt;BR /&gt;take a full backup of system and Ignite backup of vg00.&lt;BR /&gt; When u restore using Ignite u can increase the / lvol's space provided u have enough space on your roort disk.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-tamil &lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 07:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990727#M124270</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2003-06-06T07:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990728#M124271</link>
      <description>Using HPs Online JFS product you can increase the size of root lvol provided that you have enough contigeous space available for extending the root vol. Do a lvdisplay -v and find out where the root lvol ends and if there are any free logical extents after that. If those extents are already occupied by a different LV (say lvol8) then create a new LV and move lvol8 data to the new LV and remount it. Now use fsadm to increase the size of root LV..&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Karthik</description>
      <pubDate>Fri, 06 Jun 2003 08:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990728#M124271</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-06-06T08:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990729#M124272</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My way would be identify what are the Directories that are occupying more space in / using "du -ks" and create separate FS for them. This would be the easiest way. If you don't have FS for /var, /tmp and /usr boot the machine in single user mode and create separate FS for them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 09:01:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990729#M124272</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2003-06-06T09:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990730#M124273</link>
      <description>The reason that the root filesystem grows is that something is using space where it doesn't belong. / is a static filesystem. Start by analyzing all the directories in / by using du:&lt;BR /&gt;&lt;BR /&gt;du -kx / | sort -rn | head -10&lt;BR /&gt;&lt;BR /&gt;The largest directories in a 'normal' / directory will be:&lt;BR /&gt;&lt;BR /&gt;29200   /&lt;BR /&gt;18979   /sbin&lt;BR /&gt;8601    /etc&lt;BR /&gt;6383    /etc/opt&lt;BR /&gt;3676    /sbin/fs&lt;BR /&gt;&lt;BR /&gt;Whatever you find that is large (and not part of this list) must be moved to the correct location.  Bad applicatios will load themselves into a new root directory rather than /opt where they belong.&lt;BR /&gt;&lt;BR /&gt;The root user may also be at fault. If the / directory is very large but /sbin is the next largest and about 18-20megs, then look for big files left by the root user:&lt;BR /&gt;&lt;BR /&gt;ll / | sort -rnk5&lt;BR /&gt;&lt;BR /&gt;To help with mistakes like this, always move root's home directory to another location, either /home/root, or /root.&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 10:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990730#M124273</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-06-06T10:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990731#M124274</link>
      <description>We always create a /root filesystem, and make that root's home directory.  That way we can grow it as needed, and put all our scripts and miscellaneous stuff in there without fear of overgrowing the / filesystem.  As other have said, / should never grow.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 06 Jun 2003 13:34:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-filesystem/m-p/2990731#M124274</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-06-06T13:34:35Z</dc:date>
    </item>
  </channel>
</rss>

