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

Re: smartctl on SSD question



On 3/20/21 3:50 AM, Gene Heskett wrote:
Greetings all;

I have been using amanda on this machine to back up the rest of my
machines for over 2 decades. So I'm not a new user.

But I installed a 240 gig SSD about 6 months back, because its use as a
holding disk tripled amanda's speed at backing up this 6 machine system.

But amanda has been increasingly plagued with bad crc checksums of the
data in this holding disk, which usually leaves the files on that disk
as it redoes that disklist entry bypassing the holding disk, which
obviously takes longer as it is then doing the backup directly to the
archive medium.

I just initiated a "-t long" test on it.  So since its an SSD, what is
the best command to extract the most complete test report possible when
the test has finished? Its now done, and the -a option gives it a clean
report, along with a list of this and thats not supported. Cheap adata
drive.


I typically use the smartctl(8) '-x' option to get the most information:

    # smartctl -x /dev/sda


I pipe the output to a file, and put the file into a version control system. This allows me to look for trends.


It is good that Amanda does checksums on the backup repository, but bad that Amanda is detecting errors. Get your backups onto reliable storage immediately. I do ZFS and mirrored HDD's with an SSD cache. The SSD cache can improve replication performance by an order of magnitude. If you're not using ZFS, there are SSD cache solutions for traditional filesystems and for LVM (I won't comment because I don't use them).


David


Reply to: