Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2006 17:44:50 +0300
From:      Nikos Vassiliadis <nvass@teledomenet.gr>
To:        freebsd-questions@freebsd.org
Cc:        Honest Qiao <honestqiao@hotmail.com>
Subject:   Re: FreeBSD 6.1-PRERELEASE : rm swapfile after swapoff can't release the disk space
Message-ID:  <200610041744.50978.nvass@teledomenet.gr>
In-Reply-To: <BAY103-F25DF6DB073E8D1F50E5F6BD21D0@phx.gbl>
References:  <BAY103-F25DF6DB073E8D1F50E5F6BD21D0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 04 October 2006 16:55, Honest Qiao wrote:
> Description:
> Several months ago , I read the follow article, and add a 12G swapfile.
> The article url is
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space
>.html
>
> 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.
> /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

[snip]




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