Skip to content

Commit

Permalink
Add a pool containing unprocessed deferred destroy operations.
Browse files Browse the repository at this point in the history
The pool contains the "bptree_obj" entry in the MOS object directory.
It's DMU object contains a pair of bptree_entry_phys_t items, one for
each of a pair of destroyed small filesystems.  Although ZoL 0.6.2 was
used to create the pool, it was modified to not process the deferred
destroy list in order to cleanly produce a pool in this state.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1
  • Loading branch information
dweeezil authored and behlendorf committed Feb 21, 2014
1 parent 00b7c28 commit 3331601
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 34 deletions.
85 changes: 51 additions & 34 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,54 @@ compressible data patterns, and using the 'tar --sparse' and 'bzip2 --best'
options. Finally, each new image must be briefly described in this file.


Name | Version | Description
------------- | ------- | ------------------------------------------------
zol-0.6.1 | v5000 | Created with ZoL v0.6.1
| |
| | The pool was created with all default settings and
| | populated with a few hundred files and directories.
| | It includes a snapshot and clone of the filesystem
| | which has been modified from the original. The pool
| | has been scrubbed once and was cleanly exported.
| |
zol-0.6.2 | v5000 | Created with ZoL v0.6.2
| |
| | This pool was created in same way as the zol-0.6.1
| | pool described above.
| |
zol-0.6.2-173 | v5000 | Created with ZoL zfs-0.6.2-173-g881f45c
| |
| | Pools which have been imported with this version of
| | ZoL and scrubbed or resilvered cannot be imported by
| | older versions of ZFS. This was accidentally caused
| | by https://github.com/zfsonlinux/zfs/issues/2094 and
| | this pool was created for future reference. New ZoL
| | versions must be able to import the pool and fix it.
| | It was created the same was as the zol-0.6.1 pool.
| |
zevo-1.1.1 | v28 | Created with ZEVO v1.1.1
| |
| | This pool was created to illustrate differences in
| | the on disk format of a ZEVO pool. In particular,
| | https://github.com/zfsonlinux/zfs/issues/1911
| | describes how neither an "external ACL" (ZNODE_ACL)
| | nor a new-style DACL_ACES SA are created. One of
| | these is required by all other ZFS implementations.

Name | Description
---------------------- | ------------------------------------------------
zol-0.6.1 | Created with ZoL v0.6.1
|
| The pool was created with all default settings and
| populated with a few hundred files and directories.
| It includes a snapshot and clone of the filesystem
| which has been modified from the original. The pool
| has been scrubbed once and was cleanly exported.
|
zol-0.6.2 | Created with ZoL v0.6.2
|
| This pool was created in same way as the zol-0.6.1
| pool described above.
|
zol-0.6.2-173 | Created with ZoL zfs-0.6.2-173-g881f45c
|
| Pools which have been imported with this version of
| ZoL and scrubbed or resilvered cannot be imported by
| older versions of ZFS. This was accidentally caused
| by https://github.com/zfsonlinux/zfs/issues/2094 and
| this pool was created for future reference. New ZoL
| versions must be able to import the pool and fix it.
| It was created the same was as the zol-0.6.1 pool.
|
zevo-1.1.1 | Created with ZEVO v1.1.1
|
| This pool was created to illustrate differences in
| the on disk format of a ZEVO pool. In particular,
| https://github.com/zfsonlinux/zfs/issues/1911
| describes how neither an "external ACL" (ZNODE_ACL)
| nor a new-style DACL_ACES SA are created. One of
| these is required by all other ZFS implementations.
|
bptree_obj-zol-0.6.2 | Created with ZoL v0.6.2
|
| This pool was created to illustrate one of the many
| states in which a valid exported pool may exist.
| It contains the optional "bptree_obj" entry in the
| MOS object directory which points to an object of
| type DMU_OTN_UINT64_METADATA containing a pair of
| bptree_entry_phys_t entries; one for each of a
| pair of filesystems for which a deferred destroy is
| pending. Although ZoL 0.6.2 was used to create this
| pool, it was custom-modified to not process the
| deferred destroy list in order to create this pool
| cleanly. The pool's name is "tank" and it contained
| a pair of filesystemes, "tank/fs1" and "tank/fs2",
| each of which contained a single small file. The
| deferred destroy object and its object's data were
| created by destroying both of these filesystems.
Binary file added bptree_obj-zol-0.6.2.tar.bz2
Binary file not shown.

0 comments on commit 3331601

Please sign in to comment.