15.01.2019 22:51, Per Jessen пишет:
stakanov wrote:
O.K. I have a new disc.
On the indications of David Rankin:
recreate the partition before you add it back to the array. I would
generally use sfdisk -d to dump the partition information from dev/sdc1 and then use that to repartition dev/sdd1 for use in the array.
I have now the brand new disc without partition as /dev/sdb and the partition working as /dev/sdc1 In order to follow the advice: sfdisk -d /dev/sdc | sfdisk /dev/sdb
That looks good. I usually use 'dd', but sfdisk is proabbaly better.
Both will duplicate MBR signature or GPT GUIDs/labels. While Linux probably does not use this information directly, this may potentially confuse other software/firmware. I am not sure if there is tool that allows you to easily "create new partitions of the same size as on other disk". Hmm ... YaST2 "Clone disk" feature comes in mind. Otherwise for GPT gdisk offers "Randomize the disk's GUID and all partitions' unique GUIDs" after cloning partition table.
Please advice in case of "bullshit alert". Then, I will ask the raid to manage sdb1 created and the raid will sync. So far O.K?
Sounds good, yes. Well, I have to say that the sfdisk command did work as expected. As I am writing you the disc is in sync and that looks all good up to now. Hope for
In data martedì 15 gennaio 2019 21:05:44 CET, Andrei Borzenkov ha scritto: the best. _________________________________________________________________ ________________________________________________________ Ihre E-Mail-Postf�cher sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org