Date: Wed, 17 Aug 2016 12:24:56 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211939] ZFS does not correctly import cache and spares by label Message-ID: <bug-211939-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211939 Bug ID: 211939 Summary: ZFS does not correctly import cache and spares by label Product: Base System Version: 10.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: ben.rubson@gmail.com Hello, ZFS does not correctly import cache and spares by label, which is quite annoying. Example : # zpool add home cache label/G12000KU2RVJAch # zpool add home spare label/G1207PFGPTKDXhm=20 # zpool status home (...) home ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 label/G1203PGGLJWZXhm ONLINE 0 0 0 label/G1204PHKXHJ2Xhm ONLINE 0 0 0 (...) logs mirror-2 ONLINE 0 0 0 label/G12000KU2RVJAlg ONLINE 0 0 0 label/G12010KU22RVAlg ONLINE 0 0 0 (...) cache label/G12000KU2RVJAch ONLINE 0 0 0 spares label/G1207PFGPTKDXhm AVAIL # zpool export home # zpool import -d /dev/label/ home # zpool status home (...) home ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 label/G1203PGGLJWZXhm ONLINE 0 0 0 label/G1204PHKXHJ2Xhm ONLINE 0 0 0 (...) logs mirror-2 ONLINE 0 0 0 label/G12000KU2RVJAlg ONLINE 0 0 0 label/G12010KU22RVAlg ONLINE 0 0 0 (...) cache da5p7 ONLINE 0 0 0 spares da4p1 AVAIL # uname -v FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC=20 I tested this pool under FreeBSD 11-RC1, the issue does not occur, cache and spares are correctly imported with their label. Could it be possible to backport required changes to 10.3 ? Thank you very much, Best regards, Ben --=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-211939-8>