Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] how filesystem works?
- Date: Mon, 2 Apr 2007 14:05:52 +0900
- From: "Arwyn Hainsworth" <arwynh@example.com>
- Subject: Re: [tlug] how filesystem works?
- References: <20070329090009.GK3981@example.com> <ba75897e0703290433l4c843928pb7a155f123579fbd@example.com> <20070329114843.GL3981@example.com> <460BAF7A.2050905@example.com> <20070330070435.GM3981@example.com> <20070330142231.721fd4d8.attila@example.com> <871wj6y3vl.fsf@example.com> <Pine.NEB.4.64.0704011455570.18091@example.com> <460FD438.3090802@example.com> <461069F6.9020307@example.com>
On 02/04/07, emiddleton@example.com <emiddleton@example.com> wrote:Stuart Luppescu wrote:
> Curt Sampson wrote:
>>
>> root 64-128 MB
>> tmp 128-1024 MB mfs
>> /usr 2-4 GB
>> /var 0.5-2 GB nosuid
>> /home 2-8 GB nosuid,nodev
>> /u remainder nosuid,nodev
> This is something I never understood. Someone told me to put /var in
> its own partition because if it fills us (with log files, or whatever)
> it will crowd out other stuff and make the computer unusable. I did
> that, and then /var filled up, syslog and cron complained about not
> being able to write files and the whole computer froze up. Now I put
> /var inside / and haven't had any problems.
Have you ran out of memory in your one and only root partition and not
had any problems?
You will have problems when you run out of space no matter how you break up your partitions. The reason for separate partitions is not for space, but to allow different mount options or even different file systems for different tasks. Note that in the example above /usr, /var and /home are all mounted with different options. As another example, in some server environments you might want to have /var/log on an append-only fs to prevent log tampering.
In most cases such separation is not really required and badly chosen partition sizes can cause more problems than they are worth. For that reason in most cases a simple 2 partition set-up is the best. / ~ 6GB (mine is 10GB) or more and /home for the rest. The separate /home provides limited safety for your data in the case that you want to re-install your OS. In the case of some old machines a /boot might be a good idea.
Arwyn
- Follow-Ups:
- Re: [tlug] how filesystem works?
- From: emiddleton@example.com
- References:
- Re: [tlug] how filesystem works?
- From: Curt Sampson
- Re: [tlug] how filesystem works?
- From: Stuart Luppescu
- Re: [tlug] how filesystem works?
- From: emiddleton@example.com
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] how filesystem works?
- Next by Date: Re: [tlug] how filesystem works?
- Previous by thread: Re: [tlug] how filesystem works?
- Next by thread: Re: [tlug] how filesystem works?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links