From: peter@abbnm.com (Peter da Silva)
Subject: Re: Efficient way of deleted large directories
Date: Thu, 23 Sep 2004 13:23:42 +0000 (UTC) [thread overview]
Message-ID: <ciuiou$2muv$1@jeeves.eng.abbnm.com> (raw)
In-Reply-To: 6425a413.0409221716.55a1cb5@posting.google.com
In article <6425a413.0409221716.55a1cb5@posting.google.com>,
Jeremy Thomson <panzerboy@gmail.com> wrote:
> I really need these directories cleared so that the vdump wont take so
> long.
Deleting files tends to be a slow operation with most UNIX file
systems, because each deletion involves updating metadata so it tends
to happen synchronously. I've also noticed that advfs is particularly
hard hit by large directories. There may not be a better solution. You
might consider putting these files on a UFS partition. UFS is also not
really fast at deleting, but it seems less out of control with large
directories.
If these files are REALLY temporary, you could replace the directories
with symlinks to a filesystem you just rebuild from scratch, or at least
don't vdump...
--
I've seen things you people can't imagine. Chimneysweeps on fire over the roofs
of London. I've watched kite-strings glitter in the sun at Hyde Park Gate. All
these things will be lost in time, like chalk-paintings in the rain. `-_-'
Time for your nap. | Peter da Silva | Har du kramat din varg, idag? 'U`
prev parent reply other threads:[~2004-09-23 13:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-23 1:16 Efficient way of deleted large directories Jeremy Thomson
2004-09-23 2:37 ` Bob Harris
2004-09-23 22:59 ` Jeremy Thomson
2004-09-24 2:13 ` Bob Harris
2004-09-26 22:50 ` Jeremy Thomson
2004-09-23 13:23 ` Peter da Silva [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox