[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-btrfs
Subject:    Re: question to btrfs scrub
From:       Qu Wenruo <quwenruo.btrfs () gmx ! com>
Date:       2023-06-30 10:16:43
Message-ID: 3d208b62-efc2-afe4-e928-986dc4c53936 () gmx ! com
[Download RAW message or body]



On 2023/6/30 17:59, Bernd Lentes wrote:
> 
> > -----Original Message-----
> > From: Qu Wenruo <quwenruo.btrfs@gmx.com>
> > Sent: Thursday, June 29, 2023 11:08 AM
> > To: Bernd Lentes <bernd.lentes@helmholtz-muenchen.de>; linux-btrfs <linux-
> > btrfs@vger.kernel.org>
> > Subject: Re: question to btrfs scrub
> 
> > - Kernel version
> 5.14.21-150400.24.63-default
> 
> > - SMART info
> ha-idg-1:/mnt/sdc1/ha-idg-1/image # smartctl -T verypermissive -a /dev/sdc
> smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150400.24.63-default] (SUSE \
> RPM) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
> 
> Read Device Identity failed: scsi error unsupported field in scsi command
> 
> === START OF INFORMATION SECTION ===
> Device Model:     [No Information Found]
> Serial Number:    [No Information Found]
> Firmware Version: [No Information Found]
> Device is:        Not in smartctl database [for details use: -P showall]
> ATA Version is:   [No Information Found]
> Local Time is:    Fri Jun 30 11:52:26 2023 CEST
> SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART \
> supported. SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show \
> if SMART is enabled. Checking to be sure by trying SMART RETURN STATUS command.
> SMART support is: Unknown - Try option -s with argument 'on' to enable it.
> Read SMART Data failed: scsi error unsupported field in scsi command
> 
> === START OF READ SMART DATA SECTION ===
> SMART Status command failed: scsi error unsupported field in scsi command
> SMART overall-health self-assessment test result: UNKNOWN!
> SMART Status, Attributes and Thresholds cannot be read.
> 
> Read SMART Error Log failed: scsi error unsupported field in scsi command
> 
> Read SMART Self-test Log failed: scsi error unsupported field in scsi command
> 
> Selective Self-tests/Logging not supported
> 
> ha-idg-1:/mnt/sdc1/ha-idg-1/image #
> ha-idg-1:/mnt/sdc1/ha-idg-1/image # smartctl -T verypermissive -s on /dev/sdc
> smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150400.24.63-default] (SUSE \
> RPM) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
> 
> Read Device Identity failed: scsi error unsupported field in scsi command
> 
> SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART \
> supported. SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show \
> if SMART is enabled. Checking to be sure by trying SMART RETURN STATUS command.
> SMART support is: Unknown - Try option -s with argument 'on' to enable it.=== START \
> OF ENABLE/DISABLE COMMANDS SECTION === SMART Enable failed: scsi error unsupported \
> field in scsi command 
> SMART not available ?

That maybe caused by whatever the controller of the USB enclosure.

> 
> > - HDD model
> external USB Seagate
> 
> > IIRC there used to be some bug causing csum mismatch, if it's all in one file,
> > you can backup and remove the file, then set nodatacow for that file.
> bugs causing csum mismatch - Uaargh !

Your kernel is not that old AFAIK.

And I don't want to go that path unless there are enough evidence to
indicate that.

Have you figured out which file(s) are affected and what's the workload
of them?

Thanks,
Qu
> How do i set nodatacow ?
> 
> Bernd
> 
> Helmholtz Zentrum München – Deutsches Forschungszentrum für Gesundheit und \
> Umwelt (GmbH) Ingolstädter Landstraße 1, D-85764 Neuherberg, \
> https://www.helmholtz-munich.de Geschäftsführung: Prof. Dr. med. Dr. h.c. \
> Matthias Tschöp, Daniela Sommer (komm.) | Aufsichtsratsvorsitzende: MinDir'in \
>                 Prof. Dr. Veronika von Messling
> Registergericht: Amtsgericht München HRB 6466 | USt-IdNr. DE 129521671


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic