<div dir="ltr"><div>Thanks everyone. My customer was using the df command to troubleshoot NFS issues. They relied on df getting stuck to tell them there was a file system issue. While it worked it was definitely not the intended use for df. This will probably come down to "use something else" for that.<br><br></div><div>--Brian<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 26, 2016 at 12:49 PM, Niel Bornstein <span dir="ltr"><<a href="mailto:nbornstein@gmail.com" target="_blank">nbornstein@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From browsing the source code and talking with engineering, it looks<br>
like df calls read_file_system_list() to get the list of mounted<br>
filesystems and calls getmntent() on each one, and then df itself<br>
converts the mount_entry struct into something human-readable. df itself<br>
doesn't go through the filesystems one at a time. So like any other<br>
process, if read_file_system_list() attempts i/o to a filesystem, it<br>
will go into uninterruptible sleep until the i/o completes.<br>
<br>
There is a -l option to just show local filesystems, if that helps.<br>
<span class="HOEnZb"><font color="#888888"><br>
Niel<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 08/25/2016 07:23 PM, Brian Stanaland wrote:<br>
> Has anyone run across this situation?<br>
><br>
> It seems the df command in sles 11 sp4 stats all the filesystems before<br>
> displaying anything. This means that when it gets stuck on a network<br>
> file system it just stops doing anything. It's waiting for a reply from<br>
> the file system that will never come. The user knows something is wrong<br>
> but if it displayed results as it went along, they'd know which file<br>
> system isn't responding.<br>
><br>
> --Brian<br>
><br>
> --<br>
> "Anyone who has never made a mistake has never tried anything new."<br>
> -Albert Einstein<br>
><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo</a><br>
><br>
______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">"Anyone who has never made a mistake has never tried anything new." -Albert Einstein<br><br></div>
</div>