linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: Can you IMAGE Mirrored OS Drives?
Date: Wed, 16 Aug 2006 09:38:54 +0200	[thread overview]
Message-ID: <20060816073854.GA7356@percy.comedia.it> (raw)
In-Reply-To: <44E250CD.5040308@aol.com>

On Tue, Aug 15, 2006 at 06:55:09PM -0400, andy liebman wrote:
>I will post my recipe here tomorrow for others to see -- maybe it will 
>help somebody else. I just want to edit a few things to clarify before I 
>post it. Some of the gotchas were were amusing -- like I couldn't run 
>LILO on degraded raid1 arrays, and running "mkinitrd" from within 
damn, could you open a bug on qa.mandriva.com, so we will remember to
fix it?
>Mandriva 2006 produces gzipped initrd files, but running "mkinitrd" by 
>chrooting in from a LIVE CD produces initrd files that needs cpio to 
>decompress and read it.
actually up to kernel 2.6.12-18mdk we defaulted to gzipped cramfs
initrd. now the default is initramfs.

>clone SINGLE OS drives. Can you clone RAIDS? It would mean, of course, 
you can certainly clone raids.

>that the UUIDs would be the same on each system. Is that bad? Is there 
>any risk here?
The only risk is if you ever move one disk from one machine to another.
To work around this you can change the uuid by recreating the array with
mdadm, but you would have to regenerate the initrd and fight again with
lilo :(

>-- I know there was a lot of discussion on the list a while back about 
>whether or not to mirror SWAP space. Was there ever any conclusion? It 
yes, with kernel 2.2 mirroring swap led to deadlocks under memory
pressure. but with modern kernels the only issue that would prevent you
to mirror swap is masochism.

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

  parent reply	other threads:[~2006-08-16  7:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15 22:55 Can you IMAGE Mirrored OS Drives? andy liebman
2006-08-16  2:24 ` Guy
2006-08-16  7:03 ` Gordon Henderson
2006-08-16 10:06   ` andy liebman
2006-08-16 11:02     ` Gordon Henderson
2006-08-19  1:18     ` Gabor Gombas
2006-09-04 18:18     ` Bill Davidsen
2006-08-16  7:38 ` Luca Berra [this message]
2006-08-19  1:13   ` Gabor Gombas
2006-08-19  7:05     ` Luca Berra
2006-08-22 17:30       ` Gabor Gombas

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=20060816073854.GA7356@percy.comedia.it \
    --to=bluca@comedia.it \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).