Return-Path: Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p37EgFYM101966 for ; Thu, 7 Apr 2011 09:42:15 -0500 Received: from nm14-vm0.bullet.mail.sp2.yahoo.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with SMTP id 4DC1D5B4 for ; Thu, 7 Apr 2011 07:45:31 -0700 (PDT) Received: from nm14-vm0.bullet.mail.sp2.yahoo.com (nm14-vm0.bullet.mail.sp2.yahoo.com [98.139.91.246]) by cuda.sgi.com with SMTP id aT52LMAzuWD6ywBy for ; Thu, 07 Apr 2011 07:45:31 -0700 (PDT) Message-ID: <18613.58622.qm@web112910.mail.gq1.yahoo.com> References: <31199414.post@talk.nabble.com> <20110322051353.GA15270@dastard> Date: Thu, 7 Apr 2011 07:45:30 -0700 (PDT) From: Leo Davis Subject: Re: umount fails with device is busy In-Reply-To: <20110322051353.GA15270@dastard> MIME-Version: 1.0 List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4618605380480965066==" Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: linux-xfs@oss.sgi.com --===============4618605380480965066== Content-Type: multipart/alternative; boundary="0-1725493675-1302187530=:58622" --0-1725493675-1302187530=:58622 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable missed your reply on this one.... I'd almost given up on this one.....=0A= =0A>Why do you need to do this?=0AI have an app which occassionally throws = errors suggesting the fs is at fault. =0ABut in most cases, I'm not sure wh= ether it's the fs or the raid underneath thats =0Acausing it.=0ASo I usuall= y run xfs_repair with the -n switch.=0A=0ADid you have an oops or a filesys= tem shutdown? i.e. anything in=0Asyslog of note?=0A=0Anot recently, but in = the past had some unclean shutdowns and on one instance I =0Adid a umount -= l on the raid set when it refused to unmount gracefully.=0ABut I had re-rai= ded the server since.=0A=0A=0A=0A________________________________=0AFrom: D= ave Chinner =0ATo: stress_buster = =0ACc: linux-xfs@oss.sgi.com=0ASent: Tue, March 22, 2011 10:43:53 AM=0ASubj= ect: Re: umount fails with device is busy=0A=0AOn Mon, Mar 21, 2011 at 03:5= 3:04AM -0700, stress_buster wrote:=0A> =0A> I'm trying to run xfs_repair on= my filesystem:=0A=0AWhy do you need to do this?=0A=0A> Firstly to unmount = the fs=0A> =0A> Quote:=0A> umount /myfs=0A> umount: /myfs: device is busy= =0A> umount: /myfs: device is busy=A0 =0A> =0A> Quote:=0A> lsof /dev/sda=A0= =0A> =0A> -show none ie nothing seems to be 'touching' the disk.=0A> confu= sed why its still showing device is busy=0A=0ADid you have an oops or a fil= esystem shutdown? i.e. anything in=0Asyslog of note?=0A=0ACheers,=0A=0ADave= .=0A-- =0ADave Chinner=0Adavid@fromorbit.com=0A --0-1725493675-1302187530=:58622 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
missed your reply on this one.... I'd almost given up = on this one.....
=0A
 
=0A
>Why do you need to do= this?
=0A
I have an app which occassionally throws errors suggest= ing 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.
=0A
So I usually run xfs= _repair with the -n switch.
=0A
 
=0A
Did you have a= n oops or a filesystem shutdown? i.e. anything in
syslog of note?
not recently, but in the past had some unclean shutdowns and on one instan= ce I did a umount -l on the raid set when it refused to unmount gracefully.=
=0A
But I had re-raided the server since.
=0A

= =0A
From: Dave Chinner <david@fromorbit.com>
To: stress_buster <leo1783= @yahoo.com>
Cc: linux= -xfs@oss.sgi.com
Sent: T= ue, March 22, 2011 10:43:53 AM
Subj= ect: Re: umount fails with device is busy

On Mon, = Mar 21, 2011 at 03:53:04AM -0700, stress_buster wrote:
>
> I'm= trying to run xfs_repair on my filesystem:

Why do you need to do th= is?

> Firstly to unmount the fs
>
> Quote:
> u= mount /myfs
> umount: /myfs: device is busy
> umount: /myfs: de= vice is busy 
>
> Quote:
> lsof /dev/sda  >
> -show none ie nothing seems to be 'touching' the disk.
&g= t; confused why its still showing device is busy

Did you have an oops or a filesystem shutdown? i.e. anything i= n
syslog of note?

Cheers,

Dave.
--
Dave Chinner
= david@fromorbit.com
--0-1725493675-1302187530=:58622-- --===============4618605380480965066== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs --===============4618605380480965066==--