Re: Determining which file is at a given LBA offset; was: HDD error: Current_Pending_Sector

2024-02-21 Thread Andy Smith
Hi, On Tue, Feb 20, 2024 at 07:53:38PM -0500, Default User wrote: > Note: I occurs to me that another idea would be to simply delete all > files from the "bad" drive, then rsync everything fresh from the "good" > drive back onto the "bad" drive.   You can do it in one step with rsync --delete … w

Re: Determining which file is at a given LBA offset; was: HDD error: Current_Pending_Sector

2024-02-20 Thread Default User
On Tue, 2024-02-20 at 21:36 +, Michael Kjörling wrote: > On 20 Feb 2024 12:51 -0500, from hunguponcont...@gmail.com (Default > User): > > But since the sector already can not be read, How can it be re- > > written > > to a "good" sector? > > Generally, it can't. It will be remapped if necessar

Re: Determining which file is at a given LBA offset; was: HDD error: Current_Pending_Sector

2024-02-20 Thread Michael Kjörling
On 20 Feb 2024 12:51 -0500, from hunguponcont...@gmail.com (Default User): > But since the sector already can not be read, How can it be re-written > to a "good" sector? Generally, it can't. It will be remapped if necessary when something else is written to that sector. > If I knew which file (i