November 23, 2014
 
 
RSSRSS feed

The Coda Distributed Filesystem for Linux - page 9

Introduction to Coda

  • October 7, 2002
  • By Bill von Hagen

Disconnecting from a network is easy--you can simply shutdown your machine and unplug it. However, in order to safely disconnect from the network and ensure that any file changes that are currently in your client's cache are synchronized with the server, you should use Coda's cfs disconnect command before disconnecting from the network. You should also hoard any files that you want to be present on your client when you're not connected to the network. A standard example of this is the following:

hoard -f hoardfile
 [ lots of output about each hoarded file]
su
your-root-password
cfs disconnect

You can now work on the file that you've hoarded on your machine without being connected to the network. When you're ready or able to reconnect to the network, plug your system back into the network and execute the cfs reconnect command, as in the following example:

cfs reconnect

This will reconnect your client to its default server and begin the process of integrating your changes into the same files on the Coda server. If no one else has modified those files, the files will be invisibly synchronized. If any conflicts arise, such as if someone else has modified the same files that you did, you can use Coda's repair program to resolve the conflicts.

Sitemap | Contact Us