Date: Mon, 17 Oct 2016 19:45:27 +0200 From: Polytropon <freebsd@edvax.de> To: "Jason C. Wells" <jasoncwells@fastmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Drive Read Errors Message-ID: <20161017194527.c56ab9a1.freebsd@edvax.de> In-Reply-To: <7353bec4-4a98-7e86-bda9-4c401bb2ad71@fastmail.com> References: <7353bec4-4a98-7e86-bda9-4c401bb2ad71@fastmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Oct 2016 10:02:28 -0700, Jason C. Wells wrote: > I have a drive that has always been troublesome. My first indication was > that the gmirror would end up degraded and restoring it would be > extremely time consuming. (Excuse the terminology, it has been a while > since I did that part.) I gave up on the drive and removed it from the > mirror permanently. Good decision. > I recently used smartmontools long test and discovered that the drive > had read errors. > > In your experience, is there any value in trying to use drive by mapping > bad sectors or partitioning around the errors? When those errors start "bubbling up" and become visible to the OS, it's usually too late. The drive can re-map defective sectors internally. When it runs out of "spare sectors", the errors are being processed by the operating system's driver for direct access storage devices. Those errors usually indicate that the drive has reached the end of its (useful) life. The result: When you mark bad sectors (see "man badsect" for details), you will usually get more and more errors, so you just will see more problems of the same kind in the future. The drive already is broken. It's not that _modern_ drives can be "partitioned smaller" and then continue to work properly for decades. ;-) Of course there is no problem continuing to use the disk for some non-critical data, like a scratch disk ("fragile storage"), but the problems you can expect probably reduce the usefulness significantly. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161017194527.c56ab9a1.freebsd>