<?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: filesystems under root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128643#M628609</link>
    <description>If all you are looking for is quick way to find   large files under a directory in the root filesystem, you can use the following command:&lt;BR /&gt;&lt;BR /&gt;find / -xdev -size +2048 -print 2&amp;gt;/dev/null | xargs ll -d&lt;BR /&gt;&lt;BR /&gt;This command will find all files in the '/' filesystem that are larger than 1MB (i.e. 2048 512byte blocks) and then using xargs, produce a ll listing for it.  The -xdev option tells find not to cross (traverse) mount points.&lt;BR /&gt;&lt;BR /&gt;As long as you a root when you run this, you should find all large files.  You can also change the threshold at which find reports a largefile by increasing the +2048 number.  i.e.  to find files larger than 10MB make th e number +20480.&lt;BR /&gt;&lt;BR /&gt;JL</description>
    <pubDate>Wed, 26 Nov 2003 11:00:09 GMT</pubDate>
    <dc:creator>James Lynch</dc:creator>
    <dc:date>2003-11-26T11:00:09Z</dc:date>
    <item>
      <title>filesystems under root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128636#M628602</link>
      <description>This may be a "newbie" type of question but I &lt;BR /&gt;can't seem to find an answer. Maybe I can't &lt;BR /&gt;find the right way to ask the question.&lt;BR /&gt;&lt;BR /&gt;How can I easily find out which filesystems are&lt;BR /&gt;under root and which have their own mountpoint.&lt;BR /&gt;&lt;BR /&gt;For instance:&lt;BR /&gt;/home/gmoore1&amp;gt; bdf /&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3    1048576  532792  511800   51% /&lt;BR /&gt;/home/gmoore1&amp;gt; bdf /etc&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3    1048576  532792  511800   51% /&lt;BR /&gt;/home/gmoore1&amp;gt; bdf /var&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol8    8904704 1528136 7319776   17% /var&lt;BR /&gt;&lt;BR /&gt;/etc is under the / directory, but /var is not.&lt;BR /&gt;This came up because a DBA filled up the / directory, and I couldn't quickly find what &lt;BR /&gt;sub-directory he filled up. The usually suspect&lt;BR /&gt;is /tmp, but like /var, it is a separate &lt;BR /&gt;mountpoint and not included in the totals for&lt;BR /&gt;the / directory.&lt;BR /&gt;&lt;BR /&gt;How do I easily find out what is a sub-directory&lt;BR /&gt;of the / directory, and what is a separate&lt;BR /&gt;mountpoint?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 25 Nov 2003 15:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128636#M628602</guid>
      <dc:creator>Gord Moore</dc:creator>
      <dc:date>2003-11-25T15:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: filesystems under root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128637#M628603</link>
      <description># bdf&lt;BR /&gt;&lt;BR /&gt;This command will tell you which are the mounted file systems.&lt;BR /&gt;&lt;BR /&gt;# ls -al / &lt;BR /&gt;&lt;BR /&gt;This command will tell you call files and subdirectories on root (/) including mount_points. All directories except the one mounted are subdirectories in root file system.&lt;BR /&gt;&lt;BR /&gt;Also, to see which subdirectory on root (/) holds the maximum space, use this command:&lt;BR /&gt;&lt;BR /&gt;# du -k -x / | sort -rn | pg&lt;BR /&gt;&lt;BR /&gt;This will list and sort all subdirectories in root, excluding the mount points.</description>
      <pubDate>Tue, 25 Nov 2003 15:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128637#M628603</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-11-25T15:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: filesystems under root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128638#M628604</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Well if you just do a bdf without any options, you will see all of your mounted file systems.&lt;BR /&gt;&lt;BR /&gt;If you are in root and do and ll | more , then you can page through and see everything (files and sub-dirs). If you look at the sub-dir and it does not show up in bdf then it is not mounted seperately.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;-Bryan</description>
      <pubDate>Tue, 25 Nov 2003 15:40:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128638#M628604</guid>
      <dc:creator>Bryan D. Quinn</dc:creator>
      <dc:date>2003-11-25T15:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: filesystems under root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128639#M628605</link>
      <description>cd /&lt;BR /&gt;ll -iF&lt;BR /&gt;&lt;BR /&gt;...directories shown will have a "/" appended, and the inode of a filesystem mountpoint will always be 2.  A standard directory under the root directory will have an inode number &amp;gt;2.</description>
      <pubDate>Tue, 25 Nov 2003 15:40:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128639#M628605</guid>
      <dc:creator>James A. Donovan</dc:creator>
      <dc:date>2003-11-25T15:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: filesystems under root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128640#M628606</link>
      <description>Ok. Thanks people. The short answer seems to&lt;BR /&gt;be "not possible" except by manually comparing&lt;BR /&gt;two lists (a bdf and ls -al, for example), &lt;BR /&gt;or using some knowledge of what inodes equal &lt;BR /&gt;to 2 in a ll -iF means and again manually &lt;BR /&gt;parsing the list.&lt;BR /&gt;&lt;BR /&gt;Maybe that's why I've never found a clean,&lt;BR /&gt;simple answer!</description>
      <pubDate>Tue, 25 Nov 2003 15:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128640#M628606</guid>
      <dc:creator>Gord Moore</dc:creator>
      <dc:date>2003-11-25T15:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: filesystems under root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128641#M628607</link>
      <description>run mount to see want is mounted as a file systems. Any directory not in that list is a regular directory.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Tue, 25 Nov 2003 15:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128641#M628607</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-11-25T15:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: filesystems under root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128642#M628608</link>
      <description>You could additionally grep the results of ll -iF to get exactly which sub-dirs are not mounted...&lt;BR /&gt;&lt;BR /&gt;ll -iF | grep dr | grep -v '2 dr'&lt;BR /&gt;&lt;BR /&gt;And those that are mounted...&lt;BR /&gt;&lt;BR /&gt;ll -iF | grep ' 2 dr'&lt;BR /&gt;(put a space before the 2)</description>
      <pubDate>Wed, 26 Nov 2003 08:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128642#M628608</guid>
      <dc:creator>Tim Jaster</dc:creator>
      <dc:date>2003-11-26T08:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: filesystems under root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128643#M628609</link>
      <description>If all you are looking for is quick way to find   large files under a directory in the root filesystem, you can use the following command:&lt;BR /&gt;&lt;BR /&gt;find / -xdev -size +2048 -print 2&amp;gt;/dev/null | xargs ll -d&lt;BR /&gt;&lt;BR /&gt;This command will find all files in the '/' filesystem that are larger than 1MB (i.e. 2048 512byte blocks) and then using xargs, produce a ll listing for it.  The -xdev option tells find not to cross (traverse) mount points.&lt;BR /&gt;&lt;BR /&gt;As long as you a root when you run this, you should find all large files.  You can also change the threshold at which find reports a largefile by increasing the +2048 number.  i.e.  to find files larger than 10MB make th e number +20480.&lt;BR /&gt;&lt;BR /&gt;JL</description>
      <pubDate>Wed, 26 Nov 2003 11:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128643#M628609</guid>
      <dc:creator>James Lynch</dc:creator>
      <dc:date>2003-11-26T11:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: filesystems under root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128644#M628610</link>
      <description>if it's not one of these:&lt;BR /&gt;&lt;BR /&gt;/stand&lt;BR /&gt;/&lt;BR /&gt;/home&lt;BR /&gt;/opt&lt;BR /&gt;/tmp&lt;BR /&gt;/usr&lt;BR /&gt;/var&lt;BR /&gt;&lt;BR /&gt;and you didn't mount it, then it's a subdir of root.&lt;BR /&gt;&lt;BR /&gt;these are the default mount points for hpux.</description>
      <pubDate>Wed, 26 Nov 2003 11:07:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystems-under-root/m-p/3128644#M628610</guid>
      <dc:creator>Joshua Scott</dc:creator>
      <dc:date>2003-11-26T11:07:42Z</dc:date>
    </item>
  </channel>
</rss>

