Re: Strange Out of disk space
Artem Kuchin wrote: Unfortunatelly no, it does not. I don't have md at all, but reboot always solves the problem and i still have no idea how to look at what's eating the disk space. fstat shows all (amongst other things) open files (actually inode numbers) Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange Out of disk space
Nejc Škoberne ?: Hey, My guess is that something has mmap-ed a HUGE chunk of disk space. If I reboot the space is freed. Much more likely is that some program has deleted a large file, while still holding it open. Usual suspect is some kind of log file, or temporary file. Then I just did "mdconfig -d -u /dev/md4" and everything is OK now: /dev/mirror/gm0s1f 112291390 46935874 56372206 45% /usr Hope that it maybe helps. :) Unfortunatelly no, it does not. I don't have md at all, but reboot always solves the problem and i still have no idea how to look at what's eating the disk space. -- Artem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange Out of disk space
Hey, My guess is that something has mmap-ed a HUGE chunk of disk space. If I reboot the space is freed. Much more likely is that some program has deleted a large file, while still holding it open. Usual suspect is some kind of log file, or temporary file. I also had a similar problem, which I solved right now. :) So thanks for the inspiration to try harder to find out what was eating my disk space. df showed this: /dev/mirror/gm0s1f 112291390 83438178 1986990281%/usr and "du -d1 -k /usr" showed: 46934133/usr When this happened before, everything was freed after reboot. Just now, when writing this post, I went through my process list (I wanted to compare running services with your system) and found this: 2131 ?? DL 3:36,42 [md4] Then I remembered that once, quite some time ago, I created a file-backed filesystem using mdconfig. I did "mdconfig -l -u /dev/md4" and got this: md4 vnode 111G /usr/snapshot/snap Because /usr/snapshot/snap doesn't exist anymore (I remember deleting it one day, because I thought I didn't need it anymore), du shows wrong size. Then I just did "mdconfig -d -u /dev/md4" and everything is OK now: /dev/mirror/gm0s1f 112291390 46935874 5637220645%/usr Hope that it maybe helps. :) Bye, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange Out of disk space
On Mon, Jun 23, 2008 at 03:45:37PM +0400, Artem Kuchin wrote: > Hello! > > Look at this: > > /dev/da0s1f 104164493 104061031 -8229697 109%/usr > > but > du -k -d1 /usr > gives a lot less (about 20GB). > > My guess is that something has mmap-ed a HUGE chunk of > disk space. If I reboot the space is freed. Much more likely is that some program has deleted a large file, while still holding it open. Usual suspect is some kind of log file, or temporary file. > > The question is how can i sees what process mmaped how much > space and where? > > -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Strange Out of disk space
Hello! Look at this: /dev/da0s1f 104164493 104061031 -8229697 109%/usr but du -k -d1 /usr gives a lot less (about 20GB). My guess is that something has mmap-ed a HUGE chunk of disk space. If I reboot the space is freed. The question is how can i sees what process mmaped how much space and where? -- Regards, Artem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"