Answer the question
In order to leave comments, you need to log in
How to restore disk partition after unsuccessful use of sgdisk?
I wanted to copy the disk layout with the sgdisk command and mixed up the arguments and erased the partition table. But before that I ran fdisk -l:
Answer the question
In order to leave comments, you need to log in
Resolved the issue. Based on the existing disk layout, I created the same one on both disks via cfdisk. Include disk partitions in an array:
mdadm --manage /dev/md0 --add /dev/sdba
.....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question