From owner-freebsd-questions@FreeBSD.ORG Fri Mar 5 07:31:05 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B1CF16A4CE for ; Fri, 5 Mar 2004 07:31:05 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C91DC43D2F for ; Fri, 5 Mar 2004 07:31:04 -0800 (PST) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i25FV2625355; Fri, 5 Mar 2004 10:31:02 -0500 (EST) From: Jerry McAllister Message-Id: <200403051531.i25FV2625355@clunix.cl.msu.edu> To: gRaPneLL@netscape.net Date: Fri, 5 Mar 2004 10:31:01 -0500 (EST) In-Reply-To: <2E8D7245.02470F4B.0093FABD@netscape.net> from "gRaPneLL@netscape.net" at Mar 05, 2004 12:44:06 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 15:31:05 -0000 > > Hi, I can't seem to edit or create files under any other directory other than /usr, /var, or /home (and there respective subdirectories) even as root. i get the error: filesystem full. > > I have an 80 gig HD and a fresh install of FreeBSD, so i know my hd is not full. perhaps this has something to do with the partitioning scheme. I am new to FreeBSD, but I have been a linux user for some time, so i am basically familiar with commands. > > I cannot create a new user(tried kuser/ adduser and sysinstall util) > I cannot edit any system files under /etc. > I cannot create any new directories under / and copy anything into them. > in fact, I cannot do anything unless it entails writing to /usr, /var or /home. Well, you may have a big enough disk, but one of your file systems is not big enough or has too much garbage in it. The most likely one is the root file system (/). First use df(1) to check your mounted disk file systems df -k or df -H if you prefer Then cd to the overrun filesystem (probably /) and use du(1) to track down what is overfilling it. Example: cd / du -sk * find three xxx.core files and /tmp using up most of the space rm *.core mkdir /home/ofl.tmp (for offload tmp) cd /tmp rm -r * cd / ln -s /home/ofl.tmp /tmp Now you should have lots of room in / Alternatively, some people use /var/tmp for their /tmp or put it wherever they have lots of space. I create a separate file system for it. That way it is independant of other file systems having to be mounted if I need scratch space while in single user mode. If it isn't core files and /tmp, then you might have to pursue the du checks a little farther down the directory trees. Remember that when you are in /, all the other file systems are rooted their. You only need investigate things that are not in the other file systems. ////jerry > > Thanks for your help > Jeff > > __________________________________________________________________ > Introducing the New Netscape Internet Service. > Only $9.95 a month -- Sign up today at http://isp.netscape.com/register > > Netscape. Just the Net You Need. > > New! Netscape Toolbar for Internet Explorer > Search from anywhere on the Web and block those annoying pop-ups. > Download now at http://channels.netscape.com/ns/search/install.jsp > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >