From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,d86f44c2176449dd X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsfeed.stanford.edu!news-proxy.abbnm.com!newsboy.eng.abbnm.com!not-for-mail From: peter@abbnm.com (Peter da Silva) Newsgroups: comp.unix.tru64 Subject: Re: Efficient way of deleted large directories Date: Thu, 23 Sep 2004 13:23:42 +0000 (UTC) Organization: ABB Network Management Division Message-ID: References: <6425a413.0409221716.55a1cb5@posting.google.com> NNTP-Posting-Host: grendel.eng.abbnm.com X-Trace: jeeves.eng.abbnm.com 1095945822 89055 198.178.0.150 (23 Sep 2004 13:23:42 GMT) X-Complaints-To: usenet@jeeves.eng.abbnm.com NNTP-Posting-Date: Thu, 23 Sep 2004 13:23:42 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: peter@abbnm.com (Peter da Silva) Xref: g2news1.google.com comp.unix.tru64:313 In article <6425a413.0409221716.55a1cb5@posting.google.com>, Jeremy Thomson 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`