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 …

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

Re: HDD error: Current_Pending_Sector

2024-02-20 Thread David
On Tue, 20 Feb 2024 at 17:51, Default User wrote: > > Hi guys! Hi to all readers, > Now it "works", BUT . . . I ran: > > sudo smartctl --test=long /dev/sdb on it, > > and it reports a Current_Pending_Sector error, at LBA 325904690. [...] > According to sudo smartctl --test=long /dev/sdb, >

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

Re: HDD error: Current_Pending_Sector

2024-02-20 Thread David Christensen
On 2/20/24 09:51, Default User wrote: Hi guys! I am running Debian 12 Stable, up to date, on a low-spec Dell Inspiron 15 3000 Model 3511. Firmware is also up to date. I have a 4 Gb Western Digital external usb SATA HDD, Model WDC WD40NDZW-11A8JS1. It has only one partition, formatted as ext4.

HDD error: Current_Pending_Sector

2024-02-20 Thread Default User
Hi guys! I am running Debian 12 Stable, up to date, on a low-spec Dell Inspiron 15 3000 Model 3511. Firmware is also up to date. I have a 4 Gb Western Digital external usb SATA HDD, Model WDC WD40NDZW-11A8JS1. It has only one partition, formatted as ext4. The filesystem is labeled MSD00012.