From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 06:26:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8263106568D for ; Tue, 29 Apr 2008 06:26:20 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from desexchf.destra.com (desexchf.destra.com [202.125.161.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2E0598FC21 for ; Tue, 29 Apr 2008 06:26:19 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from [192.168.0.87] ([202.91.207.2]) by desexchf.destra.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 Apr 2008 16:27:59 +1000 Message-Id: From: Hartleigh Burton To: Colin Yuile In-Reply-To: <20080429153412.fa5e75b6.colin@ips.gov.au> Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 29 Apr 2008 16:26:24 +1000 References: <8176B9AB-92B0-4150-9127-C41D79D0E7C4@destra.com> <20080429153412.fa5e75b6.colin@ips.gov.au> X-Mailer: Apple Mail (2.919.2) X-OriginalArrivalTime: 29 Apr 2008 06:27:59.0715 (UTC) FILETIME=[2B699B30:01C8A9C2] Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: a monster stole my / X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 06:26:21 -0000 That solved my problem thank you Colin. Stopped MySQL, unmounted /dev/da1p1 -> /db, removed old MySQL data files, remounted da1p1 & restarted MySQL. intranet# df -H Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 1.0G 91M 864M 10% / devfs 1.0k 1.0k 0B 100% /dev /dev/da0s1e 1.0G 229k 954M 0% /tmp /dev/da0s1f 62G 5.1G 52G 9% /usr /dev/da0s1d 5.2G 2.3G 2.4G 49% /var devfs 1.0k 1.0k 0B 100% /var/named/dev /dev/da1p1 3.6T 733G 2.6T 22% /db On 29/04/2008, at 3:34 PM, Colin Yuile wrote: > On Tue, 29 Apr 2008 14:40:09 +1000 > Hartleigh Burton wrote: > >> Hiya! >> >> I have a problem with / currently being at 108% capacity. I have >> found >> a previous thread in the archives which explains a few questions >> but I >> can't find what is taking up all the additional space. At best >> without >> destroying what I still do not understand I can manage to get / to >> about 101% capacity. >> >> To answer a couple of potential questions straight up, there is >> nothing in /root and /tmp is on a separate partition. >> >> intranet# df -h >> Filesystem Size Used Avail Capacity Mounted on >> /dev/da0s1a 989M 986M -76M 108% / >> devfs 1.0K 1.0K 0B 100% /dev >> /dev/da0s1e 989M 216K 910M 0% /tmp >> /dev/da0s1f 58G 4.8G 48G 9% /usr >> /dev/da0s1d 4.8G 2.2G 2.3G 49% /var >> /dev/da1p1 3.3T 682G 2.4T 22% /db >> devfs 1.0K 1.0K 0B 100% /var/named/ >> dev >> >> intranet# du -h -d1 >> 2.0K ./.snap >> 1.5K ./dev >> 218K ./tmp >> 4.8G ./usr >> 2.2G ./var >> 1.7M ./etc >> 2.0K ./cdrom >> 2.0K ./dist >> 1.1M ./bin >> 71M ./boot >> 4.4M ./lib >> 360K ./libexec >> 2.0K ./media >> 512B ./net >> 2.0K ./proc >> 3.8M ./rescue >> 26K ./root >> 4.1M ./sbin >> 512B ./host >> 682G ./db >> 689G . >> >> >> >> If I move the old kernel/GENERIC files from /boot I can manage to get >> back to 101%, I really have no idea where the rest of the space has >> gone though. Is there any way to locate large files on a specific >> partition? >> >> I did have a problem not too long ago where my /db array did not >> mount >> and MySQL managed to recreate the default/sample database on /db/ >> mysql, could this default database be somewhere else on / while the / >> db array problem was fixed? >> >> *scratches head* >> > > > It is possible that you have mounted a filesystem onto a non empty > directory. > The stuff in the dir used as a mount point will be hidden by the > mount. > > Colin >