Re: Linux Partitions

2001-01-30 Thread kmself
on Mon, Jan 29, 2001 at 02:46:06PM -0600, ktb ([EMAIL PROTECTED]) wrote:
> On Mon, Jan 29, 2001 at 01:42:12PM -0800, Leonard Leblanc wrote:
> > Hello Everyone,
> > 
> > I am going to be running a Linux box as Firewall/DNS/WWW/FTP/POP and maybe 
> > some other network applications.  I was wondering what your suggestions 
> > would be for Partitions.  I have already ready the Partition HOWTO, but 
> > still aren't quite sure what partitions would be best for my applications.
> > 
> > Any help would be greatly appreciated.
> > 
> 
> Karsten has put together a mini-FAQ at -
> http://kmself.home.netcom.com/Linux/FAQs/partition.html

Thanks for the plug.  I'm going to update that with the partitioning for
my laptop (one 20G drive rather than three 2G's) for a divergent
viewpoint.

Note that despite comments by others that it's overkill, I *did* in fact
give var roughly 1 GB of space, currently 41% utilized as follows:

1  292200  cache
2  51108   log
3  41353   lib
4  5399state
5  207 spool
6  86  run
7  32  backups
8  8   mail
9  4   www
10  1   tmp
11  0   lock
12  0 local

...with the bulk of that being apt.  Package downloads *can* consume the
better part of a GB of themselves.

-- 
Karsten M. Self http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


pgpHN2BqcXy5a.pgp
Description: PGP signature


Re: Linux Partitions

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 07:20:12PM -0500, David B. Harris wrote:
> To quote ktb <[EMAIL PROTECTED]>,
> # I would add /var to this list.  The reason being is if you run
> something
> # like squid and don't manage it right it will bring your system down if
> # it grows too large.  Maybe with todays large HD's it doesn't matter as
> # much but I've had it happen.  Log files can get large also.  Course if
> # you are on top of it there isn't a problem but not everyone is,
> # especially in the beginning:)  In addition take a look at -
> # http://www.linuxgazette.com/issue54/stoddard.html 
> # There is a little section on partitioning for a gateway.  There are
> good
> # reasons for having more than 3 partitions.
> 
> That's the entire point - "if you run something like squid and don't
> manage it right" ...
> 
> *IF* you run *something like squid*.
> 
> When you over-partition, you *really* screw up versatility. Until they
> know what they're using their system for, versatility is key.
> 

With todays large HD's in some sense both of our positions
are moot.  A one gig /var partition would be insane for a home user.
Enough room for versatility and months of bad squid administration.
Of course not everyone has large drives to work with.  I guess it comes
down to either you learn how to choose the size of your partitions in
the beginning or you don't.  You choose between versatility and
security.  Personal choice. 
kent

-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



Re: Linux Partitions

2001-01-29 Thread David B . Harris
To quote ktb <[EMAIL PROTECTED]>,
# I would add /var to this list.  The reason being is if you run
something
# like squid and don't manage it right it will bring your system down if
# it grows too large.  Maybe with todays large HD's it doesn't matter as
# much but I've had it happen.  Log files can get large also.  Course if
# you are on top of it there isn't a problem but not everyone is,
# especially in the beginning:)  In addition take a look at -
# http://www.linuxgazette.com/issue54/stoddard.html 
# There is a little section on partitioning for a gateway.  There are
good
# reasons for having more than 3 partitions.

That's the entire point - "if you run something like squid and don't
manage it right" ...

*IF* you run *something like squid*.

When you over-partition, you *really* screw up versatility. Until they
know what they're using their system for, versatility is key.

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Re: Linux Partitions

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 05:58:57PM -0500, David B. Harris wrote:
> To quote "Leonard Leblanc" <[EMAIL PROTECTED]>,
> # Hello Everyone,
> # 
> # I am going to be running a Linux box as Firewall/DNS/WWW/FTP/POP and
> maybe some other network applications.  I was wondering what your
> suggestions would be for Partitions.  I have already ready the Partition
> HOWTO, but still aren't quite sure what partitions would be best for my
> applications.
> 
> It depends on a number of things; what you'll be using the box for, how
> reliable it needs to be, how much space you have to throw around, how
> experienced you are, how much the box's uses will change over time, and
> a host of other things.
> 
> Most people I run in to drastically over-partition their hard drive.
> Five, six, even seven partitions for one running Linux system. Now,
> that's not to say it isn't useful - espeically in high-demand
> environments.
> 
> However, until you get a good feel for how much space the different
> directories will be taking, I suggest you make three partitions. One
> swap partition, one root partition, and one /home partition. Only
> reformat the root partition when you re-install your OS(if you ever do).
> 

I would add /var to this list.  The reason being is if you run something
like squid and don't manage it right it will bring your system down if
it grows too large.  Maybe with todays large HD's it doesn't matter as
much but I've had it happen.  Log files can get large also.  Course if
you are on top of it there isn't a problem but not everyone is,
especially in the beginning:)  In addition take a look at -
http://www.linuxgazette.com/issue54/stoddard.html 
There is a little section on partitioning for a gateway.  There are good
reasons for having more than 3 partitions.
kent

-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



Re: Linux Partitions

2001-01-29 Thread David B . Harris
To quote "Leonard Leblanc" <[EMAIL PROTECTED]>,
# Hello Everyone,
# 
# I am going to be running a Linux box as Firewall/DNS/WWW/FTP/POP and
maybe some other network applications.  I was wondering what your
suggestions would be for Partitions.  I have already ready the Partition
HOWTO, but still aren't quite sure what partitions would be best for my
applications.

It depends on a number of things; what you'll be using the box for, how
reliable it needs to be, how much space you have to throw around, how
experienced you are, how much the box's uses will change over time, and
a host of other things.

Most people I run in to drastically over-partition their hard drive.
Five, six, even seven partitions for one running Linux system. Now,
that's not to say it isn't useful - espeically in high-demand
environments.

However, until you get a good feel for how much space the different
directories will be taking, I suggest you make three partitions. One
swap partition, one root partition, and one /home partition. Only
reformat the root partition when you re-install your OS(if you ever do).

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Re: Linux Partitions

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 01:42:12PM -0800, Leonard Leblanc wrote:
> Hello Everyone,
> 
> I am going to be running a Linux box as Firewall/DNS/WWW/FTP/POP and maybe 
> some other network applications.  I was wondering what your suggestions would 
> be for Partitions.  I have already ready the Partition HOWTO, but still 
> aren't quite sure what partitions would be best for my applications.
> 
> Any help would be greatly appreciated.
> 

Karsten has put together a mini-FAQ at -
http://kmself.home.netcom.com/Linux/FAQs/partition.html

At minimum I would make a /var partiton in addition to /.  Personally I
would go with -

/
/usr
/var
/tmp
/home

Of course you need a swap partition as well.  
hth,
kent

--
I'd really love ta wana help ya Flanders but... Homer Simpson