SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
View Poll Results: Do you have /var on a separate partition
yes and it's bigger than 500mb
yes and it's smaller than 500mb
N/A - It would bother me having a program store packages in /var
I went with Mepis' default /=10G, /swap=1G , and the rest to /home (200G++).
Apache, and apt cache get stored somewhere in /home because I changed the default directories to symbolic links elsewhere with abundant space.
It is especially useful in that if I need to reinstall the os, I can reinstall all packages without bogging anybodies bandwidth (and it's faster).
Since reinstalling wipes out / I backup various /etc , /opt/ and /var files that aren't linked to /home/* . It's workable enough, however movies and music have swamped the hd capacity - guess what I need for xmas.
On my home machines I have a reasonably large (4GB) root partition that includes the /var directory. However on the servers at work I create adequately sized directories for everything and minimise the root filesystem. I can't remember what size I created them as... I imagine at least 2GB since there is an over abundance of space (the machines have multiple disks for database performance, left over space was the result).
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
hmm. I'm talking a bunch of servers. / set up with 10G partition. no separate /var. However, I have log rotation set up, I have a monitor script that watches partition usage and notifies me if any partition exceeds 90%, all my software installs go into /usr/local (I'm on Solaris), and I have a separate /archive partition where I keep historical stuff if I want it (just for example, I keep mail logs for at least a year, with 2 million lines a day in the mail logs).
Part of my rationale is that disks have gotten bigger, Sun's traditional install with a bunch of things broken off into different partitions uses up too many of the available partitions in my opinion (leaving a large amount of space with too few remaining choices to break it up if I want to), and I don't see the point in forcing the space balancing decisions at install time. If one area swells up and another doesn't, I would hit the wall sooner if they are each defined at install. But if I let them all share 10G, then I don't hit a wall. It's more flexible. And, if I define /var and it fills completely, it's going to cause trouble anyway.
The servers I was talking about with separate /var partitions are also Solaris (Sun Fire T2000). Our older servers that I replaced had one big root file system, and when it filled up the kernel would panic... very bad! You can put stuff in root, but be sure you monitor it very closely. Given that you can have 6 partitions on each mirrored pair in a Solaris box, and I had 4 disks, allocation /usr, /opt, /var, swap, /export/home, /u01, /u02, and a couple of raw filesystems for sybase was not an issue. The only concern was balancing disk queue lengths between the mirrored pairs (ie database partitions versus archive log partitions).
Anyway, with careful planning and analysis of the old servers, I have some very nice machines that run seamlessly, and the usage of root never varies.