Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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 got a backup server that I want to set up with the following specs:
HP Proliant DL380G5
- 1TB (RAID5)
This server is going to run as a backup server. That is I will install BackupPC and run full and incremental backups of our fileserver (same HP Proliant RAID5), our firewall (also HP Proliant, but only 2x 146GB RAID disks in there) and our mailserver (same situation like firewall).
The main thing here is the fileserver. Here's how it's been partitioned. Notice the space allocation for the boot partition. Our systems guy must have been high on something.
I would like some advice on how to partition the backup server. Is LVM a good idea?
Quote:
BackupPC stores the backups in /var/lib/backuppc, so I've made that an extra partition of about 90 GB on the BackupPC server. It should be noted that this is still very small, especially if you want to back up lots of machines, so bigger is better. Also, you should consider using LVM for the /var/lib/backuppc partition so that you can enlarge it whenever you need it. You can learn more about LVM in this tutorial: http://www.howtoforge.com/linux_lvm
/boot = 100MB or so, never really need more than that.
/ = 1024MB is usually sufficient.
/usr = 4GB - 8GB is usually sufficient.
/var = 2GB - 4GB is usually sufficient.
/tmp = 2GB - 4GB is usually sufficient.
swap = matching the amount of RAM in system is usually sufficient.
/srv = If that's where you're storing backups, use remaining space or change it like /backup or /data, etc.
The nice thing about LVM is it allows you to grow and shrink each on the fly when necessary. Since this is a backup server, I wouldn't even worry about setting aside /home on it's own partition, unless users are going to be using it, then set aside if that's the case.
Nah, I'd create a /var/lib/backuppc and leave /var with it's own partition, that way if your backups fill up all the space, it won't affect anything in var like logs and pid files, etc.
Nah, I'd create a /var/lib/backuppc and leave /var with it's own partition, that way if your backups fill up all the space, it won't affect anything in var like logs and pid files, etc.
You mean two var's? One official one, and the other containing only ./lib/backuppc?
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197
Rep:
Quote:
Originally Posted by rozilla
You mean two var's? One official one, and the other containing only ./lib/backuppc?
What he meant was to have a partition that is mounted on /var. Then, inside the directory /var you have a directory lib, and inside that a directory backuppc. That directory, whose full path is /var/lib/backuppc is used as the mount point for the partition with all the backup space. This is standard UNIX/Linux approach to file structures. Hope that's clear.
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386
Rep:
Quote:
Originally Posted by choogendyk
What he meant was to have a partition that is mounted on /var. Then, inside the directory /var you have a directory lib, and inside that a directory backuppc. That directory, whose full path is /var/lib/backuppc is used as the mount point for the partition with all the backup space. This is standard UNIX/Linux approach to file structures. Hope that's clear.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.