OpenSolaris

Printable Version Enter a New Search
Bug ID 6341638
Synopsis incorrect error message when accessing a filesystem that's being restored
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords z-triage
Responsible Engineer Eric Schrock
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_34
Fixed In snv_34
Release Fixed solaris_nevada(snv_34)
Related Bugs
Submit Date 25-October-2005
Last Update Date 27-February-2006
Description
When trying to access a filesystem that's being restored into, 
the kernel will return EBUSY, which is sometimes confused with 
other error cases.  Eg:

# zfs mount -a
cannot mount 'foo/restored/bar': mountpoint '/foo/restored/bar' is busy

We probably need to use a unique errno for this case, and have
userland print a unique message explaining what's going on
and how to fix the situation (via 'zfs rollback') if there isn't 
actually a restore in progress (eg. the machine crashed in the 
middle of a restore).
Work Around
N/A
Comments
N/A