Coda File System

Re: Fw: creating rep_volumes without success

From: Mohamed Alwakeel <mohamed.alwakeel_at_365corp.com>
Date: Thu, 7 Mar 2002 17:26:32 -0000
o.k. VRList.new already exists and so does the directory, now I get a
different error, here it is with and without sh -x debug:-
Also below that is SrvLog dump

[root_at_mezzo1 db]# rm VRList.new
rm: remove `VRList.new'? y
[root_at_mezzo1 db]# createvol_rep codaroot2 E0000104
V_BindToServer: binding to host mezzo1
Servers are ()
Specify 1 - 8 servers
[root_at_mezzo1 db]# sh -x createvol_rep codaroot2 E0000104
+
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6
/bin:/root/bin:/usr/local/sbin
+ export PATH
+ prefix=/usr/local
+ vicedir=
++ codaconfedit server.conf
+ . /usr/local/etc/coda/server.conf
++ numservers=1
++ vicedir=/vice
++ rvm_log=/vice/logpart
++ rvm_data=/vice/datapart
++ rvm_data_length=46137344
++ rvmtruncate=5
++ trace=100
+ '[' x/vice = x ']'
+ '[' '!' -f /vice/hostname -o '!' -f /vice/db/scm ']'
++ cat /vice/hostname
++ cat /vice/db/scm
+ '[' mezzo1 '!=' mezzo1 ']'
+ '[' 2 -lt 2 -o 2 -gt 4 ']'
+ SERVERS=
+ NSERVERS=0
+ MAXSERVERS=8
+ VOLNAME=codaroot2
+ VSGADDR=E0000104
+ PARTITION=
+ '[' '!' -f /vice/db/VRList -a -f /vice/vol/VRList ']'
+ touch /vice/db/VRList
+ '[' '!' -f /vice/vol/BigVolumeList ']'
++ awk ' $1 ~ /^[WRB]codaroot2$/  {print $1}' /vice/vol/BigVolumeList
+ '[' xcodaroot2 = x ']'
++ awk ' $1 ~ /^[WRB]codaroot2\.[0-7]$/  {print $1}'
/vice/vol/BigVolumeList
+ '[' xcodaroot2 = x ']'
++ cat /vice/db/scm
+ volutil -h mezzo1 dumpvrdb /vice/db/VRList.new
V_BindToServer: binding to host mezzo1
VolDumpVRDB failed with Unknown RPC2 return code 200
+ '[' 255 -ne 0 ']'
+ echo 'Failed to dump the current VRDB into /vice/db/VRList.new'
Failed to dump the current VRDB into /vice/db/VRList.new
+ exit 1
[root_at_mezzo1 db]#


SrvLog::-

13:55:23 New SrvLog started at Thu Mar  7 13:55:23 2002

13:55:23 Resource limit on data size are set to -1

13:55:23 RvmType is Rvm
13:55:23 Main process doing a LWP_Init()
13:55:23 Main thread just did a RVM_SET_THREAD_DATA

13:55:23 Setting Rvm Truncate threshhold to 5.

Partition /vicepa: inodes in use: 0, total: 1048576.
13:55:23 Partition /vicepa: 1050576K available (minfree=5%), 781372K free.
13:55:23 The server (pid 27558) can be controlled using volutil commands
13:55:23 "volutil -help" will give you a list of these commands
13:55:23 If desperate,
  "kill -SIGWINCH 27558" will increase debugging level
13:55:23  "kill -SIGUSR2 27558" will set debugging level to zero
13:55:23  "kill -9 27558" will kill a runaway server
13:55:23 VCheckVLDB:  could not open VLDB
13:55:23 VInitVolPackage: no VLDB! Please create a new one.
13:55:23 Vice file system salvager, version 3.0.
13:55:23 SanityCheckFreeLists: Checking RVM Vnode Free lists.
13:55:23 DestroyBadVolumes: Checking for destroyed volumes.
13:55:23 Salvaging file system partition /vicepa
13:55:23 Force salvage of all volumes on this partition
13:55:23 Scanning inodes in directory /vicepa...
13:55:23 SalvageFileSys completed on /vicepa
13:55:23 Attached 0 volumes; 0 volumes not attached
13:55:23 CheckVRDB: could not open VRDB
lqman: Creating LockQueue Manager.....LockQueue Manager starting .....
13:55:23 LockQueue Manager just did a rvmlib_set_thread_data()

done
13:55:23 CallBackCheckLWP just did a rvmlib_set_thread_data()

13:55:23 CheckLWP just did a rvmlib_set_thread_data()

13:55:23 ServerLWP 0 just did a rvmlib_set_thread_data()

13:55:23 ServerLWP 1 just did a rvmlib_set_thread_data()

13:55:23 ServerLWP 2 just did a rvmlib_set_thread_data()

13:55:23 ServerLWP 3 just did a rvmlib_set_thread_data()

13:55:23 ServerLWP 4 just did a rvmlib_set_thread_data()

13:55:23 ServerLWP 5 just did a rvmlib_set_thread_data()

13:55:23 ResLWP-0 just did a rvmlib_set_thread_data()

13:55:23 ResLWP-1 just did a rvmlib_set_thread_data()

13:55:23 VolUtilLWP 0 just did a rvmlib_set_thread_data()

13:55:23 VolUtilLWP 1 just did a rvmlib_set_thread_data()

13:55:23 Starting SmonDaemon timer
13:55:23 File Server started Thu Mar  7 13:55:23 2002

13:55:38 Creating new log for root vnode

13:55:38 VAttachVolumeById: vol 2000001 (codaroot1.0) attached and online
13:55:38 create: volume 2000001 (codaroot1.0) created
13:55:38 S_VolSetLogParms: res flag on volume 0x2000001 set to 0 (resolution
disabled)
13:55:38 S_VolSetLogParms: volume 2000001 log parms set
VLDB created.  Search lengths: RO 0, RW 0, BK 0.
13:55:38 VRDB created, 1 entries
13:55:48 New Data Base received
13:56:22 client_GetVenusId: got new host 10.0.2.152:32783
13:56:22 Building callback conn.
13:56:22 No idle WriteBack conns, building new one
13:56:22 Writeback message to 10.0.2.152 port 32783 on conn 238d0feb
succeeded
13:56:22 RevokeWBPermit on conn 238d0feb returned 0
13:56:29 Building callback conn.
13:56:29 RevokeWBPermit on conn 238d0feb returned -2016
13:56:29 No idle WriteBack conns, building new one
13:56:29 Writeback message to 10.0.2.152 port 32783 on conn 2fc70eb7
succeeded
13:56:54 Building callback conn.
13:56:54 RevokeWBPermit on conn 2fc70eb7 returned -2016
13:56:54 No idle WriteBack conns, building new one
13:56:54 Writeback message to 10.0.2.152 port 32783 on conn 37084a5c
succeeded
13:57:16 Building callback conn.
13:57:16 RevokeWBPermit on conn 37084a5c returned -2016
13:57:16 No idle WriteBack conns, building new one
13:57:16 Writeback message to 10.0.2.152 port 32783 on conn 24af6cf4
succeeded
13:57:16 RevokeWBPermit on conn 24af6cf4 returned 0
13:58:24 Worker3: Unbinding RPC connection 853004263
13:58:24 Worker4: Unbinding RPC connection 63449347
13:58:37 RevokeWBPermit on conn 24af6cf4 returned 0
13:58:37 VAllocFid: volume disk uniquifier being extended
13:58:37 Caution, replicated volume 0x2000001, resolution is turned off.

14:11:05 VLDB_Lookup: no more records in VLDB
14:11:05 Vol-Info: VGetVolume returned error 103 for a
14:11:05 SVolInfo failed with 103
14:11:13 VLDB_Lookup: no more records in VLDB
14:11:13 Vol-Info: VGetVolume returned error 103 for e0000100
14:11:13 SVolInfo failed with 103
14:22:27 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
14:22:32 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
14:22:49 New Data Base received
14:26:38 RevokeWBPermit on conn 24af6cf4 returned 0
14:27:51 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
14:27:56 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
14:27:58 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
14:27:59 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
14:28:19 New Data Base received
14:43:55 GrowVnodes: growing Small list from 256 to 512 for volume 0x2000001
14:43:55 Caution, replicated volume 0x2000001, resolution is turned off.

14:44:01 VLDB_Lookup: no more records in VLDB
14:44:01 VLDB_Lookup: no more records in VLDB
14:44:03 VLDB_Lookup: no more records in VLDB
14:44:03 VLDB_Lookup: no more records in VLDB
14:44:03 VLDB_Lookup: no more records in VLDB
14:44:05 VLDB_Lookup: no more records in VLDB
14:44:05 VLDB_Lookup: no more records in VLDB
14:44:10 VLDB_Lookup: no more records in VLDB
14:44:10 VLDB_Lookup: no more records in VLDB
14:46:48 VLDB_Lookup: no more records in VLDB
14:46:48 VLDB_Lookup: no more records in VLDB
14:47:00 VLDB_Lookup: no more records in VLDB
14:47:00 VLDB_Lookup: no more records in VLDB
14:48:18 VLDB_Lookup: no more records in VLDB
14:48:18 VLDB_Lookup: no more records in VLDB
14:48:19 VLDB_Lookup: no more records in VLDB
14:48:19 VLDB_Lookup: no more records in VLDB
14:49:06 VLDB_Lookup: no more records in VLDB
14:49:06 VLDB_Lookup: no more records in VLDB
14:55:36 SmonDaemon timer expired
14:55:36 Entered CheckRVMResStat
14:55:36 Starting SmonDaemon timer
15:18:07 VLDB_Lookup: no more records in VLDB
15:18:07 VLDB_Lookup: no more records in VLDB
15:18:12 VLDB_Lookup: no more records in VLDB
15:18:12 VLDB_Lookup: no more records in VLDB
15:23:32 VLDB_Lookup: no more records in VLDB
15:23:32 VLDB_Lookup: no more records in VLDB
15:31:39 VLDB_Lookup: no more records in VLDB
15:31:39 VLDB_Lookup: no more records in VLDB
15:32:08 VLDB_Lookup: no more records in VLDB
15:32:08 VLDB_Lookup: no more records in VLDB
15:32:11 VLDB_Lookup: no more records in VLDB
15:32:11 VLDB_Lookup: no more records in VLDB
15:32:11 VLDB_Lookup: no more records in VLDB
15:32:12 VLDB_Lookup: no more records in VLDB
15:32:12 Caution, replicated volume 0x2000001, resolution is turned off.

15:35:21 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
15:35:28 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
15:35:49 New Data Base received
15:40:07 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
15:40:12 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
15:40:19 New Data Base received
15:41:27 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
15:41:33 S_VolDumpVRDB: unable to open file /vice/db/VRList.new
15:41:50 New Data Base received
15:55:36 SmonDaemon timer expired
15:55:36 Entered CheckRVMResStat
15:55:36 Starting SmonDaemon timer
16:56:01 SmonDaemon timer expired
16:56:01 Entered CheckRVMResStat
16:56:01 Starting SmonDaemon timer

Thanks

----- Original Message -----
From: "Jan Harkes" <jaharkes_at_cs.cmu.edu>
To: <codalist_at_coda.cs.cmu.edu>
Cc: "Mohamed Alwakeel" <mohamed.alwakeel_at_365corp.com>
Sent: Thursday, March 07, 2002 5:15 PM
Subject: Re: Fw: creating rep_volumes without success


> On Thu, Mar 07, 2002 at 03:43:40PM -0000, Mohamed Alwakeel wrote:
> > + volutil -h mezzo1 dumpvrdb /vice/db/VRList.new
> > V_BindToServer: binding to host mezzo1
> > VolDumpVRDB failed with Unknown RPC2 return code 200
> > + '[' 255 -ne 0 ']'
> > + echo 'Failed to dump the current VRDB into /vice/db/VRList.new'
> > Failed to dump the current VRDB into /vice/db/VRList.new
> > + exit 1
>
> One clear place where the server would be returning VFAIL (errorcode
> 200), it if it is unable to create the /vice/db/VRList.new file.
>
> Check whether the directory exists, and the file doesn't exist.
>
> Jan
Received on 2002-03-07 12:27:12