[Clug-tech] Moving Hardlinked Files Across File System.

Jon me at jonwatson.ca
Tue Apr 17 07:41:58 PDT 2007


Hello All,

I have a RAID NAS that is currently holding 1TB+ of data. The NAS is 
failing and I need to exchange it which necessitates getting the data 
off of it. The data is your typical rsnapshot scenario in which a full 
copy of the most recent data is in a daily.0 directory and data that has 
not changed is hardlinked over a series of daily.01 to daily.30 directories.

I know that hard links cannot survive across files systems so simply 
copying the data to another 1TB RAID we happen to have on hand is not 
going to work. The data will expand to somewhere around 10-15TB and we 
do not have that kind of space anywhere. Therefore, I am looking for 
alternatives.

I have considered dd but it doesn't appear to be able to work with NFS 
mounts - it seems to only want to read from devices.

Does anyone have any bright ideas how I might get my data off this NAS 
and preserve the hard links? I assume we're talking about binary copying 
of some form...

Thanks!

Jon


-- 
Key fingerprint: BDE0 DE52 B8C0 0CDF 7653 E5A2 D861 7877 0D3B 813E
http://www.jonwatson.ca

"Trying to learn to hack on a DOS or Windows machine or under MacOS is
like trying to learn to dance while wearing a body cast" - ESR



More information about the clug-tech mailing list