Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 08:34:18 -0400
From:      "Grant Peel" <gpeel@thenetnow.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Upgrading and Disk Space.
Message-ID:  <000701c67c09$ba3938e0$6501a8c0@grant>

next in thread | raw e-mail | index | archive | help
Hi all,

I am about to upgrade a 6.0 machine to 6.1R.

I am running a little tight on space on the3 /usr part. I was wondering what 
can be safely removed from /usr befor starting the upgrade.

The idea is to try NOT to fill up the filesystem and crap out duing the 
upgrade.

Any feedback will be appreciated.

-Grant

Here is what the disk looks like right now:

/usr/src
drwxr-xr-x   21 root  wheel    512 Nov 18  2005 .
drwxr-xr-x   17 root  wheel    512 Nov 25 22:37 ..
-rw-r--r--    1 root  wheel   6188 Jan  1  2005 COPYRIGHT
-rw-r--r--    1 root  wheel    349 Jun  2  2005 LOCKS
-rw-r--r--    1 root  wheel   7289 Jun  4  2005 MAINTAINERS
-rw-r--r--    1 root  wheel  10835 Jun 16  2005 Makefile
-rw-r--r--    1 root  wheel  32475 Oct 16  2005 Makefile.inc1
-rw-r--r--    1 root  wheel   2749 Mar  8  2003 README
-rw-r--r--    1 root  wheel  15749 Nov  1  2005 UPDATING
drwxr-xr-x   37 root  wheel   1024 Nov 18  2005 bin
drwxr-xr-x   53 root  wheel   1024 Nov 18  2005 contrib
drwxr-xr-x    5 root  wheel    512 Nov 18  2005 crypto
drwxr-xr-x   21 root  wheel   2048 Nov 18  2005 etc
drwxr-xr-x   13 root  wheel    512 Nov 18  2005 games
drwxr-xr-x    4 root  wheel    512 Nov 18  2005 gnu
drwxr-xr-x    6 root  wheel   2048 Nov 18  2005 include
drwxr-xr-x    9 root  wheel    512 Nov 18  2005 kerberos5
drwxr-xr-x   73 root  wheel   1536 Nov 18  2005 lib
drwxr-xr-x   33 root  wheel   1024 Nov 18  2005 libexec
drwxr-xr-x   13 root  wheel    512 Nov 18  2005 release
drwxr-xr-x    4 root  wheel    512 Nov 18  2005 rescue
drwxr-xr-x   93 root  wheel   2048 Nov 18  2005 sbin
drwxr-xr-x    6 root  wheel    512 Nov 18  2005 secure
drwxr-xr-x   25 root  wheel    512 Nov 18  2005 share
drwxr-xr-x   58 root  wheel   1024 Nov 18  2005 sys
drwxr-xr-x   12 root  wheel    512 Nov 18  2005 tools
drwxr-xr-x  221 root  wheel   3584 Nov 18  2005 usr.bin
drwxr-xr-x  186 root  wheel   3584 Nov 18  2005 usr.sbin
root on s1# pwd
/usr/src

root on s1# df -h
Filesystem         Size    Used   Avail Capacity  Mounted on
/dev/da0s1a        989M     60M    850M     7%    /
devfs              1.0K    1.0K      0B   100%    /dev
/dev/da0s1f         57G    1.9G     50G     4%    /home
/dev/da0s1d        1.9G    1.6G    173M    90%    /usr
/dev/da0s1e        5.8G     64M    5.3G     1%    /var
enterprise:/mnt    132G     39G     82G    32%    /mnt


/usr
root on s1# du -h -d1
2.0K    ./.snap
 24M    ./bin
 13M    ./include
 31M    ./lib
 92K    ./libdata
 15M    ./libexec
253M    ./local
 13M    ./sbin
183M    ./share
664M    ./src
303M    ./ports
126M    ./compat
2.0K    ./games
2.0K    ./obj
 23M    ./X11R6
1.6G    .
root on s1# 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c67c09$ba3938e0$6501a8c0>