NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fixing a bad sector

On Tue, Sep 05, 2017 at 06:05:08PM +0000, Steve Blinkhorn wrote:
> Is there a way of identifying the file that's affected from the fsbn?
> Because it's the boot partition and the server is far away I need to
> be sure the machine will come up in multi-user mode if I have to
> reboot.

I think fsdb(8) has something like that, but I never used it myself.
Since it said the data was lost already, you could use dd to the raw
partition to overwrite just the sectors in question with zeros.


Home | Main Index | Thread Index | Old Index