[Clug-tech] Moving Hardlinked Files Across File System.
Jon
me at jonwatson.ca
Thu Apr 19 14:47:53 PDT 2007
I'm attempting this on Monday.
How to transfer the hardlinked files was only one of the issues. The
other was finding enough space to move the files to. I think my most
recent post about LVM Sanity Check will shed more light on where I'm at.
Once I have a target, I'll let you know how the copy goes :)
J
Gustin Johnson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kinda curious how you made out with this. What solution did you end up
> adopting?
>
> Also, there are a few more options that you can set on rsync. I will
> often use the blowfish algorithm as it seems to impose less overhead for
> bulk transfers.
>
> To modify the original rsync command to synchronize two data directories:
> rsync avuH --progress --rsh="ssh -c blowfish -C" /path/to/local/data/
> user at host:/path/to/remote/data
>
> Cheers,
>
> Gustin Johnson wrote:
>> rsync -avuH --progress /path/to/source/data user at host:/path/to/destination
>>
>> Note that this syntax will create a folder in destination called data.
>> Also the above should be a single line.
>> the -H should preserve hard links.
>>
>> rsync --help
>> man rsync
>> for more info.
>>
>> Cheers,
>>
>> Jon wrote:
>>> 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
>>
>
> _______________________________________________
> clug-tech mailing list
> clug-tech at clug.ca
> http://clug.ca/mailman/listinfo/clug-tech_clug.ca
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGJzTCwRXgH3rKGfMRAhoMAJsEnN8yCScNdobqMRFkxSaYINTngwCfU0rc
> ZY2z0b+ZbhFfo6fAPrF9IV8=
> =20eS
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> clug-tech mailing list
> clug-tech at clug.ca
> http://clug.ca/mailman/listinfo/clug-tech_clug.ca
>
--
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