[zfs-discuss] ZFS utility like Filefrag on linux to help analyzing the extents mapping

2011-02-16 Thread Jeff liu
Hello All, I'd like to know if there is an utility like `Filefrag' shipped with e2fsprogs on linux, which is used to fetch the extents mapping info of a file(especially a sparse file) located on ZFS? I am working on efficient sparse file detection and backup through lseek(SEEK_DATA/SEEK_HOLE)

Re: [zfs-discuss] ZFS utility like Filefrag on linux to help analyzing the extents mapping

2011-02-16 Thread Fajar A. Nugraha
On Wed, Feb 16, 2011 at 8:53 PM, Jeff liu jeff@oracle.com wrote: Hello All, I'd like to know if there is an utility like `Filefrag' shipped with e2fsprogs on linux, which is used to fetch the extents mapping info of a file(especially a sparse file) located on ZFS? Something like zdb

Re: [zfs-discuss] ZFS utility like Filefrag on linux to help analyzing the extents mapping

2011-02-16 Thread Jeff liu
Hi Fajar, Thanks for your quick response, just playing it around for a while, it is very useful to me. Have a nice day! -Jeff 在 2011-2-16,下午10:16, Fajar A. Nugraha 写道: On Wed, Feb 16, 2011 at 8:53 PM, Jeff liu jeff@oracle.com wrote: Hello All, I'd like to know if there is an