<?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 file system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502879#M216883</link>
    <description>While you can set quota on root file system, why it is required. / file system is static file system, and no body should be writing to it. I would also recommand to have seperate home for root (like /home/root or /root), but not /.&lt;BR /&gt;&lt;BR /&gt;Also check if you have appropriate perms on /&lt;BR /&gt;I have rwx for root and rx for group and others.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
    <pubDate>Fri, 11 Mar 2005 09:28:06 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-03-11T09:28:06Z</dc:date>
    <item>
      <title>root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502878#M216882</link>
      <description>hi&lt;BR /&gt;is there any way to set quota on root file system ? for example the size of the root filesystem should not exceed 85%.&lt;BR /&gt;Regards&lt;BR /&gt;Hassoun</description>
      <pubDate>Fri, 11 Mar 2005 09:23:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502878#M216882</guid>
      <dc:creator>tarek_3</dc:creator>
      <dc:date>2005-03-11T09:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502879#M216883</link>
      <description>While you can set quota on root file system, why it is required. / file system is static file system, and no body should be writing to it. I would also recommand to have seperate home for root (like /home/root or /root), but not /.&lt;BR /&gt;&lt;BR /&gt;Also check if you have appropriate perms on /&lt;BR /&gt;I have rwx for root and rx for group and others.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 11 Mar 2005 09:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502879#M216883</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-11T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502880#M216884</link>
      <description>You might find this link of interest in setting up quotas:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90672/ch05s03.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90672/ch05s03.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;also, please note what RAC stated, / should not grow if var,opt,usr,tmp,home and stand are mounted seperately.</description>
      <pubDate>Fri, 11 Mar 2005 11:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502880#M216884</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2005-03-11T11:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502881#M216885</link>
      <description>Hi Hassoun,&lt;BR /&gt;&lt;BR /&gt;I suggest you create a buffer file with size around 15 % of your / filesystem. Then when / becomes 100%, you can immediately delete the buffer file so that your / will be less than 100% while you are cleaning up the / filesystem.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paul</description>
      <pubDate>Fri, 11 Mar 2005 11:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502881#M216885</guid>
      <dc:creator>Paul_481</dc:creator>
      <dc:date>2005-03-11T11:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502882#M216886</link>
      <description>The / filesystem has a permission of 755 which allows no one but root to create files or directories there. So if this directory is growing, it is root's fault. / is a static directory.&lt;BR /&gt; &lt;BR /&gt;Start by moving root's HOME directory to either /root (still part of / volume) or /home/root which is a separate filesystem. You can make this change with vipw and change root's home in the passwd file. Now move all files in / to root's HOME. During that process, remove any files that are not needed by root. This includes .profile, .exrc, etc&lt;BR /&gt; &lt;BR /&gt;Now move any directories that root created that are known to be root's personal directoeries such as .elm or Mail. The purpose in these steps is to isolate root user stuff from the rest of the system. Normally, these files and directories are trivial in size.&lt;BR /&gt; &lt;BR /&gt;Now find the largest directories in the / mountpoint by using this command:&lt;BR /&gt; &lt;BR /&gt;du -kx / | sort -rn | head 20&lt;BR /&gt; &lt;BR /&gt;The largest directories will be /etc, /sbin, /etc/vx and /etc/opt. If anything is larger that these directories, a big mistake has been made. Here are sample sizes for / directories:&lt;BR /&gt; &lt;BR /&gt;# du -kx / | sort -rn | head -5&lt;BR /&gt;74848   /&lt;BR /&gt;34448   /etc&lt;BR /&gt;32616   /sbin&lt;BR /&gt;14736   /etc/vx&lt;BR /&gt;14624   /etc/opt&lt;BR /&gt; &lt;BR /&gt;If /dev is significantly larger than 100, then a spelling error was made by a root user, most likely during a backup. Search /dev for any 'normal' files (there must be none):&lt;BR /&gt; &lt;BR /&gt;find /dev -type f&lt;BR /&gt; &lt;BR /&gt;Remove any files in /dev. This may decrease the usage of / by 50-90%.&lt;BR /&gt; &lt;BR /&gt;Then look at any directory that is part of / and not: /etc /sbin /dev (possibly /root) and mounted filesystems (see bdf for a list of mounted filesystems). Whatever is left is likely to be a mistake. Some poorly written applications will create directories in / without permission from the root administrator. These can be moved to another volume and replaced with a symbolic link.&lt;BR /&gt; &lt;BR /&gt;Another source of files in the wrong location are logfiles that are in /etc. Although this is a clear violation of the recommendations for logfiles (should be in /var/adm or possibly /var/opt/&lt;APP-NAME&gt;), there may be some growing logs. These can also be moved to an appropriate /var location and replaced with a symlink.&lt;/APP-NAME&gt;</description>
      <pubDate>Fri, 11 Mar 2005 14:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3502882#M216886</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-11T14:44:03Z</dc:date>
    </item>
  </channel>
</rss>

