Re: RAID 1 | Restore based on Image of /dev/sda

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx )

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

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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux