Date: Fri, 06 Nov 2020 17:47:19 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 250816] ZFS cannot import its own export on AWS EC2 12.1 & 12.2-RELEASE Message-ID: <bug-250816-227-Mb77hATnGA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250816-227@https.bugs.freebsd.org/bugzilla/> References: <bug-250816-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250816 --- Comment #16 from Gunther Schadow <raj@gusw.net> --- Why whaddoyouknow, this way it works: ---------------------------------------------------------------------------= ------------------ root@geli:/home/schadow # zpool create testpool /home/schadow/zfstc/0 /home/schadow/zfstc/1 root@geli:/home/schadow # zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEAL= TH=20 ALTROOT testpool 160M 83.5K 160M - - 1% 0% 1.00x ONLI= NE=20 - root@geli:/home/schadow # zpool export testpool root@geli:/home/schadow # zpool import -d zfstc pool: testpool id: 16913270329707857467 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: testpool ONLINE /usr/home/schadow/zfstc/0 ONLINE /usr/home/schadow/zfstc/1 ONLINE root@geli:/home/schadow # zpool list no pools available root@geli:/home/schadow # zpool import -d zfstc testpool root@geli:/home/schadow # zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEAL= TH=20 ALTROOT testpool 160M 120K 160M - - 3% 0% 1.00x ONLI= NE=20 - ---------------------------------------------------------------------------= ---------------- So, while this works as a workaround, I still think it is a bug. There is t= oo much reliance on these file names and paths and whether or not its a symlin= k, etc, that should just not matter. And there is also that asymmetry, that I = have to specify full paths for create, but for import only a directory. It is also a bug because it used to work and then suddenly it stopped worki= ng (for no real benefit AFAICS) --=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-250816-227-Mb77hATnGA>