FreeBSD 6.1-PRERELEASE : rm swapfile after swapoff can't
release the disk space
nvass at teledomenet.gr
Wed Oct 4 07:48:39 PDT 2006
On Wednesday 04 October 2006 16:55, Honest Qiao wrote:
> Several months ago , I read the follow article, and add a 12G swapfile.
> The article url is
> The swapfile is /usr/swap0 , and I have a swap mount which size is 2G.
> top show:
> Swap: 14G Total, 14G Free
> Today , I use swapoff /usr/swap0 to disable swapfile , and then rm
> /usr/swap0 was deleted, but its disk space can't release.
Only the filename(/usr/swap0) is deleted and that's because
there are references to it.
mdconfig -l to see which /dev/md[0-9] is attached to the file
mdconfig -d -u unit to delete the md
More information about the freebsd-questions