ZFS Support #3
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
spec
Specification
storage
Storage
Milestone
Probably the first backing file system we want to support.
Spec
State
All calldown datasets shall be under a single base dataset, here denoted by
<base>
<base>/storage
- extract fetched layers here<base>/storage/empty@extracted
- the empty base dataset<base>/storage/<layer_hash>@extracted
- extracted dataset including all sub-datasets<base>/runtime
- clone images here from<base>/storage
and start jails on them<base>/runtime/<container_id>
- root filesystem of a JailOperations
Extract
Extracting an image would basically be something along the lines of the following pseudocode:
Start a Jail
Commit a Jail
After the Jail is stopped, committing
runtime
state creates a newstorage
layer with the current changes.Package
This would be going through all changes between a layer and the layer immediately below it with
zfs diff <base>/storage/<base_layer>@extracted <base>/storage/<layer>@extracted
or similar, and collect the following in a tarball:The text was updated successfully, but these errors were encountered: