Wednesday, December 01, 2021

Re: how to recover a corrupted disk

On Wed, Dec 01, 2021 at 05:49:06PM +0530, Sandeep Gupta wrote:

> Not sure why not. It seems the rsd1c is where the superblock is. Also

Each filesystem has it's own superblock, residing at the start of
its partition.

c partitions are a way to refer to the whole disk and do not have a
filesystems. Writing anything to it will destroy partitions.

ATM you likely have a fixable system. After writing to the c partition
you will *have* to reinstall.

-Otto

> there is no other
> mechanism to refer to the whole disk. I guess it's time to format the disk.
>
> On Wed, Dec 1, 2021 at 4:20 PM Janne Johansson <icepic.dz@gmail.com> wrote:
> >
> > Den ons 1 dec. 2021 kl 11:09 skrev Sandeep Gupta <gupta.sandeep@gmail.com>:
> > > @Peter, @Janne: Thanks for the infos. Newfs seemed promising but it
> > > seems like the disk is beyond repair :(.
> > > I did newfs -N and got quite a few location of superblocks:
> > > Then I tried
> > > fsck_ffs -b #blockid /dev/rsd1c
> >
> > You should *NOT* newfs or fsck against the "C" partition.
> >
> >
> > --
> > May the most significant bit of your life be positive.
>

No comments:

Post a Comment