From owner-freebsd-stable Tue Jan 1 18:30:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from tenchi.dreamlabs.com (tenchi.dreamlabs.com [216.220.37.61]) by hub.freebsd.org (Postfix) with ESMTP id 8E96737B417 for ; Tue, 1 Jan 2002 18:30:28 -0800 (PST) Received: (from root@localhost) by tenchi.dreamlabs.com (8.11.6/8.11.6) id g022USg79555; Tue, 1 Jan 2002 21:30:28 -0500 (EST) (envelope-from mitayai@dreamlabs.com) Received: from cr411661a (CPE0010a4b02b1b.cpe.net.cable.rogers.com [24.43.34.41]) (authenticated) by tenchi.dreamlabs.com (8.11.6/8.11.6) with ESMTP id g022UNJ79547; Tue, 1 Jan 2002 21:30:23 -0500 (EST) (envelope-from mitayai@dreamlabs.com) Reply-To: From: "Mit Rowe" To: "Theodore Knab" , Subject: RE: accidently filled my /usr partition Date: Tue, 1 Jan 2002 21:29:46 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020102003317.GA31149@annapolislinux.org> Importance: Normal X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is what i would do: #clean up the ports tree cd /usr/ports make clean >> /dev/null & #clean up the src tree cd /usr/src make clean >> /dev/null & #remove ports distfiles cd /usr/ports/distfiles rm -rf * & #clean tmp dir cd /usr/tmp rm -rf * & then i would clean crap out from home directories. > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Theodore Knab > Sent: January 1, 2002 19:33 > To: stable@FreeBSD.ORG > Subject: accidently filled my /usr partition > > > Hi, I accidently filled my /usr partition. How can I fix it ? > > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/wd0a 34M 23M 9.4M 71% / > /dev/wd0d 14M 5.4M 8.1M 40% /var > /dev/wd0e 9.3M 1.0K 8.9M 0% /tmp > /dev/wd0f 68M 22K 64M 0% /home > /dev/wd0g 336M 335M -15.4M 105% /usr > > last commands run and output > > 1.> > > #fsck /dev/rwd0g > ** /dev/rwd0g (NO WRITE) > ** Last Mounted on /usr > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > 14214 files, 342823 used, 1464 free (1056 frags, 51 blocks, 0.3% > fragmentation) > > I tried to remove the last package I installed, but it did not do > anything. > > 2.> > rm -f /usr/local/cops > > Samething: > > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/wd0a 34M 23M 9.4M 71% / > /dev/wd0d 14M 5.4M 8.1M 40% /var > /dev/wd0e 9.3M 1.0K 8.9M 0% /tmp > /dev/wd0f 68M 22K 64M 0% /home > /dev/wd0g 336M 335M -15.4M 105% /usr > > When I try to unmount the drive, it says it is in use. > > Any quick fix? A reboot maybe? > > -Ted > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message