linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* xfstests: failure to umount ext4
@ 2011-03-23 14:36 Amir Goldstein
  2011-03-23 14:57 ` Eric Sandeen
  0 siblings, 1 reply; 5+ messages in thread
From: Amir Goldstein @ 2011-03-23 14:36 UTC (permalink / raw)
  To: XFS; +Cc: Eric Sandeen, Ext4 Developers List

On Wed, Mar 23, 2011 at 4:03 PM, Amir Goldstein <amir73il@gmail.com> wrote:
>
> I've been running xfstests on ext4 and I always get annoying failures to umount:
>
> 213 8s ... 31s
> umount: /mnt/test/ext4: device is busy.
>        (In some cases useful info about processes that use
>         the device is found by lsof(8) or fuser(1))
>
> post 198 mostly fails to umount as well.
> and post 124 always fails to umount.
>
> My server is Ubuntu 10.10, running kernel 2.6.38.
>
> Is there any known issue about this? because I could find it on google
> or on the XFS list.
>

Hi All,

Has anyone seen these failures when running xfstests on ext4?
My test and scratch partitions are dedicated for xfstests.

Thanks,
Amir.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xfstests: failure to umount ext4
  2011-03-23 14:36 xfstests: failure to umount ext4 Amir Goldstein
@ 2011-03-23 14:57 ` Eric Sandeen
  2011-03-23 15:33   ` Amir Goldstein
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Sandeen @ 2011-03-23 14:57 UTC (permalink / raw)
  To: Amir Goldstein; +Cc: XFS, Ext4 Developers List

On 3/23/11 9:36 AM, Amir Goldstein wrote:
> On Wed, Mar 23, 2011 at 4:03 PM, Amir Goldstein <amir73il@gmail.com> wrote:
>>
>> I've been running xfstests on ext4 and I always get annoying failures to umount:
>>
>> 213 8s ... 31s
>> umount: /mnt/test/ext4: device is busy.
>>        (In some cases useful info about processes that use
>>         the device is found by lsof(8) or fuser(1))
>>
>> post 198 mostly fails to umount as well.
>> and post 124 always fails to umount.
>>
>> My server is Ubuntu 10.10, running kernel 2.6.38.
>>
>> Is there any known issue about this? because I could find it on google
>> or on the XFS list.
>>
> 
> Hi All,
> 
> Has anyone seen these failures when running xfstests on ext4?
> My test and scratch partitions are dedicated for xfstests.

I've not seen it, can you investigate with lsof etc?

They both work for me on a quick test, anyway, on a .38
kernel.

What are you using for your partitions under test?
 
-Eric

> Thanks,
> Amir.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xfstests: failure to umount ext4
  2011-03-23 14:57 ` Eric Sandeen
@ 2011-03-23 15:33   ` Amir Goldstein
  2011-03-23 15:45     ` Eric Sandeen
  0 siblings, 1 reply; 5+ messages in thread
From: Amir Goldstein @ 2011-03-23 15:33 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: XFS, Ext4 Developers List

On Wed, Mar 23, 2011 at 4:57 PM, Eric Sandeen <sandeen@redhat.com> wrote:
> On 3/23/11 9:36 AM, Amir Goldstein wrote:
>> On Wed, Mar 23, 2011 at 4:03 PM, Amir Goldstein <amir73il@gmail.com> wrote:
>>>
>>> I've been running xfstests on ext4 and I always get annoying failures to umount:
>>>
>>> 213 8s ... 31s
>>> umount: /mnt/test/ext4: device is busy.
>>>        (In some cases useful info about processes that use
>>>         the device is found by lsof(8) or fuser(1))
>>>
>>> post 198 mostly fails to umount as well.
>>> and post 124 always fails to umount.
>>>
>>> My server is Ubuntu 10.10, running kernel 2.6.38.
>>>
>>> Is there any known issue about this? because I could find it on google
>>> or on the XFS list.
>>>
>>
>> Hi All,
>>
>> Has anyone seen these failures when running xfstests on ext4?
>> My test and scratch partitions are dedicated for xfstests.
>
> I've not seen it, can you investigate with lsof etc?

OK. I have not given complete information.
It does not fail indefinably. I can umount the fs immediately after the failure.
Only the test fails because fsck sees a mounted fs.
There must be a bit of a delay in the umount that causes the problem.

>
> They both work for me on a quick test, anyway, on a .38
> kernel.

Problem existed for me in .37 as well. I don't think it is kernel (or
fs) related.
I think it is a system problem, but I fall short of ideas how to fix it.

>
> What are you using for your partitions under test?
>

Currently, I have /dev/sda5,6,7,8.
I used to work with LVM, but lstat64 didn't like the /dev/mapper links,
so I switched to raw partitions.
Although I was puzzled that xfstests could not work over LVM partitions
It could when I changed lstat64 to stat64, but then I changed it back
thinking it was causing my problems.

> -Eric
>
>> Thanks,
>> Amir.
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xfstests: failure to umount ext4
  2011-03-23 15:33   ` Amir Goldstein
@ 2011-03-23 15:45     ` Eric Sandeen
  2011-03-29  9:01       ` Amir Goldstein
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Sandeen @ 2011-03-23 15:45 UTC (permalink / raw)
  To: Amir Goldstein; +Cc: XFS, Ext4 Developers List

On 3/23/11 10:33 AM, Amir Goldstein wrote:
> On Wed, Mar 23, 2011 at 4:57 PM, Eric Sandeen <sandeen@redhat.com> wrote:
>> On 3/23/11 9:36 AM, Amir Goldstein wrote:
>>> On Wed, Mar 23, 2011 at 4:03 PM, Amir Goldstein <amir73il@gmail.com> wrote:
>>>>
>>>> I've been running xfstests on ext4 and I always get annoying failures to umount:
>>>>
>>>> 213 8s ... 31s
>>>> umount: /mnt/test/ext4: device is busy.
>>>>        (In some cases useful info about processes that use
>>>>         the device is found by lsof(8) or fuser(1))
>>>>
>>>> post 198 mostly fails to umount as well.
>>>> and post 124 always fails to umount.
>>>>
>>>> My server is Ubuntu 10.10, running kernel 2.6.38.
>>>>
>>>> Is there any known issue about this? because I could find it on google
>>>> or on the XFS list.
>>>>
>>>
>>> Hi All,
>>>
>>> Has anyone seen these failures when running xfstests on ext4?
>>> My test and scratch partitions are dedicated for xfstests.
>>
>> I've not seen it, can you investigate with lsof etc?
> 
> OK. I have not given complete information.
> It does not fail indefinably. I can umount the fs immediately after the failure.
> Only the test fails because fsck sees a mounted fs.
> There must be a bit of a delay in the umount that causes the problem.
> 
>>
>> They both work for me on a quick test, anyway, on a .38
>> kernel.
> 
> Problem existed for me in .37 as well. I don't think it is kernel (or
> fs) related.
> I think it is a system problem, but I fall short of ideas how to fix it.
> 
>>
>> What are you using for your partitions under test?
>>
> 
> Currently, I have /dev/sda5,6,7,8.
> I used to work with LVM, but lstat64 didn't like the /dev/mapper links,
> so I switched to raw partitions.
> Although I was puzzled that xfstests could not work over LVM partitions
> It could when I changed lstat64 to stat64, but then I changed it back
> thinking it was causing my problems.

I tried to fix lvm, once, but all the dev symlinks vs. mtab vs.
/proc/mounts was a rat's nest, and I gave up... :)

-Eric
 
>> -Eric
>>
>>> Thanks,
>>> Amir.
>>
>>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xfstests: failure to umount ext4
  2011-03-23 15:45     ` Eric Sandeen
@ 2011-03-29  9:01       ` Amir Goldstein
  0 siblings, 0 replies; 5+ messages in thread
From: Amir Goldstein @ 2011-03-29  9:01 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: XFS, Ext4 Developers List

On Wed, Mar 23, 2011 at 5:45 PM, Eric Sandeen <sandeen@redhat.com> wrote:
> On 3/23/11 10:33 AM, Amir Goldstein wrote:
>> On Wed, Mar 23, 2011 at 4:57 PM, Eric Sandeen <sandeen@redhat.com> wrote:
>>> On 3/23/11 9:36 AM, Amir Goldstein wrote:
>>>> On Wed, Mar 23, 2011 at 4:03 PM, Amir Goldstein <amir73il@gmail.com> wrote:
>>>>>
>>>>> I've been running xfstests on ext4 and I always get annoying failures to umount:
>>>>>
>>>>> 213 8s ... 31s
>>>>> umount: /mnt/test/ext4: device is busy.
>>>>>        (In some cases useful info about processes that use
>>>>>         the device is found by lsof(8) or fuser(1))
>>>>>
>>>>> post 198 mostly fails to umount as well.
>>>>> and post 124 always fails to umount.

USE_REMOUNT=1 fixes (bypasses) the problem for non scratch tests, so
I'm good with it for now :-)

Amir.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-29  9:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23 14:36 xfstests: failure to umount ext4 Amir Goldstein
2011-03-23 14:57 ` Eric Sandeen
2011-03-23 15:33   ` Amir Goldstein
2011-03-23 15:45     ` Eric Sandeen
2011-03-29  9:01       ` Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).