[Bug 250816] AWS EC2 ZFS cannot import its own export!
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 3 00:41:13 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250816
--- Comment #3 from Gunther Schadow <raj at gusw.net> ---
12.0-RC3 amd64 works!
-------------------------------------------------
$ su
root at freebsd:/usr/home/ec2-user # sh
# uname -a
FreeBSD freebsd 12.0-RC3 FreeBSD 12.0-RC3 r341271 GENERIC amd64
# mkdir zfstc
# truncate -s 100M zfstc/0
# truncate -s 100M zfstc/1
# mkdir zfstd
# for i in zfstc/* ; do ln -s /dev/$(mdconfig -a -t vnode -f $i)
zfstd/$(basename $i) ; done
#
# zpool create -o feature at embedded_data=enabled -o feature at lz4_compress=enabled
-O dedup=on -O compression=lz4 testpool raidz $(for i in zfstd/* ; do readlink
$i ; done)
# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH
ALTROOT
testpool 176M 174K 176M - - 1% 0% 1.00x ONLINE
-
# zpool export testpool
# zpool import -d zfstd
pool: testpool
id: 3192103039539057096
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
testpool ONLINE
raidz1-0 ONLINE
md0 ONLINE
md1 ONLINE
#
# shutdown -p now
Shutdown NOW!
-----------------------------------------
So now, I think, I showed you how this might be an issue introduced only
through 12.1 and .2 and possibly it is a matter how this EC2 AMI is put
together.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list