From: David Greaves <david@dgreaves.com>
To: linux-raid@vger.kernel.org
Subject: Re: Backups using RAID1
Date: Thu, 20 Nov 2008 11:48:31 +0000 [thread overview]
Message-ID: <49254E8F.1000105@dgreaves.com> (raw)
In-Reply-To: <20081120090826.GA28736@cthulhu.home.robinhill.me.uk>
Robin Hill wrote:
> Ideally you should unmount the array before failing & removing the
> drive. If this is not possible then pick a time when the IO is likely
> to be low - there's always going be a risk of corruption (especially
> with something like a database), but modern journalling filesystems
> usually cope with this okay.
If you can't unmount then essentially you want to snapshot the
filesystem/databases - some provide facilities for this.
xfs_freeze springs to mind.
At the very least you could do
sync;mdadm --fail
but that's playing with fire...
David
--
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
prev parent reply other threads:[~2008-11-20 11:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 15:13 Backups using RAID1 Drew
[not found] ` <62c47030811191213n49a50624k4a0e167f20193a4@mail.gmail.com>
2008-11-20 2:11 ` Drew
2008-11-20 7:28 ` Max Waterman
2008-11-20 8:43 ` David Greaves
2008-11-20 15:24 ` Drew
2008-11-20 15:33 ` Jon Nelson
2008-11-20 16:12 ` Max Waterman
2008-11-20 22:20 ` Bill Davidsen
2008-11-20 9:08 ` Robin Hill
2008-11-20 11:48 ` David Greaves [this message]
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=49254E8F.1000105@dgreaves.com \
--to=david@dgreaves.com \
--cc=linux-raid@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.