xfs
[Top] [All Lists]

handling device or resource busy errors.

To: xfs@xxxxxxxxxxx
Subject: handling device or resource busy errors.
From: Ed Peschko <horos22@xxxxxxxxx>
Date: Wed, 9 Dec 2015 16:25:06 -0800
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vhhHqQk4l/HYdo9qMRHqo1LZ6YzNTK8/euxcpg33Oi4=; b=rlDEtmG8oQXkpyTQ78A87CzycNB3bz4Y4xqrKWFbmlbN1cHcDWe2I6/hnyLgjFeFgp MQrRG04V5xi1z0TJhqE72em1x9oHw0hdWk54UC4atmKYfRpbgYeskBT/OKJRDPAYKtAO Tllm2RdQd42nEBzYSV4kX1bLxdVg8szMAWEBSffF5dcds68B52xMokb7W1grRvy+lJMS W4YHHZ7idZRO9sPAbdpCvnkNql7v2Rs67CL48o1AjkbVUcSy4L5P/fYr0JqCIzFFsq87 d8WbcJ76lSBYccQoc24eF2QfcwpjUVjozB3zFOH8h0bb/w8q09HEda5Pj/97DJz+7D1b xCaQ==
All,

we are 'getting device or resource busy' errors which we *know* are spurious (lsof shows nothing, no multipath daemon, the partition that we are trying to access was just created).

So the working theory is that the futex in question is spurious, that something didn't clean up after itself and we are stuck waiting for an non-existent process to fix it.

And the force option doesn't work for some reason. So a couple of questions.

ÂÂÂ 1. Why doesn't force work in this case? With parted and partx it does - in the case of mkfs.xfs it is a fatal error.
ÂÂÂ 2. could an 'extra force' option - one which ignored the futex - be added in cases of backwards compatibility?
ÂÂÂ 3. is there any way to list out what holds mutexes in the linux kernel so we could try to root out the ultimate cause of the issue? lsof is useless, as is dmesg and /var/log/messages.
ÂÂÂ 4. in the case of #2 how easy would it be? Where is the source code that centos' version of mkfs.xfs uses on the web? And which check would you remove?

Thanks for any assistance, this is driving me nuts.

greg


<Prev in Thread] Current Thread [Next in Thread>