Project

General

Profile

Actions

Bug #4323

closed

NDMP return the wrong error code in NDMP backup policy

Added by Jan Kryl almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2013-11-13
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

NDMP policy has 3 Backup selection paths (with 2 valid and 1 invalid) Backup started with 1st path which was successful, but for 2 path which was 'invalid' failed with unimplemented error code 114 (NDMP_FILE_NOT_FOUND_ERR).

NOTE: From NDMP specV4, This error code that ndmp implementation on illumos is returning when one of the path is invalid 'NDMP_FILE_NOT_FOUND_ERR' is used only for 'recover' operation. We need to receive 'NDMP_ILLEGAL_ARGS_ERR' instead, then NDMP agent would have continued with the next path and return partial success.

Actions

Also available in: Atom PDF