|
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).
|