Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm looking for comments on my setup. Specifically, should i just dump splitting /var and / altogether and combine them to give /var more space? Can i shrink / even more (say 2 or 3GB)?
Also, is 512MB enough for swap these days, or should i double that to 1GB, will linux even use it?
Too much...For standard server I think 1-2GB will do. Plus separate /home
Quote:
swap = 512MB
OK. Gives your 1GB in total.
Quote:
/var = 27GB (the rest)
With 2GB /, you'll have 35GB+ for /var. That should be enough. mavbe also separate /var/log ?
Quote:
Also, is 512MB enough for swap these days, or should i double that to 1GB, will linux even use it?
It depends on your system, how much traffic it gets and so on...See how much free memory you have...With 512MB RAM, there should be free memory all the time.
I think i'll drop down the size of /. Also, /home gets virtually no use (this is a mail relay server that scans mail for spam and holds it in a Postgresql database).
Lastly, my boss is convinced that we should dump the whole partition scheme and make a big /. Any convincing arguments for why i should put in all this effort on these partitions would be greatly appreciated. In other words, help me convince my boss!
At least, / and /var should be separate in case that the server gets flooded (and /var gets full). Strange things can start happening then...That's why I also think that /var/logs should be separate (during flooding, it should write all what's needed to the logs, so you know what happend; the other way - /var/logs flooded, then the server can work more or less OK and still handle mail).
There are no special reasons for separate /boot, IMO.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.