Date: Sat, 13 Feb 2021 11:38:10 -0600 (CST) From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us> To: Stefan Esser <se@freebsd.org> Cc: freebsd-fs@freebsd.org Subject: Re: Reading a corrupted file on ZFS Message-ID: <alpine.GSO.2.20.2102131135130.20141@scrappy.simplesystems.org> In-Reply-To: <225e4da5-79ec-a57a-90e5-35989e6484d5@freebsd.org> References: <da892eeb-233f-551f-2faa-62f42c3c1d5b@artem.ru> <0ca45adf-8f60-a4c3-6264-6122444a3ffd@denninger.net> <899c6b4f-2368-7ec2-4dfe-fa09fab35447@artem.ru> <20210212165216.2f613482@fabiankeil.de> <10977ffc-f806-69dd-0cef-d4fd4fc5f649@artem.ru> <2f82f113-9ca1-99a9-a433-89e3ae5edcbe@denninger.net> <2bf4f69c-9d5d-5ff9-0daa-c87515437ca3@artem.ru> <5aa03138-1dc8-5a9c-1be6-d47ed22fc0cf@denninger.net> <225e4da5-79ec-a57a-90e5-35989e6484d5@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 13 Feb 2021, Stefan Esser wrote: > > I have a number of older 2 TB drives and use 2 of them to store > DVB transport stream data, for later processing. They are not > mirrored and the data format assumes that the transmission is not > perfect. I have noticed that some of these files have been lost > due to bad sectors, and while this would not be a problem on UFS, > ZFS thinks I should not trust the file at all, despite 99,9999% > of it being perfectly usable. (A fraction of the TS data is > extracted from these files and stored as PS data on a ZFS RAID, > where it will be safe and I never lost a file.) If simple bad sectors is a problem for you on zfs, then try setting the the filesystem 'copies' property to a value higher than one before writing the file. This does use more space but does not require additional devices. Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.2.20.2102131135130.20141>