Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2017 23:30:49 -0400
From:      Chris Ross <cross+freebsd@distal.com>
To:        FreeBSD FS <freebsd-fs@freebsd.org>
Subject:   zfs recv went idle after 20+ hours
Message-ID:  <4BCBA5DE-6AC7-4B0A-BF33-CFFE5A54B2DF@distal.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

  From earlier posts on this list, many know I was dealing with an issue on a zfs pool.  I eventually got it running in an off way, and backed it up (via zfs send to a file in UFS).  I then destroyed and recreated the pool as I wanted it.  For the last 23 hours or so, I’ve been running a “zfs recv” from the large send output (~5.2T).  It was cooking along, more slowly than I’d expected, but moving.

  I looked in on it a short while ago, and the pv I’m using on the input file was reporting 0.0 B/s, 77% complete.  Looking at the iostat I had running, I could see the raidz disks still seeing activity, but less than a minute later that stopped.  Now, all disks on the system seem idle.  The “zfs recv” process is idle according to ps (STAT I+), and a ktrace on the zfs process shows no activity either.  The window in which I was running the commands look as follows:

cross@hyrule[~](511): zpool list
NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
tank   18.8T   949K  18.8T         -     0%     0%  1.00x  ONLINE  -
zroot  50.5G  34.7G  15.8G         -    55%    68%  1.00x  ONLINE  -
cross@hyrule[~](512): pv /mnt/tank@20170815| sudo zfs recv -Fvu tank
receiving full stream of tank@20170815 into tank@20170815
received 46.3KB stream in 1 seconds (46.3KB/sec)
receiving full stream of tank/deluge@20170815 into tank/deluge@20170815
received 2.87TB stream in 45452 seconds (66.3MB/sec)          ] 55% ETA 10:18:14
receiving full stream of tank/timecapsule@20170815 into tank/timecapsule@20170815
3.99TiB 22:54:18 [0.00 B/s] [========================>         ] 76% ETA 7:04:49

  The time-of-day and ETA value keep increasing, but other than that, it’s just sitting.  zfs list shows:

hyrule# zfs list -t all | grep tank
tank                  3.89T  8.28T  73.3K  none
tank@20170815             0      -  73.3K  -
tank/deluge           2.86T  8.28T  2.86T  /data/deluge
tank/deluge@20170815      0      -  2.86T  -
tank/timecapsule      1024G  8.28T  1024G  /data/timecapsule

  I’m going to leave it this way for a while, but it’s already been about 10 minutes since it started, so I don’t expect that it will free itself.  Does anyone have a suggestion, or something I should look at?  Did I do something wrong?

  Thanks…

              - Chris


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJZl7D1AAoJEPFBDnXvoNg0As4P/igPoDSY1uGES5wStQFxc8Tx
/0hDp0UlIbXruU1CF1j15rFIpu/SVzT8HU8sXF8ie+RCs8ZVzFAqa5p5zpO5LKVb
YAFzUiXjXLK+LNDfS4TWMV546ayAy4uYnQZB+xaXQpzg6D+Z6GwdtLAbNtl5Y1vV
jiPyqncVecVWHPHumAtkx3jsGKT8TJvoeifR1Z7ARsmS9ry4Lcc8sA6HcpT2azc2
b8pCfF5Uqrpt+EaDi8VSIyZz1ghFwwBTEboeIqYwEOuzSEFoMJppsw8YI5cJjZzZ
i9yeUUn0EtGx4UvYOmaUiFaOABxGooa6EIfguFtsyizeUiIcadzW7GhN+b+JHQhk
skYwV+pwaC+0HQqsrcv5WA3hkM17OLSeUDn+cMv7X1Sb1kDjd3fmdWlJw0lhS2sN
tckVXSXsGuWkjT/942KyB1T7umSRaxyD39wd8c17E+3wyypH/BLHDla07CdxPpen
R4NqzLnNLAAJb3+z50ui5427p2dBUVqU+LeoxWiXGvCwYycj1tJC2IMPyY7h30Jc
Oatu6Nv74T4u+QmbWKBgpEvvxVwNsQA3YFQUlYTxudio3fzS1bhVCo5LWjOiHdXX
2xgidVBo++0s4HbARuK2ACMP74SLWWTddwXhqye54/pe+hMeMqlSgNjUcKWRO49W
qpJ9xARJdg0XWGge/ecT
=H4Dg
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BCBA5DE-6AC7-4B0A-BF33-CFFE5A54B2DF>