KLUG Weekly Meeting Notes

Tuesday, June 28, 2005

 

DISTRIBUTED FILE SYSTEM [DFS] & RSYNC

Presented by Dirk Bartley

Watch for the posting of this presentation:
http://kalamazoolinux.org/presentations/history.php?year=2005
ftp://ftp.kalamazoolinux.org/pub/projects/dbartley/

Dirk used the LTSP workstation and the KLUG SVGA projector to display
his slides with OpenOffice.org Impress. He presented two SAMBA file
management implementations. The first was Microsoft’s DFS that allows
file shares on Windows workstations. The second was Rsync that allows
you to back up one machine’s files to another machine.

DFS

Distributed File System (DFS) allows administrators to group shared folders
located on different servers by transparently connecting them to one or more
DFS namespaces. A DFS namespace is a virtual view of shared folders in an
organization. Using the DFS tools, an administrator selects which shared
folders to present in the namespace, designs the hierarchy in which those
folders appear, and determines the names that the shared folders show in
the namespace. When a user views the namespace, the folders appear to
reside on a single, high-capacity hard disk. Users can navigate the folders
in the namespace without needing to know the server names or shared folders
hosting the data. DFS also provides many other benefits, including fault
tolerance and load-sharing capabilities, making it ideal for all types of
organizations.

We heard about the advantages and disadvantages of using DFS. Dirk showed
us how to activate SAMBA and DFS giving configuration settings and BASH
shell scripts to automate the procedure from the Command Line Interface (CLI).


http://info.ccone.at/INFO/Samba/msdfs.html
http://www.microsoft.com/windowsserver2003/technologies/storage/dfs/default.mspx
http://www.microsoft.com/windows2000/techinfo/howitworks/fileandprint/dfsnew.asp

Rsync


rsync is an open source utility that provides fast incremental file transfer.
rsync is freely available under the GNU General Public License version 2.
It allows you to backup files from a Linux box to another Linux box. Using
cygwin you can run Rsync from a Wndows box to archive files to a Linux box.

Dirk showed us how to sync one Linux box to another. Updating only the files
that have changed to protect from data loss. He gave us three suggestions to
avoid problems. #1) Does not copy ACL’s. Create a file with getfacl to recreate
the acl’s if you have problems. #2) Use Logical Volume Management (LVM)
to create a snapshot of what you are backing up. #3) Use ssh transfer method.
a BASH shell script was given that performs these three tasks from the CLI.

Next we saw how to connect a Windows box to a Linux box for file system
archiving using cygwin.. cygwin allows you to run Linux applications on a
Windows box. The opposite of wine, which allows Windows applications to
run on Linux. Dirk gave the BASH shell scripts that accomplishes the tasks
listed below automating the procedures from the CLI.

How to Get Windows Files Synchronizing to Linux:
#1) Install cygwin.
http://www.cygwin.com/ ß more about cygwin here
#2) Get ssh working. [see ssh presntation]
#3) Script your way to Rsync bliss.

http://samba.anu.edu.au/rsync/

(18 Linux Enthusiasts Attending)

Comments:
Enjoyable blog. Pleasse vidit my computer electronics linux blog.
 
Post a Comment

<< Home

Archives

March 2005   April 2005   May 2005   June 2005   July 2005   August 2005   September 2005   October 2005   November 2005   December 2005   January 2006   February 2006   March 2006   April 2006  

This page is powered by Blogger. Isn't yours?