Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2002 19:33:17 -0500
From:      Theodore Knab <tjk@annapolislinux.org>
To:        stable@FreeBSD.ORG
Subject:   accidently filled my /usr partition
Message-ID:  <20020102003317.GA31149@annapolislinux.org>

next in thread | raw e-mail | index | archive | help
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




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