Re: [zfs-discuss] Count objects/inodes

2007-11-10 Thread Jonathan Edwards
Hey Bill: what's an object here? or do we have a mapping between objects and block pointers? for example a zdb -bb might show: th37 # zdb -bb rz-7 Traversing all blocks to verify nothing leaked ... No leaks (block sum matches space maps exactly) bp count: 47

Re: [zfs-discuss] Count objects/inodes

2007-11-09 Thread Bill Moore
You can just do something like this: # zfs list tank/home/billm NAMEUSED AVAIL REFER MOUNTPOINT tank/home/billm83.9G 5.56T 74.1G /export/home/billm # zdb tank/home/billm Dataset tank/home/billm [ZPL], ID 83, cr_txg 541, 74.1G, 111066 objects