From owner-freebsd-fs@freebsd.org Sun Nov 13 09:55:47 2016 Return-Path: Delivered-To: freebsd-fs@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 CB88AC3D2A0 for ; Sun, 13 Nov 2016 09:55:47 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "0x20.net", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65E5312FC; Sun, 13 Nov 2016 09:55:47 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 1A95C6E0081; Sun, 13 Nov 2016 10:55:45 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id uAD9tiVF020153; Sun, 13 Nov 2016 10:55:44 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id uAD9tikh019233; Sun, 13 Nov 2016 10:55:44 +0100 (CET) (envelope-from lars) Date: Sun, 13 Nov 2016 10:55:44 +0100 From: Lars Engels To: Gary Palmer Cc: tech-lists , freebsd-fs@freebsd.org Subject: Re: mounting an ubuntu 14.04 bhyve image as a filesystem for editing Message-ID: <20161113095544.GJ68652@e-new.0x20.net> References: <20161110152612.GH68652@e-new.0x20.net> <20161111160909.GA67078@in-addr.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7hPxVvx9zUFtB5wE" Content-Disposition: inline In-Reply-To: <20161111160909.GA67078@in-addr.com> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p35 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2016 09:55:47 -0000 --7hPxVvx9zUFtB5wE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 11, 2016 at 04:09:09PM +0000, Gary Palmer wrote: > On Fri, Nov 11, 2016 at 03:30:59PM +0000, tech-lists wrote: > > On 10/11/2016 15:26, Lars Engels wrote: > > > On Thu, Nov 10, 2016 at 12:32:07PM +0000, tech-lists wrote: > > >> Hello list, > > >> > > >> [originally sent to virtualization@ but got no replies, probably > > >> because, thinking about it, the fact that it's a bhyve image is inci= dental] > > >> > > >> [snipped stuff about bhyve] > > >> > > >> Is there a way of taking an ubuntu VM image that normally runs as a > > >> bhyve guest, mounting it on some mountpoint on the freebsd host and > > >> directly editing the files within it? > > >> > > >> Alternatively, is there a way of making grub boot the image into > > >> single-user-mode like one can with freebsd? > > >> > > > > > > That should work (provided sysutils/fusefs-ext4fuse is installed): > > > > > > # mdconfig -t vnode -f $ubuntu_img > > > # ext4fuse /dev/md0 /mnt > > > > >=20 > > Hi, thanks for looking at this. > >=20 > > Unfortunately it didn't work: > >=20 > > root@host0:/vms/138# mdconfig -t vnode -f ubuntu138.img > > md2 > >=20 > > root@host0:/vms/138# ext4fuse /dev/md2 /mnt > > Partition doesn't contain EXT4 filesystem > >=20 > > root@host0:/vms/138# ls -la /dev/md2* > > crw-r----- 1 root operator 0xb0 Nov 11 14:58 /dev/md2 > > crw-r----- 1 root operator 0xb4 Nov 11 15:06 /dev/md2s1 > > crw-r----- 1 root operator 0xb5 Nov 11 15:06 /dev/md2s2 > > crw-r----- 1 root operator 0xb6 Nov 11 15:06 /dev/md2s5 > >=20 > > root@host0:/vms/138# ext4fuse /dev/md2s1 /mnt > > fuse: failed to open fuse device: No such file or directory >=20 >=20 > That is a different error than the others. I somewhat suspect > that there is an ext partition on md2s1 but something else > prevented the mount from proceeding. Is there anything in > dmesg or /var/log/messages? >=20 > Do you have a /dev/fuse? You need to load the fuse kernel module first # kldload fuse --7hPxVvx9zUFtB5wE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJYKDigXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tkukH+wT6hJp8Cs51k6PXGo5f26nk YQRC3ZNYIxZhc2KMZ2IZc9W0UJMc0zj2oDAFdrZ2pdQgYcmCVUa4PpVht19/mEXR 9fPJYAZioQ5KfB8NBOkmcjxdaOXOFXexT8AAt/XV61Sy/7omzerLXDGXa0AQzqZi 69aRqO4R7lFdEobLbj0v4tIU1+ks1UerU47bBZxcT5tJqRZNY9pKaUphzMzUS1op K7xKfa9IhVzSOLIxEcZZh8dmqrc5K+FcW2E1OYNW6g9fwZFlaDyOFjKmPTODRWlI uQjrtVqpS1qdXILpRHFdvTB22C4YHxkEmnSUgLHJxaaxApAgWoRvZDzQHi8LROU= =6r2m -----END PGP SIGNATURE----- --7hPxVvx9zUFtB5wE-- From owner-freebsd-fs@freebsd.org Sun Nov 13 20:22:41 2016 Return-Path: Delivered-To: freebsd-fs@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 5B74EC3FF68 for ; Sun, 13 Nov 2016 20:22:41 +0000 (UTC) (envelope-from 010001585f5b0e9e-06fea713-b61d-40d0-8bac-b7aa01d6a2e2-000000@amazonses.com) Received: from a8-237.smtp-out.amazonses.com (a8-237.smtp-out.amazonses.com [54.240.8.237]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 253D214DA for ; Sun, 13 Nov 2016 20:22:40 +0000 (UTC) (envelope-from 010001585f5b0e9e-06fea713-b61d-40d0-8bac-b7aa01d6a2e2-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=vnqrkfnvu6csdl6mwgk5t6ix3nnepx57; d=tarsnap.com; t=1479068553; h=To:From:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=VlkCcWhMmZELV/WM//zYLBBEZylDA95LL0df2kEFWQE=; b=XnCmu74jqt9beBvB06lzgTPMdrkXFCPSYvALfnT3EtoZfd3+MSRECAgsPWu7vKg7 XTabdiolAttt+p0fDKAX/2cvJIKAvApNOsRGJYa+DXFO7W4D8IoyznWuLkEohT94r7Z gy7Y9FH36TjRodXgSuX+JBDRmto9PSrw6Q16jBXQ= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1479068553; h=To:From:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=VlkCcWhMmZELV/WM//zYLBBEZylDA95LL0df2kEFWQE=; b=LsdhpBACLB1yiEEabaC2KflQ4NUostD+AclPp9FAR8UM3q1YMf7nh/FVoKyzPDUi zIuKt6iANtHqUct3cqeojJfHgwIVTHM8oCmGy1cWqT9KOcPoqjyT4D56kByEyl39L8b J8L3stYYrsQ8UyzawJWTNjQ6eNXARmgbVCSIvTtM= To: "freebsd-fs@freebsd.org" From: Colin Percival Subject: NFSv4.1 hanging with NFSERR_BADSESSION Message-ID: <010001585f5b0e9e-06fea713-b61d-40d0-8bac-b7aa01d6a2e2-000000@email.amazonses.com> Date: Sun, 13 Nov 2016 20:22:33 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SES-Outgoing: 2016.11.13-54.240.8.237 Feedback-ID: 1.us-east-1.Lv9FVjaNvvR5llaqfLoOVbo2VxOELl7cjN0AOyXnPlk=:AmazonSES X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2016 20:22:41 -0000 Hi all, I'm trying to get FreeBSD to talk nicely to Amazon Elastic File System, which is some flavour of NFSv4.1. (This is what prompted the earlier discussion about umount and UDP RPCs.) The latest problem I've run into is that partway through a buildworld I'll get 32 I/O errors along with 'nfsv4 recover err returned 10052' from the kernel, and thereafter anything touching that NFS mount will get stuck in nfsclseq. (And kernels and filesystems being the wonderful things they are, the processes which get stuck this way are completely uninterruptible.) My guess is that this is a bug along the lines of "there's 32 slots for NFS protocol requests and when an error occurs they're not getting marked as available, resulting in everything piling up waiting for a free slot which will never arrive"... but I don't know NFS or our client code nearly well enough to see where this might be. Any ideas? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid From owner-freebsd-fs@freebsd.org Sun Nov 13 21:00:26 2016 Return-Path: Delivered-To: freebsd-fs@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 9FFC1C40913 for ; Sun, 13 Nov 2016 21:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96C1E1611 for ; Sun, 13 Nov 2016 21:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uADL01n7024834 for ; Sun, 13 Nov 2016 21:00:26 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201611132100.uADL01n7024834@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-fs@FreeBSD.org Subject: Problem reports for freebsd-fs@FreeBSD.org that need special attention Date: Sun, 13 Nov 2016 21:00:26 +0000 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2016 21:00:26 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 203492 | mount_unionfs -o below causes panic Open | 136470 | [nfs] Cannot mount / in read-only, over NFS Open | 139651 | [nfs] mount(8): read-only remount of NFS volume d Open | 140068 | [smbfs] [patch] smbfs does not allow semicolon in Open | 144447 | [zfs] sharenfs fsunshare() & fsshare_main() non f Open | 203419 | solaris assert: (dn->dn_phys->dn_nlevels == 0 && Open | 211491 | System hangs after "Uptime" on reboot with ZFS 7 problems total for which you should take action. From owner-freebsd-fs@freebsd.org Mon Nov 14 13:47:19 2016 Return-Path: Delivered-To: freebsd-fs@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 833BDC3F878 for ; Mon, 14 Nov 2016 13:47:19 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5775D144E for ; Mon, 14 Nov 2016 13:47:18 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id A269A203A9 for ; Mon, 14 Nov 2016 08:47:16 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 14 Nov 2016 08:47:16 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=aXx2KZWW40kF/8j fltFOOvv2THY=; b=kwUDgaJDkXMP+9qpp6dmtX60CHixJbFCdHTCv3Qav9GAIc3 XKveUx38OSQU/4o9oulqnwGMDHsAeXf/qRZTyRXt5rK6to98c7ka7Wi1bsvjxQMW dWTdGFUVOMqEtncdd9uUnquaLtHJBoLiBiv7kKQHv//Iq2dC8RcpEFRChCY0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=aXx2KZWW40kF/8jfltFOOvv2THY=; b=b5deS2dF3jqdo7y6B84Z 1RX9+Ocwgx8PgzId90qLpORbNqOyoh+BKWuLsyxtDvflILmDEU9Tj5MYBPfjhekP 3Ux44vGhYTRsslo0JSLUh54yGPXSoUiicjRgBgoKyilyXaL6vyadzdBUm3JdZXFg CnchoYhz7G/RYLfNTLvW/pc= X-ME-Sender: X-Sasl-enc: qczems4BvnxYtU7SnEUQQCbAhlExaqr/WwuLBL+oga3D 1479131236 Received: from pumpkin.growveg.org (pumpkin.growveg.org [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 3E5187E077 for ; Mon, 14 Nov 2016 08:47:16 -0500 (EST) Subject: Re: mounting an ubuntu 14.04 bhyve image as a filesystem for editing References: <20161110152612.GH68652@e-new.0x20.net> <20161111160909.GA67078@in-addr.com> To: freebsd-fs@freebsd.org From: tech-lists Message-ID: <98b6d319-9e0a-568d-8d78-067b121615fa@zyxst.net> Date: Mon, 14 Nov 2016 13:47:15 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161111160909.GA67078@in-addr.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2016 13:47:19 -0000 On 11/11/2016 16:09, Gary Palmer wrote: Hi Gary, thanks for replying > Do you have a /dev/fuse? I didn't!! but now I have. (I thought installing ext4fuse would have taken care of that but apparently not). > Try: > > file -s /dev/md2s1 > file -s /dev/md2s2 > file -s /dev/md2s5 root@host0:/# file -s /dev/md2 /dev/md2: DOS/MBR boot sector root@host0:/# file -s /dev/md2s1 /dev/md2s1: DOS/MBR boot sector root@host0:/# file -s /dev/md2s2 /dev/md2s2: DOS/MBR boot sector root@host0:/# file -s /dev/md2s5 /dev/md2s5: Linux/i386 swap file (new style), version 1 (4K pages), size 2096639 pages, no label, UUID=1d172599-0625-4906-918f-c62deb4ec497 > > If I understand correctly, the default Ubuntu partitioning is for > partition 1 (s1) to be the boot/root partition, partition 2 to be > an "extended" partition which contains partition 5, the swap partition. > > It's also possible you used LVM and that could hide the paritions inside > other ones. FreeBSD can parse LVM if you load the geom_linux_lvm > kernel module. root@host0:/# ext4fuse /dev/md2 /mnt <-- just in case Partition doesn't contain EXT4 filesystem root@host0:/# ext4fuse /dev/md2s1 /mnt <--WORKS!! but read-only root@host0:/# umount /mnt root@host0:/# ext4fuse /dev/md2s2 /mnt Partition doesn't contain EXT4 filesystem root@host0:/# ext4fuse /dev/md2s5 /mnt Partition doesn't contain EXT4 filesystem Is there a way of mounting an ext4 fs for editing (i.e RW) on freebsd? many thanks, -- J. From owner-freebsd-fs@freebsd.org Mon Nov 14 21:12:34 2016 Return-Path: Delivered-To: freebsd-fs@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 8EAE8C413D6 for ; Mon, 14 Nov 2016 21:12:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E2EE161E for ; Mon, 14 Nov 2016 21:12:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAELCXwH059104 for ; Mon, 14 Nov 2016 21:12:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 214495] [nfs] random birthtime flaps between -1 and 582.-2129133845024 Date: Mon, 14 Nov 2016 21:12:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2016 21:12:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214495 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-fs@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Nov 15 08:52:40 2016 Return-Path: Delivered-To: freebsd-fs@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 1A454C430C3 for ; Tue, 15 Nov 2016 08:52:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 016C31E9C for ; Tue, 15 Nov 2016 08:52:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAF8qdep094389 for ; Tue, 15 Nov 2016 08:52:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 204622] [zfs] [patch] Improve 'zpool labelclear' command Date: Tue, 15 Nov 2016 08:52:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ganael.laplanche@corp.ovh.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2016 08:52:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204622 --- Comment #4 from Ganael LAPLANCHE --- Patch reported upstream at IllumOS gate, see: https://www.illumos.org/issues/7584 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Nov 16 01:04:43 2016 Return-Path: Delivered-To: freebsd-fs@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 61393C446C1 for ; Wed, 16 Nov 2016 01:04:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50E42253 for ; Wed, 16 Nov 2016 01:04:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAG14gUb074923 for ; Wed, 16 Nov 2016 01:04:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 180894] [panic] rm -rf causes kernel panic Date: Wed, 16 Nov 2016 01:04:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: mckusick@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2016 01:04:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D180894 --- Comment #8 from commit-hook@freebsd.org --- A commit references this bug: Author: mckusick Date: Wed Nov 16 01:03:42 UTC 2016 New revision: 308707 URL: https://svnweb.freebsd.org/changeset/base/308707 Log: MFC r307978: Bug 180894 reports that rm -rf on a directory causes kernel panic and reb= oot. Return EINVAL rather than panic for low directory link count. PR: 180894 Changes: _U stable/11/ stable/11/sys/ufs/ufs/ufs_vnops.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Fri Nov 18 14:31:51 2016 Return-Path: Delivered-To: freebsd-fs@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 3DCC4C48C7C for ; Fri, 18 Nov 2016 14:31:51 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 F4011A2 for ; Fri, 18 Nov 2016 14:31:50 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id i145so165573434ywg.2 for ; Fri, 18 Nov 2016 06:31:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=bNo+QNLykdz/wdXr8z4VYr36vdcdBQDdQJwFtspQak0=; b=eQ4OXgaJZQ4gH9VhoZY98a4SkUxP3VCArhR9S9rUZW0t5Z1QK0HdKLPVYVIVGc/xDi 9LtJuyo+J5jkKze+gQ7jgLYHkMnF6cgg9A4uq3+f3aVjgb55otokoPlhDBQrD4FxIcAP 2LeqlPirpWXQ46Kf3G2ahVhhIiigfk3rIzxuH56w6XWhU5k1tpoUzrgysQvR8YnTpHXv K+CDs9eXD9FkJzilBUP6Nm/bxMZLxkJEcd0XgVIaBCq7TpbrLvO9anQjXsPjQeEWclqV JoYLmnU7pgnD4y/1sRIyXBIG4sHdYG+D1g4K/orad1kDWfHnecCwOfg9JsiT5kTazhwo s0Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bNo+QNLykdz/wdXr8z4VYr36vdcdBQDdQJwFtspQak0=; b=aTpa0nP6E44EAjjTwGBXjag3kBJbs6CE6o29+3/kWvwQkHySFOlhd3YW0FsItyuc/1 2esvrA4xQyZj69yonDuV3ggwzcDb/C4OuhxDMVE+cVTx9Rz6xMKxk6YFzKUBwCTL9XnW YNsyTKsWeVI8DZJIqebmRLOaba61b+H3HWKtH1IwB9MGlVRsBHxh4pO1s9nU45Oihuek vZ5mDSILCo+E9XMyV54x+BBPgK9U0ObBQAjQTa0MgO+gsuWM4E0hh8vSmE2DYiqxh7RB fHezKWXjIJgBqpVSNe2NshEdhRNrFNQVJKIkqOu2w7JMqutq3eVFo9jlWdCtrpgOSBLq cCEQ== X-Gm-Message-State: ABUngvdYpZygEXF0d+MixwnhdfM/rYKQv7zcj1JDLqiZY7if9D7hPLmDfxF9L30/iy9LXp6S+lZyrlCut6dnOA== X-Received: by 10.13.194.66 with SMTP id e63mr7358882ywd.133.1479479510123; Fri, 18 Nov 2016 06:31:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.170.131 with HTTP; Fri, 18 Nov 2016 06:31:49 -0800 (PST) From: Kent Kuriyama Date: Fri, 18 Nov 2016 04:31:49 -1000 Message-ID: Subject: ZFS question: "L2ARC is disabled" To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 14:31:51 -0000 I have set up a ZFS pool (zpool0) with both zil and L2ARC. The output of zpool status is: ------------------------------------ zpool status pool: zpool0 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zpool0 ONLINE 0 0 0 da0p2 ONLINE 0 0 0 logs ada0p8 ONLINE 0 0 0 cache ada0p9 ONLINE 0 0 0 errors: No known data errors ---------------------------------- When I run "zfs-stats -v" I get the message "L2ARC is disabled". ARC is healthy. Can someone please tell me what I am doing wrong to prevent L2ARC from being enabled? I am running a qbittorrent on a FreeBSD 11.0p3 system and expected to benefit from L2ARC because of the intense read activity. Both the ZIL and L2ARC are on an SSD partition. Thanks, Kent From owner-freebsd-fs@freebsd.org Sat Nov 19 07:19:19 2016 Return-Path: Delivered-To: freebsd-fs@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 DCDE4C4A13A for ; Sat, 19 Nov 2016 07:19:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBD091636 for ; Sat, 19 Nov 2016 07:19:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAJ7JIPj022513 for ; Sat, 19 Nov 2016 07:19:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 214629] [zfs] [panic] solaris assert: pp != NULL && !pp-valid, file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, line: 430 Date: Sat, 19 Nov 2016 07:19:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 07:19:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214629 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC|freebsd-amd64@FreeBSD.org | Assignee|freebsd-bugs@FreeBSD.org |freebsd-fs@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sat Nov 19 08:13:30 2016 Return-Path: Delivered-To: freebsd-fs@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 D6DDCC4A78F for ; Sat, 19 Nov 2016 08:13:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C5B831423 for ; Sat, 19 Nov 2016 08:13:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAJ8DUji082701 for ; Sat, 19 Nov 2016 08:13:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 214629] [zfs] [panic] solaris assert: pp != NULL && !pp-valid, file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, line: 430 Date: Sat, 19 Nov 2016 08:13:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 08:13:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214629 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: avg Date: Sat Nov 19 08:12:57 UTC 2016 New revision: 308826 URL: https://svnweb.freebsd.org/changeset/base/308826 Log: zfs: fix up after the removal of PG_CACHED pages in r308691 PR: 214629 Reported by: mshirk@daemon-security.com Reviewed by: alc Tested by: Shawn Webb X-MFC with: 308691 Changes: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sat Nov 19 08:19:23 2016 Return-Path: Delivered-To: freebsd-fs@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 B2C3AC4A9ED for ; Sat, 19 Nov 2016 08:19:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A137E1631 for ; Sat, 19 Nov 2016 08:19:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAJ8JMRI090052 for ; Sat, 19 Nov 2016 08:19:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 214629] [zfs] [panic] solaris assert: pp != NULL && !pp-valid, file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, line: 430 Date: Sat, 19 Nov 2016 08:19:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 08:19:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214629 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED CC| |avg@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sat Nov 19 08:19:46 2016 Return-Path: Delivered-To: freebsd-fs@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 B8246C4AA54 for ; Sat, 19 Nov 2016 08:19:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A74C016CD for ; Sat, 19 Nov 2016 08:19:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAJ8JjN3090540 for ; Sat, 19 Nov 2016 08:19:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 214629] [zfs] [panic] solaris assert: pp != NULL && !pp-valid, file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, line: 430 Date: Sat, 19 Nov 2016 08:19:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 08:19:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214629 --- Comment #5 from Andriy Gapon --- (In reply to Alan Cox from comment #2) Done. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sat Nov 19 20:22:31 2016 Return-Path: Delivered-To: freebsd-fs@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 EE74BC4BF87 for ; Sat, 19 Nov 2016 20:22:31 +0000 (UTC) (envelope-from marek.salwerowicz@misal.pl) Received: from mail3.misal.pl (mail3.misal.pl [83.19.131.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7DE7F1383 for ; Sat, 19 Nov 2016 20:22:30 +0000 (UTC) (envelope-from marek.salwerowicz@misal.pl) Received: from localhost (mail3.misal.pl [127.0.0.1]) by mail3.misal.pl (Postfix) with ESMTP id 5FE3E317F for ; Sat, 19 Nov 2016 21:16:14 +0100 (CET) X-Virus-Scanned: amavisd X-Spam-Flag: NO X-Spam-Score: -3 X-Spam-Level: X-Spam-Status: No, score=-3 tagged_above=-9999 required=9 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham autolearn_force=no Authentication-Results: mail3.misal.pl (amavisd-new); dkim=pass (1024-bit key) header.d=misal.pl Received: from mail3.misal.pl ([127.0.0.1]) by localhost (mail3.misal.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id c7yzudMx2tZ6 for ; Sat, 19 Nov 2016 21:15:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 mail3.misal.pl D20323179 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=misal.pl; s=misal.pl; t=1479586559; bh=J2E0we6stjkb5VqRJYQMTzZdUCfEIYXX0QU/qWUqjbY=; h=From:Subject:To:Date:From; b=VDJeIxOCOYnKaWREKjPd1ss8qozdd9SNtqwPpd1QhoIWmBa9JmAQvCfVH1mTPdFxv Bd3h8PUMX6kotO14QUD61qJ9KNwCd2Vo4BiAXTd3I6eSzUsv3tHK5QVH2OtzrCGWOd YrNsd2ZSDMzXk8QXEiH902m4TTmBQZWLc97lPSQg= From: Marek Salwerowicz Subject: zpool raidz2 stopped working after failure of one drive To: "freebsd-fs@freebsd.org" Message-ID: Date: Sat, 19 Nov 2016 21:15:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 20:22:32 -0000 Hi all, I run a following server: - Supermicro 6047R-E1R36L - 96 GB RAM - 1x INTEL CPU E5-2640 v2 @ 2.00GHz - FreeBSD 10.3-RELEASE-p11 Drive for OS: - HW RAID1: 2x KINGSTON SV300S37A120G zpool: - 18x WD RED 4TB @ raidz2 - log: mirrored Intel 730 SSD - cache: single Intel 730 SSD Today after one drive's failure, the whole vdev was removed from the zpool (basically the zpool was down, zpool / zfs commands were not responding): Nov 19 12:19:51 storage2 kernel: (da14:mps0:0:22:0): READ(10). CDB: 28 00 29 e7 b5 79 00 00 10 00 Nov 19 12:19:51 storage2 kernel: (da14:mps0:0:22:0): CAM status: SCSI Status Error Nov 19 12:19:51 storage2 kernel: (da14:mps0:0:22:0): SCSI status: Check Condition Nov 19 12:19:51 storage2 kernel: (da14:mps0:0:22:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error) Nov 19 12:19:51 storage2 kernel: (da14:mps0:0:22:0): Info: 0x29e7b579 Nov 19 12:19:51 storage2 kernel: (da14: Nov 19 12:19:52 storage2 kernel: mps0:0:22:0): Error 5, Unretryable error Nov 19 12:20:03 storage2 kernel: mps0: mpssas_prepare_remove: Sending reset for target ID 22 Nov 19 12:20:03 storage2 kernel: da14 at mps0 bus 0 scbus0 target 22 lun 0 Nov 19 12:20:04 storage2 kernel: da14: s/n WD-WCC131430652 detached Nov 19 12:20:04 storage2 kernel: (da14:mps0:0:22:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00 length 0 SMID 547 terminated ioc 804b scsi 0 st Nov 19 12:20:13 storage2 kernel: ate c xfer 0 Nov 19 12:20:13 storage2 kernel: (da14:mps0:0:22:0): READ(6). CDB: 08 00 02 10 10 00 length 8192 SMID 292 terminated ioc 804b scsi 0 state c xfer 0 Nov 19 12:20:13 storage2 kernel: (da14:mps0:0:22:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00 Nov 19 12:20:13 storage2 kernel: (da14:mps0:0:22:0): READ(16). CDB: 88 00 00 00 00 01 d1 c0 bc 10 00 00 00 10 00 00 length 8192 SMID 248 terminated ioc 804b s(da14:mps0:0:22:0): CAM status: Unconditionally Re-queue Request Nov 19 12:20:13 storage2 kernel: csi 0 state c xfer 0 Nov 19 12:20:13 storage2 kernel: (da14: (da14:mps0:0:22:0): READ(16). CDB: 88 00 00 00 00 01 d1 c0 ba 10 00 00 00 10 00 00 length 8192 SMID 905 terminated ioc 804b smps0:0:csi 0 state c xfer 0 Nov 19 12:20:13 storage2 kernel: 22:mps0: 0): IOCStatus = 0x4b while resetting device 0x18 Nov 19 12:20:13 storage2 kernel: Error 5, Periph was invalidated Nov 19 12:20:13 storage2 kernel: mps0: (da14:mps0:0:22:0): READ(6). CDB: 08 00 02 10 10 00 Nov 19 12:20:13 storage2 kernel: Unfreezing devq for target ID 22 Nov 19 12:20:13 storage2 kernel: (da14:mps0:0:22:0): CAM status: Unconditionally Re-queue Request Nov 19 12:20:13 storage2 kernel: (da14:mps0:0:22:0): Nov 19 12:20:17 storage2 kernel: Error 5, Periph was invalidated Nov 19 12:20:17 storage2 kernel: (da14:mps0:0:22:0): READ(16). CDB: 88 00 00 00 00 01 d1 c0 bc 10 00 00 00 10 00 00 Nov 19 12:20:17 storage2 kernel: (da14:mps0:0:22:0): CAM status: Unconditionally Re-queue Request Nov 19 12:20:17 storage2 kernel: (da14:mps0:0:22:0): Error 5, Periph was invalidated Nov 19 12:20:17 storage2 kernel: (da14:mps0:0:22:0): READ(16). CDB: 88 00 00 00 00 01 d1 c0 ba 10 00 00 00 10 00 00 Nov 19 12:20:17 storage2 kernel: (da14:mps0:0:22:0): CAM status: Unconditionally Re-queue Request Nov 19 12:20:17 storage2 kernel: (da14:mps0:0:22:0): Error 5, Periph was invalidated Nov 19 12:20:17 storage2 kernel: (da14: Nov 19 12:20:17 storage2 devd: Executing 'logger -p kern.notice -t ZFS 'vdev is removed, pool_guid=15598571108475493154 vdev_guid=2747493726448938619'' Nov 19 12:20:17 storage2 ZFS: vdev is removed, pool_guid=15598571108475493154 vdev_guid=2747493726448938619 Nov 19 12:20:17 storage2 kernel: mps0:0:22: Nov 19 12:20:17 storage2 kernel: 0): Periph destroyed There was no other option than hard-rebooting server. SMART value "Raw_Read_Error_Rate " for the failed drive has increased 0 -> 1. I am about to replace it - it still has warranty. I have now disabled the failing drive in zpool and it works fine (of course, in DEGRADED state until I replace the drive) However, I am concerned by the fact that one drive's failure has blocked completely zpool. Is it normal normal behaviour for zpools ? Also, is there already auto hot-spare in ZFS? If I had a hot spare drive in my zpool, would it be automatically replaced? Cheers, Marek