Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2000 21:53:23 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        click46 <click46@webpimps.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Out of hard drive space?
Message-ID:  <Pine.BSF.4.21.0007302145180.32187-100000@ren.sasknow.com>
In-Reply-To: <4.3.1.0.20000730203546.00ae8c78@mail.webpimps.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryan@sasknow.com>
> >   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 <ryan@sasknow.com>
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007302145180.32187-100000>