From owner-freebsd-fs@FreeBSD.ORG Thu Nov 13 23:18:40 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 158076A9 for ; Thu, 13 Nov 2014 23:18:40 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AFFB6EB for ; Thu, 13 Nov 2014 23:18:39 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id l4so12135509lbv.12 for ; Thu, 13 Nov 2014 15:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xF5Et+cNMUyufUOLFvV+3hbRTKuzXDxkfqjSTNMuCrY=; b=gpm16Thu0vRLbobctmXMfPlY6Ha63wdkNYxsXEoEMFsqaucEbA1SkkPnoHtkzVRJPJ EC69Gy89/Vr9094rles4dwVptetduvZP265hCPwB1c0m9E4JtJ0uaHy8OHrTG33lBVku yrKqxdi0Cd3z0ETdkFifdW5Ou4irGGJvcRq7QTVmra4fdG0hdBa9Cu10VOZ1Mmd5FVui rZr0ODoWkiPY3gzF7kyf/h/AyLouqoKP2aw7u4j9fZGwY5qA2Q/Hu2AcS9FWkZry7Qee n5GoABBNKoj31rSBA8EdrXqzDDvONJ/Q2golBb/SFLybsxYo059ePQD8OEdbUbcBPMi8 iqUg== MIME-Version: 1.0 X-Received: by 10.152.20.199 with SMTP id p7mr4995150lae.49.1415920717642; Thu, 13 Nov 2014 15:18:37 -0800 (PST) Received: by 10.114.245.38 with HTTP; Thu, 13 Nov 2014 15:18:37 -0800 (PST) In-Reply-To: <5465129C.7020606@multiplay.co.uk> References: <5465129C.7020606@multiplay.co.uk> Date: Thu, 13 Nov 2014 15:18:37 -0800 Message-ID: Subject: Re: ZFS + xattr -> panic loop From: javocado To: Steven Hartland Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Filesystems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 23:18:40 -0000 Apologies: FreeBSD hostname 8.3-RELEASE FreeBSD 8.3-RELEASE #1: Wed Sep 18 16:59:03 MDT 2013 amd64 On Thu, Nov 13, 2014 at 12:20 PM, Steven Hartland wrote: > Alwas good to include which version of the OS your talking about (uname -a) > > > On 13/11/2014 19:43, javocado wrote: > >> After running an rsync (upload) into my zfs filesystem using the >> --fake-super option (which stores permissions in extended attributes) the >> zfs filesystem has somehow become corrupt. When booting the system it >> panic's upon zfs startup: >> >> panic: solaris assert: VFS_ROOT(vfsp, LK_EXCLUSIVE, &vp) == 0, file: >> /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/ >> common/fs/zfs/zfs_vfsops.c >> , line: 1170 >> cpuid = 12 >> KDB: stack backtrace: >> #0 0xffffffff8034b3ae at kdb_backtrace+0x5e >> #1 0xffffffff803185c7 at panic+0x187 >> #2 0xffffffff80ab8213 at zfs_mount+0x563 >> #3 0xffffffff803a2635 at vfs_donmount+0xdc5 >> #4 0xffffffff803a3133 at nmount+0x63 >> #5 0xffffffff80553284 at amd64_syscall+0x1f4 >> #6 0xffffffff8053bc2c at Xfast_syscall+0xfc >> >> I was able to boot the system by setting the filesystem: >> >> canmount=off >> >> However, I am still unable to mount it manually without causing a similar >> panic. >> >> So, setting the cause of the panic aside for the moment, I just want to >> get >> to the data. I'd like to think I can do that by turning off xattrs and >> mounting it read-only however: >> >> # zfs set xattr=off pool/data >> property 'xattr' not supported on FreeBSD: permission denied >> >> How can I turn that off? >> >> Second or alternately, if I want to just dump the filesystem out excluding >> the extended attributes, so that I have a clean, mountable data set, how >> would I do that? >> >> Thank you! >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >