Skip to Content

Revision of What about using NFS ? from Sun, 07/01/2007 - 3:05am

The revisions let you track differences between multiple versions of a post.

Pronco's picture

I've got an old and a new linux machine and want to move lots of data from the old one to the new one

both are attached to 100 mbit lan

Is NFS good for such a thingie?

I want to mount the old one through network somehow and move all data I need, preserving permissions.

Any suggestion before accomplish the current procedure

whirlpool's picture

scp


Conceptor's picture

NFS

this idea is perfect for copying data using secure shell ` scp `as copying will be needed for once.

if there a frequent access to the nfs resource ,nfs will help as nfs is something to mount the network resources to your local file system ,but nfs is not secure as SecureShell tools

Diaa Radwan

Pronco's picture

rsync

nfs works, sure, it's been used many years for such things - but perhaps rsync would be better suited to what I want to do, as it makes the destination an exact copy, with identical permissions, timestamps, ownership etc, as the source.

It works between directories on a single machine, or across the network, and it copies only what it needs to copy. With 100 MB Lan it ought to be a perfect solution.

scp would work too

What do you recommend?


I used to be indecisive .. but now I'm not so sure

phaeronix's picture

Depends on what you need

I can see you need a one time copy, scp should fill in. IMHO NFS has problems so you should use SMB mount ( yuck ) or the newer CIFS mount. Anyone has details on the CODA protocol also present in the kernel?

RSYNC is of course an elite way, but you can make it even better:

Use "sshfs" ( either the kernel based one or the fuse based one ), to mount the required directory and then rsync it locally.

I may write a step by step when I have time if you want. Whirlpool maybe you want to fill in?

Pronco's picture

CODA

CODA is a distributed filesystem

CODA is an experimental, research project kind of thing. it grew as a bastardized AFS with disconnection support from a CMU (I think) research lab. it wants a disturbing amount of virtual memory

I just know it's a network protocol and has been in the kernel for some time. I've never seen anyone using it.


I used to be indecisive .. but now I'm not so sure

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | forum