Benjamen R. Meyer wrote:
I set up a server system a little while ago, and in performing updates
to portage it ran out of disk space as I didn't quite allow enough space
on the root partition (3.8 GB). As a result, I took a partition that I
had cleaned up (this was from a rebuild of a system that was a different
distro in the past) and moved over /usr/portage to it. It's a 47 GB
partition (as reported by df -h) and the system works fine.
I do realize that if the mount command got screwed up, I'd probably have
issues recovering the system, but that is that system.
I am now thinking of converting my desktop over to Gentoo as well, and
was wondering whether what I did above on the server was wise or not. I
will be using the server as the portage provider for my desktop too.
Otherwise, what is the recommended space to have available for the
portage tree in /usr/portage so I can have root as an appropriately
sized partition?
I'd recommend having a read of:
http://www.freebsd-howto.com/HOWTO/Filesystem-Layout-HOWTO
Now, although its a Freebsd resource, the ideas apply equally well to
Linux (or UNIX for that matter - though you can skip where it discusses
Freebsd partition and slice naming). In particular it discusses why
separating /, /usr, /var, /tmp, /home is well worth doing - even tho it
wasts a bit of space!
I used build systems with / including /usr and /var .... but these days
I do not make these part of / (for reasons covered in the article).
The downside is you end up with a lot of partitions and filesystems to
figure out how to size - but you can use LVM make it a bit more
forgiving if you need to resize them.
Cheers
Mark
--
[EMAIL PROTECTED] mailing list