I accidentally deleted the partition table of 2 drives in my 4 drive RAID6 by reversing the order of sudo sgdisk -R=/dev/sdb /dev/sdz
parted /dev/sdb print
currently reports:
Model: ATA ST2000DM008-2FR1 (scsi)
Disk /dev/sdd: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
lsblk
still reports:
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0
Question: Do I need to replace the partition table? What happens if I don't? If I do, what would be the best way to recover that? I do have the following bit of information from parted
that I captured before stupidly deleting it
1 1049kB 2000GB 2000GB Linux RAID raid