On Mon, 16 Sep 2002 at 9:30pm (-0700), Patrick Beart wrote:

> Folks:
> 
>       I'm setting up a new Web and mail server for a Web site 
> hosting operation. Security is paramount to my partitioning scheme 
> for the hard disk. Therefore, I'm not going with the default Red Hat 
> partitioning. I'm doing a custom setup, instead.
>       I've reviewed the Filesystem Hierarchy Standard (FHS) in an 
> effort to better understand what data the primary directories 
> contain. However, this doesn't give me a real good idea of the 
> relative sizes of any file system partitions, beyond "/"(root).
> 
>       I'm wondering what the rough percentages (as the sizes of 
> hard drives vary widely) of the following primary directories on 
> people's systems that are currently running commercial Web and mail 
> hosting (for multiple clients)...
>               /home
>               /usr
>               /var (and any subdirectories, such as /var/spool)
>               /root
>               /tmp
> 
>       Any feedback would be appreciated. TIA
> 

"Due to bad planning, all hundred and twenty-two thousand miles of the
string is in three inch lengths. So it's not very useful."

Seriously though.... partitioning is tricky.  I don't have any specific
recomendations except that you definitly use LVM (or something similar).  
Then at least if you need to fine tune your filesystem sizes later on it
becomes much easier.  For me a newly kickstart'ed system looked like...

Disk /dev/sda: 255 heads, 63 sectors, 2231 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1         4     32098+  83  Linux
/dev/sda2             5       200   1574370   83  Linux
/dev/sda3           201       331   1052257+  82  Linux swap
/dev/sda4           332      2231  15261750   8e  Linux LVM

... and ...

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             1.5G  105M  1.2G   8% /
/dev/sda1              30M  8.9M   19M  31% /boot
none                  125M     0  125M   0% /dev/shm
/dev/vg_sys/lv_usr    1.5G  802M  633M  56% /usr
/dev/vg_sys/lv_var   1008M   54M  903M   6% /var
/dev/vg_sys/lv_log    2.0G   33M  1.8G   2% /var/log
/dev/vg_sys/lv_home   496M  8.1M  462M   2% /home
/dev/vg_sys/lv_tmp    496M  8.1M  462M   2% /tmp

... which leaves a big chunk of sda4 unassigned so I can grow the logical
volumes if needs be later on.... in most cases without a reboot.

M.

-- 
:wq!



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to