Article ID: 126372, created on Jul 29, 2015, last review on Jul 29, 2015

  • Applies to:
  • Virtuozzo 6.0

Question

While observing the CS state in "pstorage top", the LAST_ERR field contains error number:


      CSID  TIER  COST    ERR   LAST_ERR LAST_LINK_ERR      JRN_FULL  FLAGS
      1193  1     13560   None    13,       4h ago   4, 10h 38m ago  0%    JC
      1194  1     13560   None    13,       4h ago  13,  1d  4h ago  0%    JC

How do I interpret error codes ?

Answer

PCS_ERR_OK                = 0,    /* No error */
PCS_ERR_NOMEM             = 1,    /* Out of memory: malloc failure */
PCS_ERR_PROTOCOL          = 2,    /* Fatal protocol error. Some condition*/
PCS_ERR_AUTH              = 3,    /* Authentication failure due to wrong credentials */
PCS_ERR_NET               = 4,    /* Misc network error */
PCS_ERR_NOSPACE           = 5,    /* ENOSPC/EDQUOT while local file io */
PCS_ERR_IO                = 6,    /* Misc error while local file io */
PCS_ERR_LOST_LOCK         = 7,    /* CN did not get response from MDS for lease update*/

PCS_ERR_NOT_FOUND         = 8,    /* Requested object not found */
PCS_ERR_INTERRUPTED       = 9,    /* The operation was interrupted, should be retried */
PCS_ERR_NET_ABORT         = 10,   /* Message dropped due to abort of network connection */
PCS_ERR_CONNECT_TIMEOUT   = 11,   /* Failed connect() */
PCS_ERR_AUTH_TIMEOUT      = 12,   /* Authentication failure due to timeout */
PCS_ERR_RESPONSE_TIMEOUT  = 13,   /* Peer did not respond or did not hold deadline */
PCS_ERR_WRITE_TIMEOUT     = 14,   /* Socket write() failed, peer is stuck or network is broken*/

PCS_ERR_CANCELLED         = 18,   /* Operation was cancelled by user */

PCS_ERR_LEASE_REQUIRED    = 20,   /* Lease required */
PCS_ERR_LEASE_EXPIRED     = 21,   /* Lease is expired */
PCS_ERR_LEASE_CONFLICT    = 22,   /* Lease request conflicts with another lease */
PCS_ERR_INV_PATH          = 23,   /* The path is invalid.*/
PCS_ERR_NOT_DIR           = 24,   /* Attempt to read non-directory */
PCS_ERR_IS_DIR            = 25,   /* Attempt to access directory (resize/io) */
PCS_ERR_NON_EMPTY_DIR     = 26,   /* Attempt to rename/delete non empty directory */
PCS_ERR_ZERO_CHUNK        = 27,   /* The requested chunk was not written yet and contains zero data */
PCS_ERR_INVALID           = 29,   /* Object is invalid */
PCS_ERR_INV_PARAMS        = 30,   /* Invalid parameters */
PCS_ERR_NO_ID             = 31,   /* Request from the client without ID */
PCS_ERR_INVALID_ID        = 32,   /* The client ID is invalid or banned */
PCS_ERR_NORES             = 33,   /* Not enough resources (too many requests) */
PCS_ERR_UNAVAIL           = 34,   /* Service unavailable */
PCS_ERR_BAD_CLUSTER       = 35,   /* The cluster id specified by client is invalid */

PCS_ERR_TEMP_UNAVAIL      = 40,   /* The resource is temporary unavailable */
PCS_ERR_INTEGRITY         = 41,   /* Not enough alive replicas available */
PCS_ERR_INTEGRITY_FAIL    = 42,   /* Fatal. Returned by MDS to client, when it is known that some unsynced data could be lost.*/

PCS_ERR_NO_STORAGE        = 50,   /* The number of chunk servers in cluster is less than the required number of replicas */
PCS_ERR_NOT_ALLOWED       = 51,   /* Operation is not allowed due to licensing limitations */
PCS_ERR_CFG_VERSION       = 60,   /* Configuration version mismatch */
PCS_ERR_CLNT_VERSION      = 61,   /* Client version is incompatible with sever version (outdated) */
PCS_ERR_EXISTS            = 70,   /* Specified object already exists */
PCS_ERR_EPOCH_MISMATCH    = 72,   /* Object epoch mismatch due to concurrent update */
PCS_ERR_NO_DIR            = 75,   /* Name directory does not exists */
PCS_ERR_DIR_INST_VER      = 76,   /* Name instance version mismatch */
PCS_ERR_CONTEXT_LOST      = 80,   /* Operation context is lost on server restart */
PCS_ERR_NS_LEASE_BUSY     = 81,   /* Lease wasn't acquired due to other active lease */
PCS_ERR_NS_LEASE_INVALID  = 82,   /* Active lease doesn't have reference with id provided in the request */
PCS_ERR_NS_LOCK_EXPIRED   = 83,   /* Lock at object's name NS has already expired */
PCS_ERR_CSD_STALE_MAP     = 100,  /* Old map (or no map) at CS */
PCS_ERR_CSD_RO_MAP        = 101,  /* Write request with read-only map */
PCS_ERR_CSD_WR_IN_PROGR   = 102,  /* Read only map is rejected due to write requests being processed */
PCS_ERR_CSD_REPLICATING   = 103,  /* Attempt to read from unfinished replica */
PCS_ERR_CSD_STALLED_REPL  = 104,  /* Relplication stalled */
PCS_ERR_CSD_LACKING       = 110,  /* Not enough CS servers available */
PCS_ERR_CSD_DROPPED       = 120,  /* The CS server was dropped by administrator */
PCS_ERR_MDS_NOT_MASTER    = 200,  /* The target MDS is not current master */
PCS_ERR_MDS_EXIST         = 201,  /* The MDS with such id already exist in cluster */
PCS_ERR_MDS_RM_TOOMANY    = 202,  /* Removing this MDS will make the cluster unusable */

PCS_ERR_LICENSE_LIMIT     = 300,  /* Operation can't be completed due to license limitations */
PCS_ERR_NO_LICENSE        = 301,  /* No active license */

Search Words

error code

pstorage error codes

LAST_ERR

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF