HomeFreeBSD

Wrong error message when removing log device

Description

Wrong error message when removing log device

In the case where the pool is loaded without the crypto
keys necessary to playback the intent log, and log device
removal is attempted, a generic busy message is received.
Change the message to inform the user that the datasets
must be mounted.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Signed-off-by: Paul Zuchowski <pzuchowski@datto.com>
Closes #7518

Details

Provenance
Paul Zuchowski <31706010+PaulZ-98@users.noreply.github.com>Authored on Jun 8 2018, 1:07 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 8 2018, 1:07 AM
Parents
rG174bcd581d54: Fix preemptible warning in aggsum_add()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG2ffd89fcb909: Wrong error message when removing log device (authored by Paul Zuchowski <31706010+PaulZ-98@users.noreply.github.com>).Jun 8 2018, 1:07 AM