[Bug 259276] Read errors with openzfs-kmod-2021101400

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Oct 2021 23:40:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259276

Graham Perrin <grahamperrin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fs@FreeBSD.org

--- Comment #2 from Graham Perrin <grahamperrin@gmail.com> ---
(In reply to Ott Köstner from comment #1)

> … custom kernel …

Reproducible with GENERIC in a VirtualBox guest (with its virtual hard disk
stored on a slow mobile hard disk drive). 

<https://bsd-hardware.info/?probe=9d5a6b7dbd>

----

grahamperrin@mowa219-gjp4-vm-freebsd-13-zfs:~ % su -
Password:
root@mowa219-gjp4-vm-freebsd-13-zfs:~ # grep -i zfs /etc/rc.conf
hostname="mowa219-gjp4-vm-freebsd-13-zfs"
zfs_enable="YES"
root@mowa219-gjp4-vm-freebsd-13-zfs:~ # grep -i zfs /boot/loader.conf
zfs_load="NO"
openzfs_load="YES"
root@mowa219-gjp4-vm-freebsd-13-zfs:~ # time gitup ports
# Scanning local repository...gitup: load_file: problem reading
/usr/ports/lang/linux-dotnet-sdk/pkg-plist: Input/output error
0.434u 1.111s 0:30.86 4.9%      66+180k 7997+0io 6pf+0w
root@mowa219-gjp4-vm-freebsd-13-zfs:~ # date ; uptime
Thu Oct 21 00:14:08 BST 2021
12:14AM  up 15 mins, 3 users, load averages: 0.23, 0.43, 0.30
root@mowa219-gjp4-vm-freebsd-13-zfs:~ # freebsd-version -kru
13.0-RELEASE-p4
13.0-RELEASE-p4
13.0-RELEASE-p4
root@mowa219-gjp4-vm-freebsd-13-zfs:~ # uname -aKU
FreeBSD mowa219-gjp4-vm-freebsd-13-zfs 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4
#0: Tue Aug 24 07:33:27 UTC 2021    
root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 
amd64 1300139 1300139
root@mowa219-gjp4-vm-freebsd-13-zfs:~ # time gitup ports
# Scanning local repository...gitup: load_file: problem reading
/usr/ports/chinese/linux-wps-office-zh_CN/pkg-plist: Input/output error
0.777u 5.764s 2:48.19 3.8%      58+159k 43936+0io 0pf+0w
root@mowa219-gjp4-vm-freebsd-13-zfs:~ # time gitup ports
# Scanning local repository...gitup: load_file: problem reading
/usr/ports/print/texlive-texmf/pkg-plist: Input/output error
1.163u 9.815s 3:16.73 5.5%      58+159k 59222+0io 0pf+0w
root@mowa219-gjp4-vm-freebsd-13-zfs:~ # 

----

Side note, for people who may be unfamiliar with gitup(1): an initial run might
not expose this bug. Second and subsequent runs will be more intensive. 

From
<https://www.freebsd.org/cgi/man.cgi?query=gitup&sektion=1&manpath=FreeBSD+13.0-RELEASE+and+Ports#CAVEATS>: 

> … gitup relies on the known remote files lists stored in /var/db/gitup and the 
> current state of the local repository to reconstruct data that would normally be 
> stored in the pack file. …

-- 
You are receiving this mail because:
You are on the CC list for the bug.