OpenSolaris

Printable Version Enter a New Search
Bug ID 6345826
Synopsis must run 'zfs volfini' to 'zfs restore' incremental backup of zvol
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords onnv_triage
Responsible Engineer Matthew Ahrens
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_28
Fixed In snv_28
Release Fixed solaris_nevada(snv_28)
Related Bugs
Submit Date 3-November-2005
Last Update Date 3-December-2005
Description
'zfs restore' of an incremental backup of a zvol will 
fail with "destination in use".  You have to run the 
undocumented 'zfs volfini' to make it work:

#zfs create -V 100m foo/vol
#zfs snapshot foo/vol@a
#zfs backup foo/vol@a | zfs restore -d foo/bar
#zfs snapshot foo/vol@b
#zfs backup -i foo/vol@a foo/vol@b | zfs restore -d foo/bar
cannot restore: destination is in use
#zfs volfini
#zfs backup -i foo/vol@a foo/vol@b | zfs restore -d foo/bar
Work Around
N/A
Comments
N/A