OpenAFS
OpenAFS distributed network file system
|
00001 /* 00002 * Copyright 2000, International Business Machines Corporation and others. 00003 * All Rights Reserved. 00004 * 00005 * This software has been released under the terms of the IBM Public 00006 * License. For details, see the LICENSE file in the top-level source 00007 * directory or online at http://www.openafs.org/dl/license10.html 00008 */ 00009 00010 /* 00011 System: VICE-TWO 00012 Module: errors.h 00013 00014 */ 00015 00016 /* 00017 * Vice2 error codes 00018 * 3/20/85 00019 * Note: all of the errors listed here are currently generated by the volume 00020 * package. Other vice error codes, should they be needed, could be included 00021 * here also. 00022 */ 00023 00024 #define VREADONLY EROFS /* Attempt to write a read-only volume */ 00025 00026 /* Special error codes, which may require special handling (other than just 00027 passing them through directly to the end user) are listed below */ 00028 00029 #define VICE_SPECIAL_ERRORS 101 /* Lowest special error code */ 00030 00031 #define VSALVAGE 101 /* Volume needs salvage */ 00032 #define VNOVNODE 102 /* Bad vnode number quoted */ 00033 #define VNOVOL 103 /* Volume not attached, doesn't exist, 00034 * not created or not online */ 00035 #define VVOLEXISTS 104 /* Volume already exists */ 00036 #define VNOSERVICE 105 /* Volume is not in service (i.e. it's 00037 * is out of funds, is obsolete, or somesuch) */ 00038 #define VOFFLINE 106 /* Volume is off line, for the reason 00039 * given in the offline message */ 00040 #define VONLINE 107 /* Volume is already on line */ 00041 #define VDISKFULL 108 /* ENOSPC - Partition is "full", i.e. rougly within 00042 * n% of full */ 00043 #define VOVERQUOTA 109 /* EDQUOT - Volume max quota exceeded */ 00044 #define VBUSY 110 /* Volume temporarily unavailable; try again. 00045 * The volume should be available again shortly; if 00046 * it isn't something is wrong. Not normally to be 00047 * propagated to the application level */ 00048 #define VMOVED 111 /* Volume has moved to another server; do a VGetVolumeInfo 00049 * to THIS server to find out where */ 00050 00051 #define VRESTARTING -100 /* server is restarting, otherwise similar to 00052 * VBUSY above. This is negative so that old 00053 * cache managers treat it as "server is down" */