Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2001 13:21:22 -0700
From:      Jaye Mathisen <mrcpu@internetcds.com>
To:        hackers@freebsd.org
Subject:   Softupdate gripe...
Message-ID:  <20010730132122.C548@apocalypse.cdsnet.net>

next in thread | raw e-mail | index | archive | help

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
/dev/twed3d                  524698116 524697730      386   100%    /d/d0
/dev/twed4d                  524698116 503964018 20734098    96%    /d/d1
...
/dev/twed3d                  524698116 524697730      386   100%    /d/d0
/dev/twed4d                  524698116 493186018 31512098    94%    /d/d1

Seems like it should round-robin them or something.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010730132122.C548>