From owner-freebsd-fs@FreeBSD.ORG Sat Dec 27 02:41:38 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 923E2154 for ; Sat, 27 Dec 2014 02:41:38 +0000 (UTC) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (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 2335066AF6 for ; Sat, 27 Dec 2014 02:41:37 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id y19so15378710wgg.0 for ; Fri, 26 Dec 2014 18:41:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KSYXCQ15tvLsUI/Dr2yTnd45644zEhfrzSC5hTBCd0c=; b=lz4f12WvDu43J0jw1oQDCGvbl6pLF85qpdWXQLFO8A8ghOjmwx+BmIhJ1tH1xA/DPh C6Pc6Tmu96YP2lTg01FWNyDthXKwYvNpHIxbseUyXl5n9Bx/Ikc6nNoEFHn0/62FYn5K 6UOKbXy97y8/h4L4l2KbxQhgsgv2GeGnm5TaTSI+gCnVCNJgsXHBtpnBftzo8iII72aj Tm2wwg3JhOcdQAkeiOGS1qWIJFyOkfSarFHkBTa5IW2zRXYmh2rRp1yfYi4Rjtm5VnKd ldJtX7vwqQYJA9hC/aJ0zIOF6ts8t0qVtCPBPRWilLUu1Gp+f3dHasRxHBt8WrsWecgu Z0aQ== X-Gm-Message-State: ALoCoQknrZitoNWnaxGzWaNEh0hUz8m8ahYYSSSAMK2h/lPr/Y14AwdPhqaFlK78FqKtbJWEd3Qe X-Received: by 10.194.174.72 with SMTP id bq8mr84027920wjc.120.1419648090098; Fri, 26 Dec 2014 18:41:30 -0800 (PST) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id hz9sm40642432wjb.17.2014.12.26.18.41.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Dec 2014 18:41:29 -0800 (PST) Message-ID: <549E1C4F.7090400@multiplay.co.uk> Date: Sat, 27 Dec 2014 02:41:19 +0000 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: "James R. Van Artsdalen" Subject: Re: ZFS: FreeBSD 10.1 can't import/mount FreeBSD 9 pool References: <549DF2B1.3030909@jrv.org> <549DF7EB.1080308@multiplay.co.uk> <549E18AB.8060708@jrv.org> In-Reply-To: <549E18AB.8060708@jrv.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org 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: Sat, 27 Dec 2014 02:41:38 -0000 It was introduced by: https://svnweb.freebsd.org/base?view=revision&revision=268473 Tuning of it was added by: https://svnweb.freebsd.org/base?view=revision&revision=274674 Hope this helps. Regards Steve On 27/12/2014 02:25, James R. Van Artsdalen wrote: > Oops - this will break every single one of my archival pools. > > If there is no userland ability to enable backwards compatibility, can > you tell me where it is in the source or about when it was added? > > On 12/26/2014 6:06 PM, Steven Hartland wrote: >> Later versions reserve space for deletions etc, so if your volume is >> too full could fail in this manor. >> >> The fix would be to clear down space so this is no longer an issue. >> >> On 26/12/2014 23:43, James R. Van Artsdalen wrote: >>> FreeBSD bigtex.housenet.jrv 10.1-PRERELEASE FreeBSD 10.1-PRERELEASE #2 >>> r273476M: Thu Oct 23 20:39:40 CDT 2014 >>> james@bigtex.housenet.jrv:/usr/obj/usr/src/sys/GENERIC amd64 >>> >>> A pool created by a FreeBSD 9 system was imported into FreeBSD 10.1 but >>> failed to create the recursive mountpoints as shown below. >>> >>> What's especially interesting is that the free space reported by >>> zpool(1) and zfs(1) are wildly different, even though there are no >>> reservations. >>> >>> Note that I was able to do a zpool upgrade, but that zfs upgrade failed >>> on the children datasets. >>> >>> # zpool import SAS01 >>> cannot mount '/SAS01/t03': failed to create mountpoint >>> cannot mount '/SAS01/t04': failed to create mountpoint >>> cannot mount '/SAS01/t05': failed to create mountpoint >>> cannot mount '/SAS01/t06': failed to create mountpoint >>> cannot mount '/SAS01/t07': failed to create mountpoint >>> cannot mount '/SAS01/t08': failed to create mountpoint >>> cannot mount '/SAS01/t12': failed to create mountpoint >>> cannot mount '/SAS01/t13': failed to create mountpoint >>> # zpool list SAS01 >>> NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH >>> ALTROOT >>> SAS01 43.5T 42.6T 948G - 0% 97% 1.00x ONLINE - >>> # zfs list -p SAS01 >>> NAME USED AVAIL REFER MOUNTPOINT >>> SAS01 33279222543840 0 314496 /SAS01 >>> # zpool get all SAS01 >>> NAME PROPERTY VALUE >>> SOURCE >>> SAS01 size 43.5T - >>> SAS01 capacity 97% - >>> SAS01 altroot - >>> default >>> SAS01 health ONLINE - >>> SAS01 guid 1341452135 >>> default >>> SAS01 version - >>> default >>> SAS01 bootfs - >>> default >>> SAS01 delegation on >>> default >>> SAS01 autoreplace off >>> default >>> SAS01 cachefile - >>> default >>> SAS01 failmode wait >>> default >>> SAS01 listsnapshots off >>> default >>> SAS01 autoexpand off >>> default >>> SAS01 dedupditto 0 >>> default >>> SAS01 dedupratio 1.00x - >>> SAS01 free 948G - >>> SAS01 allocated 42.6T - >>> SAS01 readonly off - >>> SAS01 comment - >>> default >>> SAS01 expandsize - - >>> SAS01 freeing 0 >>> default >>> SAS01 fragmentation 0% - >>> SAS01 leaked 0 >>> default >>> SAS01 feature@async_destroy enabled >>> local >>> SAS01 feature@empty_bpobj active >>> local >>> SAS01 feature@lz4_compress active >>> local >>> SAS01 feature@multi_vdev_crash_dump enabled >>> local >>> SAS01 feature@spacemap_histogram active >>> local >>> SAS01 feature@enabled_txg active >>> local >>> SAS01 feature@hole_birth active >>> local >>> SAS01 feature@extensible_dataset enabled >>> local >>> SAS01 feature@embedded_data active >>> local >>> SAS01 feature@bookmarks enabled >>> local >>> SAS01 feature@filesystem_limits enabled >>> local >>> # zfs get all SAS01 >>> NAME PROPERTY VALUE SOURCE >>> SAS01 type filesystem - >>> SAS01 creation Tue Dec 23 2:51 2014 - >>> SAS01 used 30.3T - >>> SAS01 available 0 - >>> SAS01 referenced 307K - >>> SAS01 compressratio 1.00x - >>> SAS01 mounted yes - >>> SAS01 quota none default >>> SAS01 reservation none default >>> SAS01 recordsize 128K default >>> SAS01 mountpoint /SAS01 default >>> SAS01 sharenfs off default >>> SAS01 checksum on default >>> SAS01 compression off default >>> SAS01 atime on default >>> SAS01 devices on default >>> SAS01 exec on default >>> SAS01 setuid on default >>> SAS01 readonly off default >>> SAS01 jailed off default >>> SAS01 snapdir hidden default >>> SAS01 aclmode discard default >>> SAS01 aclinherit restricted default >>> SAS01 canmount on default >>> SAS01 xattr off temporary >>> SAS01 copies 1 default >>> SAS01 version 5 - >>> SAS01 utf8only off - >>> SAS01 normalization none - >>> SAS01 casesensitivity sensitive - >>> SAS01 vscan off default >>> SAS01 nbmand off default >>> SAS01 sharesmb off default >>> SAS01 refquota none default >>> SAS01 refreservation none default >>> SAS01 primarycache all default >>> SAS01 secondarycache all default >>> SAS01 usedbysnapshots 0 - >>> SAS01 usedbydataset 307K - >>> SAS01 usedbychildren 30.3T - >>> SAS01 usedbyrefreservation 0 - >>> SAS01 logbias latency default >>> SAS01 dedup off default >>> SAS01 mlslabel - >>> SAS01 sync standard default >>> SAS01 refcompressratio 1.00x - >>> SAS01 written 307K - >>> SAS01 logicalused 30.2T - >>> SAS01 logicalreferenced 12K - >>> SAS01 volmode default default >>> SAS01 filesystem_limit none default >>> SAS01 snapshot_limit none default >>> SAS01 filesystem_count none default >>> SAS01 snapshot_count none default >>> SAS01 redundant_metadata all default >>> # zpool status SAS01 >>> pool: SAS01 >>> state: ONLINE >>> scan: scrub repaired 0 in 20h26m with 0 errors on Thu Dec 25 >>> 20:57:34 2014 >>> config: >>> >>> NAME STATE READ WRITE CKSUM >>> SAS01 ONLINE 0 0 0 >>> raidz2-0 ONLINE 0 0 0 >>> da45 ONLINE 0 0 0 >>> da44 ONLINE 0 0 0 >>> da47 ONLINE 0 0 0 >>> da43 ONLINE 0 0 0 >>> da42 ONLINE 0 0 0 >>> da46 ONLINE 0 0 0 >>> da41 ONLINE 0 0 0 >>> da40 ONLINE 0 0 0 >>> >>> errors: No known data errors >>> # zfs upgrade -r SAS01 >>> cannot set property for 'SAS01/t03': out of space >>> cannot set property for 'SAS01/t04': out of space >>> cannot set property for 'SAS01/t05': out of space >>> cannot set property for 'SAS01/t06': out of space >>> cannot set property for 'SAS01/t07': out of space >>> cannot set property for 'SAS01/t08': out of space >>> cannot set property for 'SAS01/t12': out of space >>> cannot set property for 'SAS01/t13': out of space >>> 0 filesystems upgraded >>> 1 filesystems already at this version >>> # >>> _______________________________________________ >>> 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"