<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>missed your reply on this one.... I'd almost given up on this one.....</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;Why do you need to do this?</DIV>
<DIV>I have an app which occassionally throws errors suggesting the fs is at fault. But in most cases, I'm not sure whether it's the fs or the raid underneath thats causing it.</DIV>
<DIV>So I usually run xfs_repair with the -n switch.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Did you have an oops or a filesystem shutdown? i.e. anything in<BR>syslog of note?<BR><BR>not recently, but in the past had some unclean shutdowns and on one instance I did a umount -l on the raid set when it refused to unmount gracefully.</DIV>
<DIV>But I had re-raided the server since.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Dave Chinner &lt;david@fromorbit.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> stress_buster &lt;leo1783@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> linux-xfs@oss.sgi.com<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tue, March 22, 2011 10:43:53 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: umount fails with device is busy<BR></FONT><BR>On Mon, Mar 21, 2011 at 03:53:04AM -0700, stress_buster wrote:<BR>&gt; <BR>&gt; I'm trying to run xfs_repair on my filesystem:<BR><BR>Why do you need to do this?<BR><BR>&gt; Firstly to unmount the fs<BR>&gt; <BR>&gt; Quote:<BR>&gt; umount /myfs<BR>&gt; umount: /myfs: device is busy<BR>&gt; umount: /myfs: device is busy&nbsp; <BR>&gt; <BR>&gt; Quote:<BR>&gt; lsof /dev/sda&nbsp; <BR>&gt; <BR>&gt; -show none ie nothing seems to be 'touching' the disk.<BR>&gt; confused why its still showing device is
 busy<BR><BR>Did you have an oops or a filesystem shutdown? i.e. anything in<BR>syslog of note?<BR><BR>Cheers,<BR><BR>Dave.<BR>-- <BR>Dave Chinner<BR><A href="mailto:david@fromorbit.com" ymailto="mailto:david@fromorbit.com">david@fromorbit.com</A><BR></DIV></DIV></div></body></html>