linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Truschnigg <johannes@truschnigg.info>
To: Stefanie Leisestreichler <stefanie.leisestreichler@peter-speer.de>
Cc: Wols Lists <antlists@youngman.org.uk>, linux-raid@vger.kernel.org
Subject: Re: RAID 1 | Restore based on Image of /dev/sda
Date: Mon, 4 May 2020 13:36:53 +0200	[thread overview]
Message-ID: <20200504113652.GA22487@vault.lan> (raw)
In-Reply-To: <58659d1e-bcce-553c-fe68-52d075422252@peter-speer.de>

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

Hi Steffi,

On Mon, May 04, 2020 at 01:26:35PM +0200, Stefanie Leisestreichler wrote:
> [...]
> Thanks, Wol, especially for the hint with the GUIDs, will keep this in mind.
> If ever using it again - maybe in case of a quick temporary replacement in
> the original computer - I will wipe it with zeros before.
> 
> The partition layout will be cloned using sfdisk.

When dealing with GPT partitions, you might want to consider using `sgdisk`
instead. It features -G|--randomize-guids and will be able to clone a GPT
table from one drive to another in one go, without you having to iron out
UUID-related problems that "naive" cloning (which I believe `sfdisk` will
perform) will introduce.

Hth!

-- 
with best regards:
- Johannes Truschnigg ( johannes@truschnigg.info )

www:   https://johannes.truschnigg.info/
phone: +43 650 2 133337
xmpp:  johannes@truschnigg.info

Please do not bother me with HTML-email or attachments. Thank you.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-05-04 11:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04 10:48 RAID 1 | Restore based on Image of /dev/sda Stefanie Leisestreichler
2020-05-04 10:59 ` Reindl Harald
2020-05-04 11:13   ` Stefanie Leisestreichler
2020-05-04 15:15     ` Stefanie Leisestreichler
2020-05-04 11:07 ` Wols Lists
2020-05-04 11:26   ` Stefanie Leisestreichler
2020-05-04 11:36     ` Johannes Truschnigg [this message]
2020-05-04 11:52       ` Stefanie Leisestreichler
2020-05-04 12:07     ` Wols Lists

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=20200504113652.GA22487@vault.lan \
    --to=johannes@truschnigg.info \
    --cc=antlists@youngman.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=stefanie.leisestreichler@peter-speer.de \
    /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).