|Coda File System User and System Administrators Manual|
|Prev||Chapter 11. Reinitializing Coda Servers after a Disaster||Next|
Reinitializing RVM on the Servers
Use rvmutl and rdsinit to initialize RVM. Unless you are reinitializing in order to change the size of the RVM heap, be sure to use the same sizes that you used previously. See the section called RVM Initialization in Chapter 6 for the details on RVM initialization process.
Recreate the Backed Up Volumes
Use createvol(8) and createvol_rep(8) to create all of the volumes that you backed up in the section called Obtaining Backup Dump Files.
Restore the Backup Clones
First, restore the read only backup of the coda_root volume. You should have created the new coda_root volume in the previous step. This will be automatically be mounted. Next create a directory /coda/tmp/restore and use the volutil restore to restore each of the backup clones to /coda/tmp/restore. See the volutil(8) man page for more details on restoring the volumes.
Mount the Recreated Volumes
Create a directory /coda/tmp/inited and mount all of the volumes that were created earlier into this directory.
Populate the New Volumes
Run the script restorevolumes(8) to restore all of the volumes that were backed up in the section called Obtaining Backup Dump Files.
Unmount the Volumes
Use cfs rmmount to unmount all of the backup volumes in /coda/tmp/restored and the new replicated volumes in /coda/tmp/inited. Then remove these directories. See the man page cfs(8) for more details on unmounting volumes.
Flush Client Caches
You need to flush the client caches as they will not have the correct volume information anymore. Use the cfs flushcache command to do this.
Test the system
After youve flushed the client caches the system is ready to run. Do some testing to make sure Coda is functioning correctly and allow the users back into the system.