Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2018 18:25:44 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>, Allan Jude <allanjude@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: Odd ZFS boot module issue on r332158
Message-ID:  <00fd72d0-cb41-eaf7-347e-6f3423bb6008@FreeBSD.org>
In-Reply-To: <5316e5ea-17a2-2f23-3c88-1671f41b5642@cs.duke.edu>
References:  <b772ee51-b27c-6591-c925-b4abd19678e8@cs.duke.edu> <935ad20e-017c-5c34-61b4-9db58788a663@freebsd.org> <5316e5ea-17a2-2f23-3c88-1671f41b5642@cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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*] <ZFS filesystem name> <file's inode number>
Add d-s until you get all the information you want.

It looks like five d-s is needed to get individual blocks reported.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00fd72d0-cb41-eaf7-347e-6f3423bb6008>