public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tanstaafl <tanstaafl@libertytrek.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Partitions - last questions...
Date: Wed, 24 Apr 2013 11:39:46 -0400	[thread overview]
Message-ID: <5177FCC2.9060505@libertytrek.org> (raw)
In-Reply-To: <5176B81E.8000805@binarywings.net>

On 2013-04-23 12:34 PM, Florian Philipp <lists@binarywings.net> wrote:
> Am 23.04.2013 16:44, schrieb Tanstaafl:
>> /boot (ext2), 100M
>> /swap, 2G
>> / (ext4), 40G
>>
>> then on LVM
>>
>> /tmp (ext2), 5G? <- how big?
>> /var/tmp (ext2), 5G? <- how big?

> If this is a production server I wouldn't use ext2. In the case of a
> crash or reboot, you don't want to loose precious uptime just because of
> fsck or corrupted file systems.

Noted, changed these to ext4...

>> /var/log (ext4) <- size? should I even have this separate?

> Doesn't need to be separate but could prevent a runaway process from
> filling /var just because it is spamming log entries. Could also be
> achieved with quotas.

Filling up due to runaway logging is why I wanted this on a separate 
partition, and I prefer this to quotas...

>> One question... I have some MySQL databases running on this system too,
>> for my userdbs, and on the new server, SOGo (groupware)...
>>
>> Is it recommended to incorporate scripts to perform dumps of the dbs, or
>> is the lvm snapshot reliable enough for backing these up in their raw
>> state?

> Restoring from lvm snapshot is like restoring after a black out or
> similar crash. Having proper dumps is always a good idea.

The snapshots are strictly transient, created/dropped during rsnapshot 
backups...

I think I will schedule a cronjob for sql dumps too, for an extra 
backup/restore option...

> Hope this helps,

Very much, thanks Florian!


  parent reply	other threads:[~2013-04-24 15:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 14:44 [gentoo-user] Partitions - last questions Tanstaafl
2013-04-23 16:34 ` Florian Philipp
2013-04-23 17:59   ` Neil Bothwick
2013-04-24 10:48     ` Tanstaafl
2013-04-24 12:48       ` Florian Philipp
2013-04-24 15:12         ` Tanstaafl
2013-04-24 15:31           ` Florian Philipp
2013-04-24 16:12             ` Tanstaafl
2013-04-28  8:44               ` Florian Philipp
2013-04-24 15:39   ` Tanstaafl [this message]
2013-04-24 16:23     ` Michael Mol

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5177FCC2.9060505@libertytrek.org \
    --to=tanstaafl@libertytrek.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox