From owner-freebsd-current@freebsd.org Tue Apr 10 19:48:40 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E16DCF93E99 for ; Tue, 10 Apr 2018 19:48:39 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) (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 86E4A6B924; Tue, 10 Apr 2018 19:48:39 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from [192.168.200.3] (c-73-216-227-39.hsd1.va.comcast.net [73.216.227.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: gallatin) by duke.cs.duke.edu (Postfix) with ESMTPSA id AA4252700318; Tue, 10 Apr 2018 15:48:38 -0400 (EDT) DMARC-Filter: OpenDMARC Filter v1.3.1 duke.cs.duke.edu AA4252700318 Authentication-Results: duke.cs.duke.edu; dmarc=none header.from=cs.duke.edu DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cs.duke.edu; s=mail0816; t=1523389718; bh=E/3KQF18bKbDI/E8EvjEvf441afuWThs9TMn5fUJUXE=; h=Subject:To:From:Date:From; b=PMXKiD/K44nSsQGh2dQYSiXxKtWYgjwBoMIyY4ebTcKqm2Ln3F/K9Lv3untbk6WBv ZyKI2zyW9/tHGSfkeCFmOWmuCTzgV26SkLbQr2xaiifJFxtdb2rtdxNL+gvUY+xOQy lVJjuZwsCD6mAK0UffvpeAimA1xurOLsTe9JHDlSoc48Pr6Ss5YjNehglI8xwwveE5 XC6E51CDGby/ZXD2txbAUm+CrqhQZBqCHNROXl+chAtQ7pfGuk6cGclzhk8Pfoqi1f k4iBd+CpOEOYClzqbBiZnQAx4xdLHV9HHlo0bVJlEnIrkq5uA8r0rccs1/yd4YcUoU vADJNcnm3ocwQ== Subject: Re: Odd ZFS boot module issue on r332158 To: Andriy Gapon , Allan Jude , freebsd-current@freebsd.org References: <935ad20e-017c-5c34-61b4-9db58788a663@freebsd.org> <5316e5ea-17a2-2f23-3c88-1671f41b5642@cs.duke.edu> <00fd72d0-cb41-eaf7-347e-6f3423bb6008@FreeBSD.org> From: Andrew Gallatin Message-ID: Date: Tue, 10 Apr 2018 15:48:38 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <00fd72d0-cb41-eaf7-347e-6f3423bb6008@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Tue, 10 Apr 2018 19:48:40 -0000 On 04/10/18 11:25, Andriy Gapon wrote: > On 10/04/2018 15:27, Andrew Gallatin wrote: >> Is there something like tools/diag/prtblknos for ZFS? > > zdb. > > It has a manual page, but in the case like this you typically want to run > zdb -d[d*] > Add d-s until you get all the information you want. > > It looks like five d-s is needed to get individual blocks reported. > Thanks for the instructions! How do I interpret this output: <3:45pm>viserion/gallatin:~>ls -li /boot//kernel/vmm.ko 231484 -r-xr-xr-x 1 root wheel 371168 Apr 7 15:05 /boot//kernel/vmm.ko* <3:46pm>viserion/gallatin:src>sudo zdb -ddddd tank/ROOT/12.0-CURRENT-20180407.104009 231484 Dataset tank/ROOT/12.0-CURRENT-20180407.104009 [ZPL], ID 260, cr_txg 16768182, 19.9G, 292309 objects, rootbp DVA[0]=<0:4565c5a5000:1000> DVA[1]=<1:1f1ba52b000:1000> [L0 DMU objset] fletcher4 uncompressed LE contiguous unique double size=800L/800P birth=16821145L/16821145P fill=292309 cksum=f1c0930f9:12c49ea8e701:e036d6305e6ca:79eca698e0476d9 Object lvl iblk dblk dsize lsize %full type 231484 2 128K 128K 392K 384K 100.00 ZFS plain file 168 bonus System attributes dnode flags: USED_BYTES USERUSED_ACCOUNTED dnode maxblkid: 2 path /boot/kernel/vmm.ko uid 0 gid 0 atime Sat Apr 7 17:06:06 2018 mtime Sat Apr 7 15:05:48 2018 ctime Sat Apr 7 15:05:48 2018 crtime Sat Apr 7 14:08:21 2018 gen 16768195 mode 100555 size 371168 parent 229378 links 1 pflags 40800000104 Indirect blocks: 0 L1 1:1f01016c000:1000 20000L/1000P F=3 B=16769122/16769122 0 L0 1:1f00f9e3000:20000 20000L/20000P F=1 B=16769122/16769122 20000 L0 1:1f00fa03000:20000 20000L/20000P F=1 B=16769122/16769122 40000 L0 1:1f00fa23000:20000 20000L/20000P F=1 B=16769122/16769122 segment [0000000000000000, 0000000000060000) size 384K Thanks, Drew