<?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/3603588#M823115</link>
    <description>Shiv,&lt;BR /&gt;&lt;BR /&gt;Do a 'cat /etc/fstab' to see the file systems that are mounted under.&lt;BR /&gt;&lt;BR /&gt;The file systems listed in the previous reply are the 'default' ones that are mounted under /. Of course your applications can mount other file systems, eg /u01 if you have an Oracle database.&lt;BR /&gt;&lt;BR /&gt;best regards,&lt;BR /&gt;Kurt</description>
    <pubDate>Mon, 15 Aug 2005 01:00:30 GMT</pubDate>
    <dc:creator>Kurt Beyers.</dc:creator>
    <dc:date>2005-08-15T01:00:30Z</dc:date>
    <item>
      <title>root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603583#M823110</link>
      <description>What are the names of the file systems which are considered under / file system on hpux ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Sun, 14 Aug 2005 23:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603583#M823110</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-08-14T23:34:48Z</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/3603584#M823111</link>
      <description>can you be more specific, do you mean directories or filesystem. Coz / itself is a filesystem (root filesystem)</description>
      <pubDate>Sun, 14 Aug 2005 23:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603584#M823111</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2005-08-14T23:46:27Z</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/3603585#M823112</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;/ is a file system already!&lt;BR /&gt;&lt;BR /&gt;if you do bdf, you will see, for example:&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     204800   66328  137424   33% /&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;it is mounted on the /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;do you mean all the directories found on the root file system?&lt;BR /&gt;&lt;BR /&gt;typically,&lt;BR /&gt;dev etc  sbin&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2005 00:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603585#M823112</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-08-15T00:01:21Z</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/3603586#M823113</link>
      <description>hi shiv,&lt;BR /&gt;&lt;BR /&gt;baffled by the question. anyway, do this to show all mounted file system:&lt;BR /&gt;&lt;BR /&gt;# bdf&lt;BR /&gt; u will notice / itself is a file system.&lt;BR /&gt;# cd /&lt;BR /&gt;# lsf&lt;BR /&gt; u may then see which directories other than the mounted file systems are under /.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Mon, 15 Aug 2005 00:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603586#M823113</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-08-15T00:04:50Z</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/3603587#M823114</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think under / file system, we can put some file systems such as /etc , /sbin, etc.&lt;BR /&gt;But we usually separate root file system under vg00, such as follow:&lt;BR /&gt;#bdf|grep vg00&lt;BR /&gt;/dev/vg00/lvol3     204800  121721   77966   61% /&lt;BR /&gt;/dev/vg00/lvol1     151509   54799   81559   40% /stand&lt;BR /&gt;/dev/vg00/lvol7    8388608 3173290 5052422   39% /var&lt;BR /&gt;/dev/vg00/lvol6    2097152 1116909  919076   55% /usr&lt;BR /&gt;/dev/vg00/lvol5    1048576  257657  742269   26% /tmp&lt;BR /&gt;/dev/vg00/lvol4    2097152 1449664  607039   70% /opt&lt;BR /&gt;/dev/vg00/lvol8     409600  158184  235740   40% /home&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2005 00:23:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603587#M823114</guid>
      <dc:creator>morganelan</dc:creator>
      <dc:date>2005-08-15T00:23:19Z</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/3603588#M823115</link>
      <description>Shiv,&lt;BR /&gt;&lt;BR /&gt;Do a 'cat /etc/fstab' to see the file systems that are mounted under.&lt;BR /&gt;&lt;BR /&gt;The file systems listed in the previous reply are the 'default' ones that are mounted under /. Of course your applications can mount other file systems, eg /u01 if you have an Oracle database.&lt;BR /&gt;&lt;BR /&gt;best regards,&lt;BR /&gt;Kurt</description>
      <pubDate>Mon, 15 Aug 2005 01:00:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603588#M823115</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2005-08-15T01:00:30Z</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/3603589#M823116</link>
      <description>Hi Shiv&lt;BR /&gt;&lt;BR /&gt;/ is the basic root file system. There are no file systems under it. We have basically /etc for configurations files, /sbin for excutables etc...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Mahesh</description>
      <pubDate>Mon, 15 Aug 2005 01:17:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603589#M823116</guid>
      <dc:creator>Mahesh Kumar Malik</dc:creator>
      <dc:date>2005-08-15T01:17:48Z</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/3603590#M823117</link>
      <description>Shiv,&lt;BR /&gt;&lt;BR /&gt;/ basicly (root file system)and as Kurt's&lt;BR /&gt;description ;&lt;BR /&gt;Do a 'cat /etc/fstab' to see the file systems that are mounted under&lt;BR /&gt;and when you run the command;&lt;BR /&gt;#bdf&lt;BR /&gt;you can easily see already mounted Fs&amp;amp;mount&lt;BR /&gt;points&lt;BR /&gt;&lt;BR /&gt;Good Luck,</description>
      <pubDate>Mon, 15 Aug 2005 02:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603590#M823117</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-08-15T02:32:07Z</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/3603591#M823118</link>
      <description>Hi Shiv,&lt;BR /&gt;&lt;BR /&gt;Normally vg00 becomes your root vg for any HP-UX system (HP recommends). Under vg00 you will have the following filesystems (i.e /, /stand, /var, /usr, /tmp, /opt, /home)&lt;BR /&gt;&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     229376  162680   66240   71% /&lt;BR /&gt;/dev/vg00/lvol1     327680  106576  219424   33% /stand&lt;BR /&gt;/dev/vg00/lvol8    2621440  106560 2495280    4% /var&lt;BR /&gt;/dev/vg00/lvol7    2686976 2016400  665392   75% /usr&lt;BR /&gt;/dev/vg00/lvol4     229376    8936  218792    4% /tmp&lt;BR /&gt;/dev/vg00/lvol6    2523136 1581224  934608   63% /opt&lt;BR /&gt;/dev/vg00/lvol5      32768    8432   24160   26% /home&lt;BR /&gt;&lt;BR /&gt;You can also have different filesystem for crash.(i.e /var/adm/crash)&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Babu</description>
      <pubDate>Mon, 15 Aug 2005 04:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603591#M823118</guid>
      <dc:creator>Babu A</dc:creator>
      <dc:date>2005-08-15T04:51:02Z</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/3603592#M823119</link>
      <description>I thinmk you are asking: what are the "normal" directories contained in the / filesystem, things like /dev /etc /sbin, etc. And that is a very good question to ask since sysadmin mistakes (or bad application software) can wrongly put files and directories in the / filesystem.&lt;BR /&gt; &lt;BR /&gt;So here are some basic rules:&lt;BR /&gt; &lt;BR /&gt;- The / filesystem is static, so it never grows significantly, typically 200 megs or less is more than enough space.&lt;BR /&gt; &lt;BR /&gt;- The / directory should NEVER contain any files, only directories! In order to meet that requirement, root's home directory must be moved from it's (incredibly vulnerable) default location. I recommend creating /root, then move all files from / to /root and change /etc/passwd to reflect root's new home. DO this and you'll avoid becoming a member of the infamous rm -r * club.&lt;BR /&gt; &lt;BR /&gt;- Here are the *only* top level directories in / that are not mountpoints:&lt;BR /&gt; &lt;BR /&gt;/dev /sbin /etc /root&lt;BR /&gt; &lt;BR /&gt;That's all! Anything else must be a mountpoint. A mountpoint is an empty directory which is used to attach another disk section (lvol) such as /tmp or /opt, etc.&lt;BR /&gt; &lt;BR /&gt;- To see all the directories that are part of /, use the du command and sort the results:&lt;BR /&gt; &lt;BR /&gt;du -kx / | sort -rn | head&lt;BR /&gt; &lt;BR /&gt;It should look something like this:&lt;BR /&gt; &lt;BR /&gt;95376   /&lt;BR /&gt;48696   /sbin&lt;BR /&gt;42840   /etc&lt;BR /&gt;26680   /etc/vx&lt;BR /&gt;21656   /etc/vx/type&lt;BR /&gt;14992   /sbin/fs&lt;BR /&gt;10512   /etc/opt&lt;BR /&gt;8776    /sbin/fs/vxfs3.5&lt;BR /&gt;8616    /etc/vx/type/static&lt;BR /&gt;6344    /etc/vx/type/gen&lt;BR /&gt; &lt;BR /&gt;The du -kx / command looks only at the directories stored in /. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2005 07:35:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system/m-p/3603592#M823119</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-15T07:35:05Z</dc:date>
    </item>
  </channel>
</rss>

