From owner-freebsd-questions Thu Aug 24 4:44: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by hub.freebsd.org (Postfix) with ESMTP id 78B3537B423 for ; Thu, 24 Aug 2000 04:43:56 -0700 (PDT) Received: from granite.impoffice.ac.th ([203.151.134.100]) by stjohn.stjohn.ac.th (8.9.3/8.9.3) with SMTP id SAA01120 for ; Thu, 24 Aug 2000 18:39:39 +0700 (GMT) Message-Id: <3.0.6.32.20000824184712.0085e310@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Thu, 24 Aug 2000 18:47:12 +0700 To: freebsd-questions@freebsd.org From: Roger Merritt Subject: Can I Blitz /usr? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a legacy server I would like to upgrade. It's running fine, but it's running FreeBSD 3.2-RELEASE, which I feel is a bit old. Anyway, the guy who originally set it up installed all the distributions and most of the packages. As a result, my file system now looks like: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0s1a 49583 31381 14236 69% / /dev/wd0s1f 99183 1 91248 0% /tmp /dev/wd0s1g 1524425 1312495 89976 94% /usr /dev/wd0s2e 2179530 926789 1078379 46% /usr/home /dev/wd0s1e 99183 3361 87888 4% /var procfs 4 4 0 100% /proc ceres:/usr/home 2167150 1004875 988903 50% /foreign Now I figure 90% of the stuff he installed is useless, since the machine is used as a file server for a dozen users, none of whom uses Unix -- all access is from Win95 machines which have very small hard disks, hence the need for the server with SAMBA. It is vital that the contents of /usr/home not be changed. Although not mounted at the moment, I can mount a cdrom drive on as an NFS file system on another machine (ceres). My idea is that I should just delete *everything* in /usr, then run /stand/sysinstall and install only the distributions and packages I need from the NFS filesystem. Recent experience installing from the CD-ROM on a new disk drive indicates that at the end /usr will be about 29% full including the source tree. Obviously, this is scary. I think my reasoning is correct, but I've never done anything this massive to a FreeBSD system before. By the way, the CD-ROM is the same one the current system was installed from, so there won't be any version conflicts. Does any kind reader see pending doom here? Or should I go for it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message