* Jaye Mathisen <[EMAIL PROTECTED]> [010730 15:21] wrote:
>
> 2 500+GB FS's, both filled completely.
>
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/twed3d 524698116 524697730 386 100% /d/d0
> /dev/twed4d 524698116 524502226 195890 100% /d/d1
> newsfeed-inn# rm -f /d/d?/*
> newsfeed-inn# ls -lR /d
> total 4
> drwxr-xr-x 2 news news 512 Jul 30 13:13 d0
> drwxr-xr-x 2 news news 512 Jul 30 13:13 d1
>
> /d/d0:
>
> /d/d1:
> newsfeed-inn# df ; sleep 30 ; df
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/twed3d 524698116 524697730 386 100% /d/d0
> /dev/twed4d 524698116 524446754 251362 100% /d/d1
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/twed3d 524698116 524697730 386 100% /d/d0
> /dev/twed4d 524698116 522361778 2336338 100% /d/d1
>
> I realize that one of the issues with softupdates is that freed space isn't
> returned immediately, but *none* of the freed up space is being returned on d0,
> while d1 is seeing it.
>
> Seems like these should be more equal, otherwise, if you had a lot of SU mounted
> FS's, you could possibly deny service for a long time.
>
> It's been another minute now, and still no blocks freed up on /d/d0.
> newsfeed-inn# df ; sleep 120 ; df
[snip]
>
> Seems like it should round-robin them or something.
I hope you're not expecting that 'rm' command to somehow realize that
it's operating on two seperate FS's. If you want to see deletions
happen at the same time you want to do this:
rm -f /d/d0/* & ; rm -f /d/d1/* & ;
Otherwise your rm is only going to process one directory tree at a
time.
If you want to accellerate the release of blocks issue a couple
of sync(1) commands:
sync;sync;sync;
which will 'accelerate' the free'ing of space, actually it will
accellerate the writing of the meta data that will actually free
up the space.
--
-Alfred Perlstein [[EMAIL PROTECTED]]
Ok, who wrote this damn function called '??'?
And why do my programs keep crashing in it?
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message