1#define	RDC_EEPERM 0x40001 /* Must be super-user to execute */
2#define	RDC_EEINVAL 0x1040002 /* Invalid flag %s */
3#define	RDC_EALREADY 0x2040003 /* %s ==> %s not already enabled */
4#define	RDC_EDISABLEPENDING 0x2040004 /* Disable pending on %s ==> %s, try again later */
5#define	RDC_EENABLEPENDING 0x2040005 /* Enable pending on %s ==> %s, try again later */
6#define	RDC_EOPNSECSRC 0x2040006 /* Host %s: Source %s, open remote host failed */
7#define	RDC_EOPNPRISRC 0x2040007 /* Host %s: Source %s, open failed */
8#define	RDC_EOPNSECTGT 0x2040008 /* Host %s: Target %s, open remote host failed */
9#define	RDC_EOPNPRITGT 0x2040009 /* Host %s: Target %s, open failed */
10#define	RDC_ENOLOCHOST 0x404000a /* Disks %s,%s do not reside on host %s or host %s */
11#define	RDC_ENOTREMOTE 0x304000b /* Master %s and Slave %s have same id %s */
12#define	RDC_EMASTERNOTLOCAL 0x204000c /* Master %s does not reside on this host: %s */
13#define	RDC_EYOUNGER 0x204000d /* %s is failed from  %s..cannot proceed */
14#define	RDC_ENODISABLE 0x4000e /* Currently syncing, unable to disable */
15#define	RDC_ECONN 0x104000f /* Unable to connect to %s: local disable complete, remote disable aborted */
16#define	RDC_EFLUSH 0x2040010 /* Will disable when ATM queue flushes on %s ==> %s */
17#define	RDC_ESYNCING 0x1040011 /* Request not serviced, %s is currently being synced. */
18#define	RDC_EINITREMOTE 0x2040012 /* Could not initialize remote data structures on %s ==> %s set */
19#define	RDC_EINITLOCAL 0x2040013 /* Could not initialize local data structures on %s ==> %s set */
20#define	RDC_ENOSLAVE 0x1040014 /* Target %s is failed, cannot set up for sync operation */
21#define	RDC_ESIZE 0x6040015 /* Size of Primary %s:%s(%s) must be less than or equal to size of Secondary %s:%s(%s) */
22#define	RDC_ESIZCHG 0x40016 /* Device size change in dual copy set */
23#define	RDC_ENOBMAP 0x40017 /* Recovery bitmaps not allocated */
24#define	RDC_EINITAFTERSYNC 0x2040018 /* Could not initialize data structures on %s ==> %s set after sync */
25#define	RDC_EFAIL 0x1040019 /* Dual copy failed, offset:%s */
26#define	RDC_EMIRRORDOWN 0x4001a /* Mirror node is down */
27#define	RDC_EGETSIZE 0x304001b /* %s:%s has invalid size (%s)..cannot proceed */
28#define	RDC_EUPDATE 0x404001c /* Update sync %s:%s ==> %s:%s only allowed for an rdc device set */
29#define	RDC_EEQUAL 0x204001d /* Illegal device set %s:%s to itself */
30#define	RDC_EMATCH 0x204001e /* Device %s:%s belongs to another RDC device set */
31#define	RDC_EMASTER 0x404001f /* Changing the primary SNDR device %s:%s to become secondary and the secondary SNDR device %s:%s to become primary is not allowed in advanced configs */
32#define	RDC_ECONNOPEN 0x2040020 /* Could not open file %s:%s on remote node */
33#define	RDC_ENOPROC 0x40021 /* Could not create rdc_config process */
34#define	RDC_EBITMAP 0x1040022 /* Allocation of bitmap device %s failed */
35#define	RDC_EMIRRORUP 0x40023 /* Change request denied, volume mirror is up */
36#define	RDC_EVERSION 0x40024 /* Change request denied, don't understand request version */
37#define	RDC_EEMPTY 0x40025 /* Empty string */
38#define	RDC_EENABLED 0x4040026 /* %s:%s ==> %s:%s is already enabled */
39#define	RDC_EOPEN 0x2040027 /* Unable to open %s:%s */
40#define	RDC_EADDTOIF 0x2040028 /* Unable to add interface %s to %s */
41#define	RDC_EREGISTER 0x1040029 /* Unable to register %s */
42#define	RDC_ENOTPRIMARY 0x404002a /* Not primary, cannot sync %s:%s and %s:%s */
43#define	RDC_ERSYNCNEEDED 0x404002b /* Reverse sync needed, cannot sync %s:%s ==> %s:%s */
44#define	RDC_ENOTHREADS 0x4002c /* Unable to initialize the kernel thread set */
45#define	RDC_ENETCONFIG 0x4002d /* NULL struct knetconfig passed down from user program */
46#define	RDC_ENETBUF 0x104002e /* NULL struct netbuf passed down from user program for %s */
47#define	RDC_ESTATE 0x404002f /* The state of %s:%s ==> %s:%s prevents this operation */
48#define	RDC_EMANY2ONE 0x4040030 /* Cannot enable %s:%s ==> %s:%s, secondary in use in another set */
49#define	RDC_ERSTATE 0x4040031 /* The remote state of %s:%s ==> %s:%s prevents this operation */
50#define	RDC_EBMPINUSE 0x1040032 /* The bitmap %s is already in use */
51#define	RDC_EVOLINUSE 0x1040033 /* The volume %s is already in use */
52#define	RDC_EMULTI 0x40034 /* Cannot use direct I/O on first leg of multi hop config */
53#define	RDC_EGROUP 0x5040035 /* Cannot add %s:%s ==> %s:%s to group %s */
54#define	RDC_EGROUPMODE 0x40036 /* Cannot reconfigure sync/async on members of a group */
55#define	RDC_ENOTLOGGING 0x4040037 /* Cannot reconfig %s:%s to %s:%s, Must be in logging mode */
56#define	RDC_EBMPRECONFIG 0x2040038 /* Bitmap reconfig failed %s:%s */
57#define	RDC_EBMAPLOGGING 0x2040039 /* Cannot overwrite bitmap as the set %s:%s is not in logging mode */
58#define	RDC_EQDISABLEPEND 0x104003a /* Disable pending on diskq %s, try again later */
59#define	RDC_EQNOTLOGGING 0x104003b /* Cannot change disk queue %s, all associated sets must be in logging mode */
60#define	RDC_EQALREADY 0x404003c /* %s:%s ==> %s:%s already has a disk queue attached */
61#define	RDC_EQNOQUEUE 0x404003d /* Disk queue does not exist for set %s:%s ==> %s:%s */
62#define	RDC_EQFLUSHING 0x104003e /* Operation not possible. Disk queue %s is flushing, try again later */
63#define	RDC_EQWRONGMODE 0x4003f /* Disk queue operations on synchronous sets not allowed */
64#define	RDC_EDISKQINUSE 0x1040040 /* Disk queue %s is already in use */
65#define	RDC_EQNOADD 0x1040041 /* Unable to enable disk queue %s */
66#define	RDC_EQINITFAIL 0x1040042 /* Initialization of disk queue %s failed */
67#define	RDC_EQNOTEMPTY 0x1040043 /* Operation not possible, disk queue %s is not empty. */
68#define	RDC_EQUEISREP 0x1040044 /* Disk queue %s operation not possible, set is in replicating mode */
69#define	RDC_EQNORSYNC 0x4040045 /* Cannot reverse sync %s:%s <== %s:%s, set is in queuing mode */
70#define	RDC_ESETNOTLOGGING 0x2040046 /* can not start sync as set %s:%s is not logging */
71#define	RDC_EBITMAP2SMALL 0x1040047 /* Allocation of bitmap device %s failed, volume is too small */
72