Wednesday, December 01, 2021

Re: how to recover a corrupted disk

On Wed, Dec 01, 2021 at 01:39:39PM +0530, Sandeep Gupta wrote:
> Hello,
> All partitions except for /dev/rsd1c and /dev/rsd1i are clean.
> For /dev/rsd1c , I get "BAD SUPER BLOCK: MAGIC NUMBER WRONG".
> For /dev/rsd1i, I get "UNEXPECTED INCONSISTENCY".

If that's the case, you are probably done! You could mount
your 'a' partition manually on /mnt, look in /mnt/etc/fstab, and
see which letter partitions belong where; use that info to make
sure you have "found" all your partitions.

BTW, in addition to scan_ffs in base, there is testdisk in ports,
which I think does a better job ATM of finding FFS2 filesystems.

As mentioned, DO NOT do anything with 'c' partition (be glad,
be very glad, that it didn't find anything resembling a superblock
when fsck'ing 'c'!). It's not a mountable partition but a 'wrapper'
for the whole disk.

No comments:

Post a Comment