[Bug 250816] ZFS cannot import its own export on AWS EC2 12.1 & 12.2-RELEASE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 5 02:55:49 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250816
--- Comment #8 from Gunther Schadow <raj at gusw.net> ---
Thank you for your initial interest.
Colin, I don't know if other platforms are affected. For sure it's not hardware
dependent (same for amd and arm). I hope some people would just try to cut and
paste my little test script, it couldn't be easier. Please, anyone looking at
this: try and post your results. 12.2 and 12.1 are suspect. But it could be the
specific kernel built used for EC2 AMI. Unfortunately these days the kernel
sources are no longer part of the normal system setup, and I admit have
forgotten a little bit the grunt of running config and the corners of the sys/
tree. (I used to, after all, I have written one device driver for FreeBSD-2.x).
Andriy, here is the dtrace result:
root at geli:/home/ec2-user # dtrace -qn 'zfs-dbgmsg{printf("%s\n",
stringof(arg0))}' -c 'zpool import -d zfstd'
dtrace: buffer size lowered to 1m
pool: testpool
id: 4731456272891350032
state: UNAVAIL
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
see: http://illumos.org/msg/ZFS-8000-5E
config:
testpool UNAVAIL insufficient replicas
raidz1-0 UNAVAIL insufficient replicas
16509719173445145761 UNAVAIL corrupted data
12908006057264574797 UNAVAIL corrupted data
spa_tryimport: importing testpool
spa_load($import, config trusted): LOADING
spa_load($import, config untrusted): vdev tree has 1 missing top-level vdevs.
spa_load($import, config untrusted): current settings allow for maximum 0
missing top-level vdevs at this stage.
spa_load($import, config untrusted): FAILED: unable to open vdev tree
[error=22]
vdev 0: root, guid: 4731456272891350032, path: N/A, can't open
vdev 0: raidz, guid: 15929167801800586952, path: N/A, can't open
vdev 0: disk, guid: 16509719173445145761, path:
/usr/home/ec2-user/zfstd/0, can't open
vdev 1: disk, guid: 12908006057264574797, path:
/usr/home/ec2-user/zfstd/1, can't open
spa_load($import, config untrusted): UNLOADING
Hope that helps.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list