I had an idea of a Raspberry Pi file server using multiple external disk drives in a RAID array. For starters I only had a single 1TB disk so I setup a raid1 array on that disk with the intent on adding additional drives later.
In the end this turned to be a bad idea and not really fit for my use case so now I want to convert the disk back into a "normal" one. I've followed this https://superuser.com/questions/971549/how-to-convert-a-software-raid-1-partition-to-non-raid-partition thinking it's exactly what I want. I guess it wasn't because now my disk seems to be unmountable.
What are my options now? Is there a way to recover my data?
I'll paste here outputs of various commands ran before I zeroed the superblock.
$ sudo cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[0]
976595904 blocks super 1.2 [1/1] [U]
bitmap: 0/8 pages [0KB], 65536KB chunk
unused devices: <none>
$ sudo mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Sat Sep 5 14:02:15 2020
Raid Level : raid1
Array Size : 976595904 (931.35 GiB 1000.03 GB)
Used Dev Size : 976595904 (931.35 GiB 1000.03 GB)
Raid Devices : 1
Total Devices : 1
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Mon Apr 19 11:46:30 2021
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Consistency Policy : bitmap
Name : raspberrypi:0 (local to host raspberrypi)
UUID : a1cd3f87:6165ec4a:d68c7589:708a0fe3
Events : 74
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
$ sudo fdisk -l
...
Disk /dev/sda: 931.48 GiB, 1000170586112 bytes, 1953458176 sectors
Disk model: Elements 2621
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C70BB0D7-644F-4911-B379-A3729BB61C3D
Device Start End Sectors Size Type
/dev/sda1 2048 1953458142 1953456095 931.5G Linux filesystem
Disk /dev/md0: 931.35 GiB, 1000034205696 bytes, 1953191808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
$ sudo mdadm --stop /dev/md0
mdadm: stopped /dev/md0
$ sudo mdadm --zero-superblock /dev/sda1
$ sudo mount /dev/sda1 /mnt/ext
mount: /mnt/ext: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.