I accidentally used sgdisk -R=/dev/sdb /dev/sda instead of sgdisk -R=/dev/sda /dev/sdb after replacing a broken drive in a raid. Can I recover from this or is all data lost now?
how to reverse the effect of sgdisk -R=/dev/sdb /dev/sda?
raid;gpt