casadm: add new OCF error code to casadm

ocf update
Starting cache on device with existing metadata will require --force or --load
flag to be used.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk 2019-07-08 10:03:05 -04:00
parent e1055fe262
commit 49df43a94b
2 changed files with 7 additions and 1 deletions

View File

@ -132,6 +132,12 @@ struct {
OCF_ERR_NO_METADATA,
"No metadata found on device"
},
{
OCF_ERR_METADATA_FOUND,
"Old metadata found on device.\nPlease load cache metadata using --load"
" option or use --force to\n discard on-disk metadata and"
" start fresh cache instance.\n"
},
/* CAS kernel error mappings*/
{

2
ocf

@ -1 +1 @@
Subproject commit 6c869d97fbf2f3fe862e106317fb1d22914723b6
Subproject commit 999f3f724548cf69bb93b96cd17a5c122c178caf