2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
19 * Note: all of the errors listed here are currently generated by the volume
20 * package. Other vice error codes, should they be needed, could be included
24 #define VREADONLY EROFS /* Attempt to write a read-only volume */
26 /* Special error codes, which may require special handling (other than just
27 passing them through directly to the end user) are listed below */
29 #define VICE_SPECIAL_ERRORS 101 /* Lowest special error code */
31 #define VSALVAGE 101 /* Volume needs salvage */
32 #define VNOVNODE 102 /* Bad vnode number quoted */
33 #define VNOVOL 103 /* Volume not attached, doesn't exist,
34 * not created or not online */
35 #define VVOLEXISTS 104 /* Volume already exists */
36 #define VNOSERVICE 105 /* Volume is not in service (i.e. it's
37 * is out of funds, is obsolete, or somesuch). This
38 * error code is no longer used, but was previously
39 * used by the OpenAFS fileserver to kill "idle" calls,
40 * and OpenAFS clients may interpret it that way. */
41 #define VOFFLINE 106 /* Volume is off line, for the reason
42 * given in the offline message */
43 #define VONLINE 107 /* Volume is already on line */
44 #define VDISKFULL 108 /* ENOSPC - Partition is "full", i.e. rougly within
46 #define VOVERQUOTA 109 /* EDQUOT - Volume max quota exceeded */
47 #define VBUSY 110 /* Volume temporarily unavailable; try again.
48 * The volume should be available again shortly; if
49 * it isn't something is wrong. Not normally to be
50 * propagated to the application level */
51 #define VMOVED 111 /* Volume has moved to another server; do a VGetVolumeInfo
52 * to THIS server to find out where */
54 #define VRESTARTING -100 /* server is restarting, otherwise similar to
55 * VBUSY above. This is negative so that old
56 * cache managers treat it as "server is down" */