From owner-freebsd-stable@freebsd.org Mon Feb 24 20:56:04 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2B1B8244152 for ; Mon, 24 Feb 2020 20:56:04 +0000 (UTC) (envelope-from mario.olofo@gmail.com) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48RDqk2qwsz3yxb for ; Mon, 24 Feb 2020 20:56:02 +0000 (UTC) (envelope-from mario.olofo@gmail.com) Received: by mail-qt1-x829.google.com with SMTP id i23so7532085qtr.5 for ; Mon, 24 Feb 2020 12:56:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wUCywJn1yt8mMplxxxb7aRyhLd+bT3NT/q4h6fTfrcw=; b=FHVtGbV4uvWOUo0pkZ+T+7S+K1MBW7N/2uQ1lEXPd0dhztXRyFjiZhElycAnQZypf2 soDT+DzoXpsbX1XXuEep7kn90r0R6B1HdsKMQIsp5eGV3OoHXI3EA1/WVZ6apSOsfnJZ hGoup+SXJ2gLjFz0+qoHeXP/LdNcKJWSMEhFOWgBv0Drwl4+EWYq9MHZJV8LUIBeYJ4Q TnhcqbtcalE97ayEk7/tnC7iJzhYwHgQpUdX8sZ/J7AkcIpJMnmurjJoiGXF9ou5ErFc biHlB+jvO+Xbv+n7031kiLzWQCSynqABchkmGeL6gGw/W4zWvDeBVuWmB7GVtCLPGOwJ /skg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wUCywJn1yt8mMplxxxb7aRyhLd+bT3NT/q4h6fTfrcw=; b=AwtEI+0TKs/ZW3f1U32EkEb+2uJAdLvMnUzKcTbyKC0Ox8yVJlsj0V1ff6EWJVgsP1 zZDBKfNFS1WvMmsRVKwJ6oqklEV4UUy5t/Sxx+P6PeNZV6l7CXvaY7z6lrXwYtp+PUcC p4GqR1I9p9R4kIJLxHAb3csbCyYEQwvzV2OL6KzbTGoQd8Uobi5UmJiykDW54eV1JxMe lCZ8dQWOK1guxw1n4XxgpuS15IW/36rP12KiTDD8vivanZ9QdbBJ3HLVJ17PhiD79S1O iA9fPqX+FN2gLXurD6k7zpxgDrZeiP2Sm3yxlPjKBNzdBLfXlTwUHST+b3xTKto36/wc Kelw== X-Gm-Message-State: APjAAAXdgt5dmQfeObocDpxQkbaiyGO/Xw6Z853x1eSBzaM6AHC+bHT5 RmVDlNo02BSmYFWNK18UtstjWMutDKmeHMnDR3E= X-Google-Smtp-Source: APXvYqzZtXH0iY/3v8WV9jZfIrFCPvkde13fpl/oKu/+ffiOogEA+2KoWwKEGO8ziVpa6ttH88Zndj8zCnAdlcrZzvc= X-Received: by 2002:ac8:36dd:: with SMTP id b29mr49058323qtc.285.1582577760879; Mon, 24 Feb 2020 12:56:00 -0800 (PST) MIME-Version: 1.0 References: <20200224144602.GA64065@phouka1.phouka.net> <437a5eae-03c8-737d-48bf-39e2e9163d6d@nomadlogic.org> In-Reply-To: From: Mario Olofo Date: Mon, 24 Feb 2020 17:55:49 -0300 Message-ID: Subject: Re: Running FreeBSD on M.2 SSD To: Matt Garber Cc: freebsd-stable@freebsd.org X-Rspamd-Queue-Id: 48RDqk2qwsz3yxb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=FHVtGbV4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marioolofo@gmail.com designates 2607:f8b0:4864:20::829 as permitted sender) smtp.mailfrom=marioolofo@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.28), ipnet: 2607:f8b0::/32(-1.88), asn: 15169(-1.67), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 20:56:04 -0000 Hi Matt, The ext4 don't have data checksum, but have metadata checksum, which would probably be corrupted as well, as I reinstalled my Linux over the same partition the FreeBSD was using, and by now I have a lot more files on it than I had on FreeBSD. If you look at the forum post I created, you'll see that I ran the command smartctl as well, and it shows that there's no problem with the SSD, it's a new SDD, some months of use. I ran the command inside FreeBSD: =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Model Family: WD Blue and Green SSDs Device Model: WDC WDS480G2G0B-00EPW0 Serial Number: 183541800480 LU WWN Device Id: 5 001b44 8b9628e44 Firmware Version: UK450000 User Capacity: 480.113.590.272 bytes [480 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: M.2 Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2 T13/2015-D revision 3 SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Mon Sep 2 12:34:29 2019 -03 SMART support is: Available - device has SMART capability. SMART support is: Enabled =3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disab= led. Self-test execution status: ( 32) The self-test routine was interrupt= ed by the host with a hard or soft res= et. Total time to complete Offline data collection: ( 120) seconds. Offline data collection capabilities: (0x15) SMART execute Offline immediate. No Auto Offline data collection sup= port. Abort Offline collection upon new command. No Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. No Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 85) minutes. SMART Attributes Data Structure revision number: 1 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 3281 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 570 165 Block_Erase_Count 0x0032 100 100 000 Old_age Always - 1025 166 Minimum_PE_Cycles_TLC 0x0032 100 100 --- Old_age Always - 7 167 Max_Bad_Blocks_per_Die 0x0032 100 100 --- Old_age Always - 0 168 Maximum_PE_Cycles_TLC 0x0032 100 100 --- Old_age Always - 15 169 Total_Bad_Blocks 0x0032 100 100 --- Old_age Always - 204 170 Grown_Bad_Blocks 0x0032 100 100 --- Old_age Always - 0 171 Program_Fail_Count 0x0032 100 100 000 Old_age Always - 0 172 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0 173 Average_PE_Cycles_TLC 0x0032 100 100 000 Old_age Always - 7 174 Unexpected_Power_Loss 0x0032 100 100 000 Old_age Always - 112 184 End-to-End_Error 0x0032 100 100 --- Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 2 188 Command_Timeout 0x0032 100 100 --- Old_age Always - 0 194 Temperature_Celsius 0x0022 063 053 000 Old_age Always - 37 (Min/Max 6/53) 199 UDMA_CRC_Error_Count 0x0032 100 100 --- Old_age Always - 0 230 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0x025c0128025c 232 Available_Reservd_Space 0x0033 100 100 005 Pre-fail Always - 100 233 NAND_GB_Written_TLC 0x0032 100 100 --- Old_age Always - 3227 234 NAND_GB_Written_SLC 0x0032 100 100 000 Old_age Always - 11545 241 Total_Host_GB_Written 0x0030 100 100 000 Old_age Offline - 4632 242 Total_Host_GB_Read 0x0030 100 100 000 Old_age Offline - 4956 244 Temp_Throttle_Status 0x0032 000 100 --- Old_age Always - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Aborted by host 90% 3166 = - # 2 Short offline Completed without error 00% 2522 = - # 3 Short offline Interrupted (host reset) 90% 2070 = - # 4 Short offline Interrupted (host reset) 90% 2040 = - # 5 Short offline Interrupted (host reset) 90% 2011 = - # 6 Short offline Interrupted (host reset) 90% 2011 = - # 7 Short offline Aborted by host 80% 2011 = - # 8 Short offline Completed without error 00% 624 = - # 9 Short offline Aborted by host 30% 433 = - #10 Short offline Aborted by host 90% 401 = - #11 Short offline Completed without error 00% 400 = - #12 Short offline Completed without error 00% 321 = - #13 Short offline Completed without error 00% 106 = - #14 Short offline Self-test routine in progress 20% 106 = - #15 Short offline Aborted by host 90% 11 = - Selective Self-tests/Logging not supported Em seg., 24 de fev. de 2020 =C3=A0s 16:50, Matt Garber escreveu: > On Mon, Feb 24, 2020 at 2:44 PM Mario Olofo wrote= : > >> Hi Pete, in the logs there's nothing wrong, I only see the problem on >> zpool >> status after the first scrub, even if I just >> reinstall the FreeBSD and some basic packages (didn't even need a lot of >> files as I thought). > > > Mario, > > Out of curiosity, how are you able to tell for sure you aren=E2=80=99t al= so > experiencing corruption under Linux or Windows on the same hardware? Have > you been able to run a ZFS scrub using ZFS on Linux? > > Both default file systems, ext4 and NTFS, are completely unable of lettin= g > you know if corruption has occurred =E2=80=94 they=E2=80=99ll just corrup= t silently =E2=80=94 so > I=E2=80=99m wondering how you=E2=80=99ve ruled that out. > > > Thanks, > =E2=80=94 > Matt > >