Bug 86587 - [msdosfs] rm -r /PATH fails with lots of small files
Summary: [msdosfs] rm -r /PATH fails with lots of small files
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 10:50 UTC by Jochen Gensch
Modified: 2018-05-28 19:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Gensch 2005-09-26 10:50:15 UTC
If I try to delete lots of small files on a FAT32 partition the rm command
fails after some minutes with the following message:

SU NB /:rm -r /mnt/oo-install/
rm: fts_read: No such file or directory

You can reexecute the command and it will continue deleting for the same
amount of time again.

How-To-Repeat: Extract lots of source code, for instance OpenOffice into a (Fat32 only?)
folder an try to delete it by running "rm -r /PATH_TO_FOLDER"
Comment 1 Jochen Gensch 2005-09-27 00:06:31 UTC
Same problem with "du -hd0 /"
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-05-18 05:30:50 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 3 Enji Cooper freebsd_committer freebsd_triage 2014-07-13 20:19:58 UTC
I see this occur frequently with UFS and ZFS when running buildworld with high -j values, so I'm not sure if this is an issue with just msdosfs, or if it's a race within the VFS layer :/.
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:49:04 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.