From owner-freebsd-current@freebsd.org Sat Jan 9 08:01:49 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CEE9A676B3 for ; Sat, 9 Jan 2016 08:01:49 +0000 (UTC) (envelope-from 214748mv@gmail.com) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F36A11028 for ; Sat, 9 Jan 2016 08:01:48 +0000 (UTC) (envelope-from 214748mv@gmail.com) Received: by mail-ig0-x22e.google.com with SMTP id h5so47502847igh.0 for ; Sat, 09 Jan 2016 00:01:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Ylg9poWnBZI84+RS/2aDgi9Y6Pr55W80vhtosYYozcA=; b=Y+jRi50+sTRPgfdHemCIABl05XwBd09geckQdQDEeJ79KgLVd7SvM3m1lYz8Xt+/T0 dtGiLKEh4udu98Us8P5cenc00bkD9jnHQFMlRjk+RsvqgldQ631LFWajS4/tsmtq/rqk BXB9V/gDstZbtgyVL8j0BLBlWHtOV/qMfzAn0f6tpa9qpnO0Lu+vSf1zx0njUoyFGoSF K097iHWZIiaqepr4IiaDe5TnnuJhN2/7MyBDIKGWcRC2wD9kIrWWOa67ZMGHyMq/LXfX ROfLupuakhjQwejr/TiSiPKrtM0/gq7mWa6IRVzM0mWOquHq8FbvtyR/tp2TRDSVeO9l laDw== MIME-Version: 1.0 X-Received: by 10.50.29.76 with SMTP id i12mr2706830igh.70.1452326508425; Sat, 09 Jan 2016 00:01:48 -0800 (PST) Received: by 10.79.124.6 with HTTP; Sat, 9 Jan 2016 00:01:48 -0800 (PST) Date: Sat, 9 Jan 2016 09:01:48 +0100 Message-ID: Subject: [zfs] Cache on SD stops working after updating to 11-CURRENT r291458 amd64 From: "Ranjan1018 ." <214748mv@gmail.com> To: FreeBSD CURRENT Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2016 08:01:49 -0000 Hi, I use a SD card as cache for a laptop pool sys: # zpool status -v pool: sys state: ONLINE scan: scrub repaired 0 in 1h13m with 0 errors on Mon Jan 4 00:02:42 2016 config: NAME STATE READ WRITE CKSUM sys ONLINE 0 0 0 gpt/sys0 ONLINE 0 0 0 cache gpt/cache ONLINE 0 0 0 After updating 11.0-CURRENT from r291458 to r293055 the cache stops working. I am running: # uname -a FreeBSD ativ 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r293055: Sun Jan 3 00:15:33 CET 2016 root@ativ:/usr/obj/usr/src/sys/GENERIC amd64 Fault cache status after the boot: # zpool status -v pool: sys state: ONLINE status: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Attach the missing device and online it using 'zpool online'. see: http://illumos.org/msg/ZFS-8000-2Q scan: scrub repaired 0 in 1h13m with 0 errors on Mon Jan 4 00:02:42 2016 config: NAME STATE READ WRITE CKSUM sys ONLINE 0 0 0 gpt/sys0 ONLINE 0 0 0 cache 1553023247900193278 UNAVAIL 0 0 0 was /dev/gpt/cache errors: No known data errors Trying to online the cache I have the error: # zpool online sys gpt/cache warning: device 'gpt/cache' onlined, but remains in faulted state use 'zpool replace' to replace devices that are no longer present To use the cache I need to remove & add it: # zpool remove sys gpt/cache # zpool add sys cache gpt/cache -- Maurizio