Skip to content
/ pyzdb Public

Home made tools to play with the ondisk data of zfs

License

Notifications You must be signed in to change notification settings

hhding/pyzdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyzdb

Home made tools to play with the ondisk data of zfs.

zdb is a great tool. As Linux does not have a tool like mdb, so I write these small scripts to help play with zfs data.

How to use the scripts

./zdb_label.py --dev ~/workspace/zfs_test/blk* --dump nvlist > nvlist.json
./zdb_label.py --dev ~/workspace/zfs_test/blk* --dump uberblock | tail -n 6
./zdb_vdev.py --ptr 0:1d24000:1000/1000 | ./zdb_obj.py
./zdb_vdev.py --ptr 0:1d24000:1000/1000 | ./zdb_obj.py --obj_id 1

About

Home made tools to play with the ondisk data of zfs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages