Re: Bonnie++ Burps on XFS



Nathan Scott wrote:

On Thu, Apr 06, 2006 at 12:57:56PM +1000, Nathan Scott wrote:


On Wed, Apr 05, 2006 at 10:34:45PM -0400, Kurt Wall wrote:


I've been using bonnie++ off and on for a long time. Suddenly, it has
started failing when run against an XFS filesystem situated on a SATA
drive. Here's the output of a run:


[ Please report these things to linux-xfs@xxxxxxxxxxxxxx ]



Delete files in sequential order...Bonnie: drastic I/O error (rmdir):


Anything in your system log?



Lemme answer that for you - "no". I've reproduced the problem,
I'll get back to you once I've nutted out whats gone wrong.

Thanks for reporting it.

cheers.



Me too.

2.6.16

I had filesystem corruption and needed ran xfs_repair.

After I finished I removed most of the lost and found bits but was left
with:

haze:/scratch/lost+found# ll
total 28
drwxr-xr-x 4 root root 38 2006-04-02 08:29 ./
drwxrwxrwx 26 root root 4096 2006-04-04 18:25 ../
drwxrwxr-x 2 1046 1046 8192 2006-04-02 08:30 658616481/
drwxrwxr-x 2 1046 1046 8192 2006-04-02 08:22 823441168/
haze:/scratch/lost+found# rmdir *
rmdir: `658616481': Directory not empty
rmdir: `823441168': Directory not empty
haze:/scratch/lost+found# ll *
658616481:
total 12
drwxrwxr-x 2 1046 1046 8192 2006-04-02 08:30 ./
drwxr-xr-x 4 root root 38 2006-04-02 08:29 ../

823441168:
total 12
drwxrwxr-x 2 1046 1046 8192 2006-04-02 08:22 ./
drwxr-xr-x 4 root root 38 2006-04-02 08:29 ../

Obviously I had an fs corruption (due to raid failure due to some bogus
libata errors) so this may not be the same thing.

David

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [RFC][PATCH 4/4] cgroup-memcg fix frequent EBUSY at rmdir
    ... When trying following test under memcg. ... You'll see -EBUSY at rmdir very often. ... or false error code if the cgroup has ...
    (Linux-Kernel)
  • Re: Removing corrupted directory
    ... I can toggle the bits with ... I'm not sure if rmdir behaves any differently than rm -r but have ... > The command rmdir is just a safety command, only removing empty ...
    (comp.sys.mac.system)
  • Re: RmDir command generates an error 75 - Path/File access error
    ... RmDir ... 'Next, check to see if the folder is empty, and if it is, delete it. ... Insertion and removal of line 9 ... than you'll need to reset all attributes on files before using Kill method. ...
    (microsoft.public.vb.general.discussion)
  • Re: file with no name -- cannot be deleted
    ... Then you can create a link to the inode: ... Then the directory should be empty and you can delete it? ... so I unmounted it and ran fsck and am ... rmdir: yyy/: Directory not empty ...
    (Ubuntu)