Date: Tue, 1 Jan 2002 21:29:46 -0500 From: "Mit Rowe" <mitayai@dreamlabs.com> To: "Theodore Knab" <tjk@annapolislinux.org>, <stable@freebsd.org> Subject: RE: accidently filled my /usr partition Message-ID: <DBEMKGPNFGOGJHLMDNDJOEPHFEAA.mitayai@dreamlabs.com> In-Reply-To: <20020102003317.GA31149@annapolislinux.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBEMKGPNFGOGJHLMDNDJOEPHFEAA.mitayai>