<?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: Finding files hidden under mountpoints in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524858#M24178</link>
    <description>Thanks to you all for your help.&lt;BR /&gt;I'll rate the replies on Tuesday when I'm back!&lt;BR /&gt;Have a good weekend.&lt;BR /&gt;Dermot</description>
    <pubDate>Fri, 04 May 2001 16:00:18 GMT</pubDate>
    <dc:creator>Dermot Beirne</dc:creator>
    <dc:date>2001-05-04T16:00:18Z</dc:date>
    <item>
      <title>Finding files hidden under mountpoints</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524850#M24170</link>
      <description>Hi, &lt;BR /&gt;I have a problem with space on one of my filesystems.  After investigation I find that, it still has over 500 mb of used space and not from my files.  I cannot unmount this to see if there are files "under" it.  I also realise that the inode table, superblocks and newfs command all reserve space on a file system.  &lt;BR /&gt;Looking at the ncheck and ff commands seems to indicate that you need to know what to grep for if you want to check for files hidden under the mountpoint.  &lt;BR /&gt;Example from a different server:&lt;BR /&gt;bdf returns:&lt;BR /&gt;/dev/vg03/lvol2    9371648   41005 8784981    0% /u2&lt;BR /&gt;&lt;BR /&gt;dfspace returns:&lt;BR /&gt;/u2              :      Disk space 8579.08 MB of  9152.00 MB available (93.74%)&lt;BR /&gt;&lt;BR /&gt;This is a HP9000 D Class running HPUX 11.0&lt;BR /&gt;This filesystem only have one empty directory, the default Lost+found.&lt;BR /&gt;How can I find out what space the system has reserved, and make sure that there isn't something else "stealing" my space, i.e. files hidden under this mount-point.  How can use the ncheck command to locate hidden files, when I don't know what to grep for.&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.&lt;BR /&gt;Thanks &amp;amp; regards&lt;BR /&gt;Dermot.</description>
      <pubDate>Fri, 04 May 2001 08:14:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524850#M24170</guid>
      <dc:creator>Dermot Beirne</dc:creator>
      <dc:date>2001-05-04T08:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files hidden under mountpoints</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524851#M24171</link>
      <description>Dermot,&lt;BR /&gt;to check your inode table, you should do 'bdf -i'.&lt;BR /&gt;&lt;BR /&gt;I've never heard about files under mount-point filling it up! I don't think it's possible. The only thing it can fill is the parent filesystem.&lt;BR /&gt;&lt;BR /&gt;Check witch processes are running on that lvol:&lt;BR /&gt;fuser /dev/vg&lt;XX&gt;/lvol&lt;X&gt;&lt;BR /&gt;&lt;BR /&gt;kill them if necessary (be carefull).&lt;BR /&gt;&lt;BR /&gt;Check the size again, try to umount it.&lt;BR /&gt;good luck.&lt;/X&gt;&lt;/XX&gt;</description>
      <pubDate>Fri, 04 May 2001 08:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524851#M24171</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-05-04T08:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files hidden under mountpoints</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524852#M24172</link>
      <description>du -k /u2/*|more&lt;BR /&gt;find /u2 -size +xxx</description>
      <pubDate>Fri, 04 May 2001 08:28:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524852#M24172</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-04T08:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files hidden under mountpoints</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524853#M24173</link>
      <description>You can always use 'du -sk *' inside the fs to check the size of every folder (I know you just have lost+found).&lt;BR /&gt;</description>
      <pubDate>Fri, 04 May 2001 08:30:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524853#M24173</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-05-04T08:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files hidden under mountpoints</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524854#M24174</link>
      <description>Hi,&lt;BR /&gt;If i create a directory and put a file in it, then if i mount, say, the /cdrom onto this directory, I can no longer see the file I created until I unmount the /cdrom again.  It is however, using up space.  &lt;BR /&gt;I suspect that there may be file created in /u2 before it was used as a mount point, and therefore, they are there, invisible, but still using space.  I don't think du shows these?  Isn't that what ncheck is for?&lt;BR /&gt;thanks for you replies.&lt;BR /&gt;Dermot</description>
      <pubDate>Fri, 04 May 2001 09:02:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524854#M24174</guid>
      <dc:creator>Dermot Beirne</dc:creator>
      <dc:date>2001-05-04T09:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files hidden under mountpoints</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524855#M24175</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I never tried to verify this on HP-UX, but I was once trapped on a Solaris box with this:&lt;BR /&gt;&lt;BR /&gt;nfsserver:&lt;BR /&gt;local disk fs /home/exp&lt;BR /&gt;local disk fs /home/exp/subfs1&lt;BR /&gt;&lt;BR /&gt;nfsclient&lt;BR /&gt;nfs fs nfsserver:/home/exp on local dir /mount&lt;BR /&gt;&lt;BR /&gt;On nfsclient, you see dir&lt;BR /&gt;/mount/subfs1&lt;BR /&gt;but ! it is empty !&lt;BR /&gt;&lt;BR /&gt;If you put a file there on the nfsclient you can see and access it on nfsclient.&lt;BR /&gt;On nfsserver you see the file, when you unmount&lt;BR /&gt;/home/exp/subfs1 !&lt;BR /&gt;&lt;BR /&gt;I do not remember exactly, but I think it was either a bug or a solaris specific mount-option. &lt;BR /&gt;&lt;BR /&gt;Do not know if this helps.&lt;BR /&gt;&lt;BR /&gt;I would try a&lt;BR /&gt;find . -print &amp;gt; listfile&lt;BR /&gt;&lt;BR /&gt;on client and server, and compare the lists.&lt;BR /&gt;&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 04 May 2001 10:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524855#M24175</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2001-05-04T10:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files hidden under mountpoints</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524856#M24176</link>
      <description>I still think that you should use that "fuser".&lt;BR /&gt;&lt;BR /&gt;but, if you want to use ncheck:&lt;BR /&gt;ncheck -F &lt;FS type=""&gt; /dev/vg&lt;XX&gt;/lvol&lt;X&gt;&lt;BR /&gt;&lt;BR /&gt;This will give you all the files and the associated inode table. If you say you don't have any files on that mount point, maybe, and just may be, it shows the "under" files.&lt;BR /&gt;good luck.&lt;/X&gt;&lt;/XX&gt;&lt;/FS&gt;</description>
      <pubDate>Fri, 04 May 2001 10:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524856#M24176</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-05-04T10:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files hidden under mountpoints</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524857#M24177</link>
      <description>Pedro is right:&lt;BR /&gt;1) files under the mountpoint fill up the parent filesystem only&lt;BR /&gt;2) it is good to check for processes that keep files open that were already deleted. bdf will report the disk space used by these files as "used" , whereas du does report the space as free. Stopping processes that keep open deleted files, let bdf report the disk space as "available" again.&lt;BR /&gt;3) It appears that you use VxFS. For HFS you would have 10% minfree missing. If you create a VxFS filesystem you get an idea how the space is used for admin information, by the output of newfs, e.g.&lt;BR /&gt;&lt;BR /&gt;# lvcreate -l 160 /dev/vgcifs&lt;BR /&gt;Logical volume "/dev/vgcifs/lvol3" has been successfully created with&lt;BR /&gt;character device "/dev/vgcifs/rlvol3".&lt;BR /&gt;Logical volume "/dev/vgcifs/lvol3" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vgcifs has been saved in /etc/lvmconf/vgcifs.conf&lt;BR /&gt;# newfs -F vxfs /dev/vgcifs/rlvol3&lt;BR /&gt;    version 3 layout&lt;BR /&gt;    655360 sectors, 655360 blocks of size 1024, log size 1024 blocks&lt;BR /&gt;    unlimited inodes, 655360 data blocks, 654112 free data blocks&lt;BR /&gt;    20 allocation units of 32768 blocks, 32768 data blocks&lt;BR /&gt;    first allocation unit starts at block 0&lt;BR /&gt;    overhead per allocation unit is 0 blocks&lt;BR /&gt; # bdf /dev/vgcifs/lvol3&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vgcifs/lvol3   655360    1261  613218    0% &lt;BR /&gt;&lt;BR /&gt;You see that there is a logsize of 1024 blocks reserved (=1MB).&lt;BR /&gt;&lt;BR /&gt;For a VxFS version 2 filesystem you have even more overhead: &lt;BR /&gt;&lt;BR /&gt;# mkfs -F vxfs -o version=2 /dev/vgcifs/rlvol3&lt;BR /&gt;    version 2 layout&lt;BR /&gt;    655360 sectors, 655360 blocks of size 1024, log size 1024 blocks&lt;BR /&gt;    unlimited inodes, 653632 data blocks, 653519 free data blocks&lt;BR /&gt;    10 allocation units of 65600 blocks, 65536 data blocks&lt;BR /&gt;    last allocation unit has 63808 data blocks&lt;BR /&gt;    first allocation unit starts at block 1088&lt;BR /&gt;    overhead per allocation unit is 64 blocks&lt;BR /&gt;    initial allocation overhead is 113 blocks&lt;BR /&gt;&lt;BR /&gt; # bdf /dev/vgcifs/lvol3                                     &lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vgcifs/lvol3   655360    1841  612668    0% &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To prove that most of the usage is the filesystem log, I will give you another mkfs for a VxFS version 3 with reduced logsize (this compares directly with the first newfs output): &lt;BR /&gt;&lt;BR /&gt;# mkfs -F vxfs -o logsize=32 /dev/vgcifs/rlvol3&lt;BR /&gt;    version 3 layout&lt;BR /&gt;    655360 sectors, 655360 blocks of size 1024, log size 32 blocks&lt;BR /&gt;    unlimited inodes, 655360 data blocks, 655104 free data blocks&lt;BR /&gt;    20 allocation units of 32768 blocks, 32768 data blocks&lt;BR /&gt;    first allocation unit starts at block 0&lt;BR /&gt;    overhead per allocation unit is 0 blocks&lt;BR /&gt;# bdf /dev/vgcifs/lvol3&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vgcifs/lvol3   655360     269  614148    0% &lt;BR /&gt;&lt;BR /&gt;You see that bdf shows the size of the log as "used" space.  However, I wouldn't recommend to reduce the logsize of the filesystem although this is most likely the diskspace eater you are searching. &lt;BR /&gt;&lt;BR /&gt;For a VxFS version 2 filesystem you can check the logsize of the filesytem by &lt;BR /&gt;&lt;BR /&gt;# echo "8 b; p S" | fsdb -F vxfs /dev/vgcifs/lvol3&lt;BR /&gt;super-block at 00000008.0000&lt;BR /&gt;magic a501fcf5  version 2  ctime Mon May  7 12:10:53 2001&lt;BR /&gt;log_version 6 logstart 17  logend 1040&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; logend-logstart=logsize. &lt;BR /&gt;&lt;BR /&gt;This doesn't work for version 3 VxFS though. For a VxFS version 3 the logsize is 256k at minimum.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Carsten</description>
      <pubDate>Fri, 04 May 2001 13:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524857#M24177</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-05-04T13:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files hidden under mountpoints</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524858#M24178</link>
      <description>Thanks to you all for your help.&lt;BR /&gt;I'll rate the replies on Tuesday when I'm back!&lt;BR /&gt;Have a good weekend.&lt;BR /&gt;Dermot</description>
      <pubDate>Fri, 04 May 2001 16:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-hidden-under-mountpoints/m-p/2524858#M24178</guid>
      <dc:creator>Dermot Beirne</dc:creator>
      <dc:date>2001-05-04T16:00:18Z</dc:date>
    </item>
  </channel>
</rss>

