mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Clarify error message when unable to convert an LV into a snapshot of an LV.
This commit is contained in:
parent
c08c564e21
commit
1fd2dac60b
@ -1,5 +1,6 @@
|
||||
Version 2.02.86 -
|
||||
=================================
|
||||
Clarify error message when unable to convert an LV into a snapshot of an LV.
|
||||
Add and use dev_open_readonly and variations.
|
||||
Do not log a superfluous stack message when the lv is properly processed.
|
||||
Do not issue an error message when unable to remove .cache on read-only fs.
|
||||
|
@ -1391,7 +1391,7 @@ static int lvconvert_snapshot(struct cmd_context *cmd,
|
||||
}
|
||||
|
||||
if (org->status & (LOCKED|PVMOVE|MIRRORED) || lv_is_cow(org)) {
|
||||
log_error("Unable to create a snapshot of a %s LV.",
|
||||
log_error("Unable to convert an LV into a snapshot of a %s LV.",
|
||||
org->status & LOCKED ? "locked" :
|
||||
org->status & PVMOVE ? "pvmove" :
|
||||
org->status & MIRRORED ? "mirrored" :
|
||||
|
Loading…
Reference in New Issue
Block a user