What would be a good partitioning scheme for an Arch Linux installation, on a server and on a laptop?
My current basic scheme:
/ [root] ext4
/home ext4
swap
I know that the /var partition will contain many small files such as logs or pacman-related files, and the /tmp directory will be written to frequently as well.
1) Would I benefit from separate "/var"
and/or "/tmp"
partitions?
2) If so, what filesystems would you recommend on each of these partitions?
3) Is there a difference between the home server and the laptop? Should they have different partitioning schemes?
- The home server's system will be installed on a 80GB hard drive (it has an unrelated second 500GB HD).
- The laptop's system will be installed in a single 500GB hard drive, and the plan is to dedicate the remaining space to the
/home
partition.
4) How much space do you recommend dedicating to each partition (including root, and possibly /var & /tmp) on each system (server/laptop)? [note: I will be using LVM on both systems]
Some extra information: The server will run samba/rtorrent/ssh/LAMP/etc. and some backup mechanism. The laptop will be used as a PC, mainly internet & programming or other day-to-day software, but might run some servers for testing purposes (e.g LAMP).