From owner-freebsd-questions Sun Jul 30 20:51:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 8742737B81E for ; Sun, 30 Jul 2000 20:50:45 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id VAA32450; Sun, 30 Jul 2000 21:53:23 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sun, 30 Jul 2000 21:53:23 -0600 (CST) From: Ryan Thompson To: click46 Cc: freebsd-questions@freebsd.org Subject: Re: Out of hard drive space? In-Reply-To: <4.3.1.0.20000730203546.00ae8c78@mail.webpimps.net> Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG click46 wrote to Ryan Thompson: > Hey Ryan, > Thanks for the help, but how would I go about that? (My FreeBSD > book wasn't bound properly and I'm waiting for another, so I don't have a > reference as to how to change partitions. > > thanks again, > click46 I'm not sure what you mean by "change partitions", but I'll take the path of least resistence, here, which is the way I'd recommend. If I'm not answering your question in the way you intended, please let me know. Commands that you type appear on lines beginning with #. Don't type the #. ;-) Find a directory under /usr where you can extract a large file (/usr/tmp/ would be suitable for this, so I'll use it). # cd /usr/tmp The ``cd'' builtin command changes the current drectory Now, you need to extract that file. I'll assume the file is in /root/, and is named php4.tar.gz (though yours was longer ;-). To extract the file to the current directory, type: # tar xvzf /root/php4.tar.gz If the .tar.gz archive was in some other location, you will, of course, need to specify that path instead of /root/. The output generated by tar at this point will be a list of all directories and files extracted from the archive. Most likely, another directory will be created off of /usr/tmp (perhaps php-4.0.1pl2/), which will contain the extracted contents of your archive. (I say "most likely", because it is simply a convention to place at least one level in larger archives of this type). Then, follow the instructions provided by PHP to complete the installation. > At 09:30 PM 7/30/2000 -0600, you wrote: > >click46 wrote to freebsd-questions@FreeBSD.ORG: > > > > > Hello, > > > Just downloaded FreeBSD 4.1 and then proceeded to install Apache. > > After > > > getting Apache to start, I went and *tried* to gunzip -d > > > php-4.0.1pl2.tar.gz, it returns "/kernel: pid 288 (gunzip), uid 0 on /: > > > file system full" > > > >Sounds like you tried to uncompress the archive somewhere on the / > >partition (perhaps you tried it in /tmp?). /, by nature, is a very small > >partition, and shouldn't be used for temp archive extractions, anyway. > > > >Delete what it has uncompressed to free up the space you lost on /, and > >try to extract it elsewhere (i.e., somewhere under /usr, which will be > >much larger). > > > > > > > I used defaults for partitions, and the drive is a 1.7GB. How can I tell > > > how much space is left on a partition/drive and > > > >Use the ``df'' command. The 1K-blocks column represents the size of the > >drive, in kilobytes (divide by factors of 2^10 to get megabytes, > >gigabytes, etc) "Used" is the amount of space that has been used (again, > >in 1K blocks). "Avail" is the amount of space remaining. > > > > > > > why would I get something like this. > > > >Just like the error message states, you ran out of space. Make sure that > >you start the uncompression on a filesystem that is large enough to handle > >it. > > > > > > > I tried to gunzip them while logged on as root and in the /root/ > > > directory. > > > >Unless you mount it by itself, or symlink from elsewhere, the /root/ > >directory is stored on the / partition. > > > > > > > > Thanks for any help. > > > > > > lates, > > > click46 > > > > > > > > > >Hope this helps, > >- Ryan > > > >-- > > Ryan Thompson > > Systems Administrator, Accounts > > Phone: +1 (306) 664-1161 > > > > SaskNow Technologies http://www.sasknow.com > > #106-380 3120 8th St E Saskatoon, SK S7H 0W2 > > > -- Ryan Thompson Systems Administrator, Accounts Phone: +1 (306) 664-1161 SaskNow Technologies http://www.sasknow.com #106-380 3120 8th St E Saskatoon, SK S7H 0W2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message