Third experiment, verbose:
- Code: Select all
sudo zfs send -i gjp22@2012-10-11-045627 gjp22@2012-10-11-055627 | zstreamdump -Cv
The result is too large for this forum, so I posted (experiment 03.txt) to
http://www.wuala.com/grahamperrin/public/2012/10/12/a/----
Fourth experiment. From the results zstreamdump, at random, I chose an object – 85 – and ran zdb without verbosity:
- Code: Select all
macbookpro08-centrim:~ gjp22$ sudo zdb gjp22@2012-10-11-045627 85
Configuration for import:
vdev_children: 1
version: 28
pool_guid: 13173756898033222216
name: 'gjp22'
state: 0
vdev_tree:
type: 'root'
id: 0
guid: 13173756898033222216
children[0]:
type: 'disk'
id: 0
guid: 18001602949135038910
whole_disk: 0
metaslab_array: 30
metaslab_shift: 32
ashift: 12
asize: 615668514816
is_log: 0
DTL: 50
create_txg: 4
path: '/dev/dsk/GPTE_71B8BDA2-3EBA-4B91-9E1C-2AE2B1DAAD06'
Dataset gjp22@2012-10-11-045627 [ZPL], ID 4341, cr_txg 1131968, 317G, 4670789 objects
Object lvl iblk dblk dsize lsize %full type
85 2 16K 16K 528K 528K 100.00 ZFS directory
macbookpro08-centrim:~ gjp22$
Adding one and two levels of verbosity made no difference, but a third level
-vvv
revealed that for that snapshot of my home directory, object 85 is a ZFS directory with path
/Library/Preferences
and listed the contents of the directory

----
Fifth and sixth experiments, running zdb for another object (264) that was identified by zstreamdump:
- Code: Select all
macbookpro08-centrim:~ gjp22$ sudo zdb gjp22@2012-10-11-045627 264
Configuration for import:
vdev_children: 1
version: 28
pool_guid: 13173756898033222216
name: 'gjp22'
state: 0
vdev_tree:
type: 'root'
id: 0
guid: 13173756898033222216
children[0]:
type: 'disk'
id: 0
guid: 18001602949135038910
whole_disk: 0
metaslab_array: 30
metaslab_shift: 32
ashift: 12
asize: 615668514816
is_log: 0
DTL: 50
create_txg: 4
path: '/dev/dsk/GPTE_71B8BDA2-3EBA-4B91-9E1C-2AE2B1DAAD06'
Dataset gjp22@2012-10-11-045627 [ZPL], ID 4341, cr_txg 1131968, 317G, 4670789 objects
Object lvl iblk dblk dsize lsize %full type
264 1 16K 512 8K 512 100.00 ZFS directory
macbookpro08-centrim:~ gjp22$
- Code: Select all
macbookpro08-centrim:~ gjp22$ sudo zdb -vvv gjp22@2012-10-11-045627 264
Configuration for import:
vdev_children: 1
version: 28
pool_guid: 13173756898033222216
name: 'gjp22'
state: 0
vdev_tree:
type: 'root'
id: 0
guid: 13173756898033222216
children[0]:
type: 'disk'
id: 0
guid: 18001602949135038910
whole_disk: 0
metaslab_array: 30
metaslab_shift: 32
ashift: 12
asize: 615668514816
is_log: 0
DTL: 50
create_txg: 4
path: '/dev/dsk/GPTE_71B8BDA2-3EBA-4B91-9E1C-2AE2B1DAAD06'
Dataset gjp22@2012-10-11-045627 [ZPL], ID 4341, cr_txg 1131968, 317G, 4670789 objects, rootbp DVA[0]=<0:2114fe7000:1000> DVA[1]=<0:5df5262000:1000> [L0 DMU objset] fletcher4 lzjb LE contiguous unique double size=800L/200P birth=1131962L/1131962P fill=4670789 cksum=1e52590873:93ec5b7a819:193c8ce841993:32264ffe39cc25
Object lvl iblk dblk dsize lsize %full type
264 1 16K 512 8K 512 100.00 ZFS directory
136 bonus System attributes
dnode flags: USED_BYTES USERUSED_ACCOUNTED
dnode maxblkid: 0
path /Library/Application Support/NotificationCenter
uid 19236
gid 0
atime Sat Jul 14 11:17:55 2012
mtime Thu Oct 11 03:57:37 2012
ctime Thu Oct 11 03:57:37 2012
crtime Sat Jul 14 11:17:55 2012
gen 63
mode 40755
size 8
parent 156
links 2
pflags 0
microzap: 512 bytes, 6 entries
D7C795F5-5B38-4A6D-A945-AD161B2B7277.db = 265 (type: Regular File)
E6CD44A7-6B58-4F28-8373-96A2836F1340.db.corrupt = 13682294 (type: Regular File)
342A4B7D-3C10-4DA3-BFA2-8B2201681E53.db = 35310 (type: Regular File)
1E0E5611-AEA9-4DE0-81B6-BDDCD4FDB7C9.db = 35312 (type: Regular File)
1E0E5611-AEA9-4DE0-81B6-BDDCD4FDB7C9.db.corrupt = 35311 (type: Regular File)
E6CD44A7-6B58-4F28-8373-96A2836F1340.db = 13682289 (type: Regular File)
macbookpro08-centrim:~ gjp22$