Post
Topic
Board Development & Technical Discussion
Re: [OT / Ubuntu MDADM] HELP ! I dun goofed reel gud my bitcoind RAID 5 array
by
BobLawblaw
on 16/01/2020, 18:14:28 UTC
Just as some therapeutic exercise, could you post the output of
Code:
dumpe2fs -h /dev/md0p1

Code:
root@bitcorn:/mnt/md0# dumpe2fs -h /dev/md0p1
dumpe2fs 1.44.1 (24-Mar-2018)
dumpe2fs: Bad magic number in super-block while trying to open /dev/md0p1
Couldn't find valid filesystem superblock.

can you please paste the output of
 
Code:
parted --list

Code:
root@bitcorn:/mnt/md0# parted --list
Model: ATA WDC WD40EFRX-68N (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                  Flags
 1      1049kB  538MB   537MB   fat32           EFI System Partition  boot, esp
 2      538MB   3992GB  3992GB  ext4
 3      3992GB  4001GB  8417MB  linux-swap(v1)


Error: The primary GPT table is corrupt, but the backup appears OK, so that will
be used.
OK/Cancel? ^C                                                            
Model: ATA WDC WD40EFRX-68N (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start  End  Size  File system  Name  Flags


Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used.
OK/Cancel? ^C                                                            
Model: ATA WDC WD40EFRX-68N (scsi)
Disk /dev/sdc: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start  End  Size  File system  Name  Flags


Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used.
OK/Cancel? ^C                                                            
Model: ATA WDC WD40EFRX-68N (scsi)
Disk /dev/sdd: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start  End  Size  File system  Name  Flags


Model: Linux Software RAID Array (md)
Disk /dev/md0: 8001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name  Flags
 1      2620kB  7993GB  7993GB                        raid
 2      7993GB  8001GB  8416MB  linux-swap(v1)


root@bitcorn:/mnt/md0#
 

CTRL-C'd through all the prompts.

There may be a wallet.dat on that volume - likely containing dust, but would like to confirm. Best I know, I moved all the corn I had on that system back to my wallet.

Also, really don't want to resync since genesis block.

EDIT: Typing "OK" during the parted --list did nothing either.