xfs
[Top] [All Lists]

Re: umount fails with device is busy

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: umount fails with device is busy
From: Leo Davis <leo1783@xxxxxxxxx>
Date: Thu, 7 Apr 2011 07:45:30 -0700 (PDT)
Cc: linux-xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1302187531; bh=ceRoJbkVsm0lhk6I9LAeqEuplk/NGuKzcjWSulE2+AE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=tFjwYCvhu7TXtk/1k4sXjvqmT76eWNDSJ11/tt2/2X0tukSwMgBWr8cB+vH7CBIfbCKu9QvIqbsnZo52PkhDqJqLBmfne3Iw5n/voiUC7/dW7/ssjSG2uY2hPgNG6NGemgtIwaY8F3Heq6E+q8yDsLOv8ByMsWv2s+iyq4uazYw=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=x/DBVXTtRrDUZMM1MfQQg5lTb3ZgLZGGH4siDYbP6Aq9FAhlC0NRWh1EaCJ+90rSFXDHC9SBFZFMxDC3ZvN44AXm+AXMOscSfcAgk0OpAPNnKi1PyT3y6nkcHzsBP7CGmQSi1GvowTPa9mpbEsTes7dIeOo6faf0u1Rs5HNfCFg=;
In-reply-to: <20110322051353.GA15270@dastard>
References: <31199414.post@xxxxxxxxxxxxxxx> <20110322051353.GA15270@dastard>
missed your reply on this one.... I'd almost given up on this one.....
 
>Why do you need to do this?
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.
So I usually run xfs_repair with the -n switch.
 
Did you have an 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 instance I did a umount -l on the raid set when it refused to unmount gracefully.
But I had re-raided the server since.


From: Dave Chinner <david@xxxxxxxxxxxxx>
To: stress_buster <leo1783@xxxxxxxxx>
Cc: linux-xfs@xxxxxxxxxxx
Sent: Tue, March 22, 2011 10:43:53 AM
Subject: 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 this?

> Firstly to unmount the fs
>
> Quote:
> umount /myfs
> umount: /myfs: device is busy
> umount: /myfs: device is busy 
>
> Quote:
> lsof /dev/sda 
>
> -show none ie nothing seems to be 'touching' the disk.
> confused why its still showing device is busy

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

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>
  • Re: umount fails with device is busy, Leo Davis <=