Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jun 2017 19:14:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 219760] ZFS iSCSI w/ Win10 Initiator Causes pool corruption
Message-ID:  <bug-219760-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219760

            Bug ID: 219760
           Summary: ZFS iSCSI w/ Win10 Initiator Causes pool corruption
           Product: Base System
           Version: 11.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: henric_jungheim@yahoo.com

Created attachment 183182
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183182&action=
=3Dedit
dmesg

With a zvol to provide a 1TB iSCSI drive for a Windows 10 initiator, using
"Create a system image" causes the pool to be corrupted.  Neither drive rep=
orts
any SMART problems (both have "SMART overall-health self-assessment test
result: PASSED").  The backup completes without errors on the Windows side.

The iSCSI volume is set for 64k blocks and that is also the NTFS cluster si=
ze.=20
The backup is from two SATA SSDs in a laptop and done over a Gigabit Ethern=
et
link. Bitlocker is enabled for the backup volume on the Windows side, which
could possibly alter the disk access patterns...?=20=20

Deleting the zvol, clearing the error, and retrying the backup to a new zvol
causes the same problem.  The first try used "FreeBSD 11.0-STABLE #10 r3175=
13:
Thu Apr 27 12:09:34 MST 2017".  I updated to "FreeBSD 11.1-PRERELEASE #11
r319488: Thu Jun  1 21:12:33 MST 2017" for the second try.

  pool: tank
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
        corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
        entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 0 in 9h34m with 0 errors on Fri Jun  2 22:36:45 2017
config:

        NAME            STATE     READ WRITE CKSUM
        tank            DEGRADED     0     0    74
          mirror-0      ONLINE       0     0     0
            gpt/tank0   ONLINE       0     0     0
            gpt/tank1   ONLINE       0     0     0
          mirror-1      DEGRADED     0     0   148
            gpt/tank0b  DEGRADED     0     0   148  too many errors
            gpt/tank1b  DEGRADED     0     0   148  too many errors

errors: Permanent errors have been detected in the following files:

        tank/iscsi/mcp2:<0x1>


NAME             PROPERTY              VALUE                  SOURCE
tank/iscsi/mcp2  type                  volume                 -
tank/iscsi/mcp2  creation              Fri Jun  2 12:49 2017  -
tank/iscsi/mcp2  used                  1.00T                  -
tank/iscsi/mcp2  available             3.22T                  -
tank/iscsi/mcp2  referenced            971G                   -
tank/iscsi/mcp2  compressratio         1.00x                  -
tank/iscsi/mcp2  reservation           none                   default
tank/iscsi/mcp2  volsize               1T                     local
tank/iscsi/mcp2  volblocksize          64K                    -
tank/iscsi/mcp2  checksum              skein                  inherited from
tank
tank/iscsi/mcp2  compression           off                    local
tank/iscsi/mcp2  readonly              off                    default
tank/iscsi/mcp2  copies                1                      default
tank/iscsi/mcp2  refreservation        1.00T                  local
tank/iscsi/mcp2  primarycache          all                    default
tank/iscsi/mcp2  secondarycache        all                    default
tank/iscsi/mcp2  usedbysnapshots       0                      -
tank/iscsi/mcp2  usedbydataset         971G                   -
tank/iscsi/mcp2  usedbychildren        0                      -
tank/iscsi/mcp2  usedbyrefreservation  57.2G                  -
tank/iscsi/mcp2  logbias               latency                default
tank/iscsi/mcp2  dedup                 off                    default
tank/iscsi/mcp2  mlslabel                                     -
tank/iscsi/mcp2  sync                  standard               default
tank/iscsi/mcp2  refcompressratio      1.00x                  -
tank/iscsi/mcp2  written               971G                   -
tank/iscsi/mcp2  logicalused           970G                   -
tank/iscsi/mcp2  logicalreferenced     970G                   -
tank/iscsi/mcp2  volmode               default                default
tank/iscsi/mcp2  snapshot_limit        none                   default
tank/iscsi/mcp2  snapshot_count        none                   default
tank/iscsi/mcp2  redundant_metadata    all                    default

Geom name: ada3
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 11721045127
first: 40
entries: 152
scheme: GPT
Providers:
1. Name: ada3p1
   Mediasize: 6001173463040 (5.5T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   rawuuid: 7830d285-8079-11e6-b5ec-00e081c81bd6
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: tank0b
   length: 6001173463040
   offset: 1048576
   type: freebsd-zfs
   index: 1
   end: 11721043967
   start: 2048
Consumers:
1. Name: ada3
   Mediasize: 6001175126016 (5.5T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e3
Geom name: ada4
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 11721045127
first: 40
entries: 152
scheme: GPT
Providers:
1. Name: ada4p1
   Mediasize: 6001173463040 (5.5T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   rawuuid: 7b35d907-8079-11e6-b5ec-00e081c81bd6
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: tank1b
   length: 6001173463040
   offset: 1048576
   type: freebsd-zfs
   index: 1
   end: 11721043967
   start: 2048
Consumers:
1. Name: ada4
   Mediasize: 6001175126016 (5.5T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e3

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219760-8>