Thanks for the heads up. A few additional pieces of information.
1) Running on FreeBSD 6.4 (FreeNAS) with UFS filesystem
2) Using rsync 3.0.4
3) Your comment about inodes really got me a bit worried as I hadn't
considered it as a possible issue. Here is the information for the
nearly full drive:
Filesystem 1K-blocks Used Avail Capacity iused ifree
%iused Mounted on
/dev/ar0p1 605459514 503472972 53549782 90% 14822774 63440520
19% /mnt/snapshots
Seems I should be OK.
Presently using Helmut's suggested rsync solution. Initially ran into an
out of memory issue (1GB ram, no swap file), but I created a 4GB swap
file and I am trying again. I will post my results to the list.
- Charlie
On 8/16/2011 11:06 AM, Nico Kadel-Garcia wrote:
On Mon, Aug 15, 2011 at 12:56 PM, Charles Steaderman
<charlies < at > poliac.com> wrote:
I am attempting to move an rsnapshot tree to a larger drive. My rsnapshot
tree is made up of 7 daily backups and 191 (so far) weekly backups. daily.0
is ~138GB. rsnapshot-copy output for daily.0 is:
OK, I already predict a few things to look for.
* The initial compy can be done with whatever transfer tool you like.
If you use SELinux, and want to preserve the relevent setings, use
"star".
* "cp -a" is also fabulous for the initial copy on the same machine,
not so good if the transfer is interrupted or needs to be verified. It
does *not* transfer the SELinux settings, so beware of this.
* rsync is fabulous for verifying the final copy, but for such a large
number of hard-linked targets, you really, really want to have a
recent version of rsync. Make sure it's up to date: the rsync-2.6 on
RHEL 5.0, for example, has its performance wildly improved by grabbing
the rsync-3.x one from RHEL 5.6.
* Seriously consider reducing the number of weekly backups, switching
your rotations to provide a "monthly" backup, if feasible. It will
make ordinary recover easier, and the additional inodes for the
directories and changed files of all the weekly snapshots are merly
cheap. They are not free, and I'm slightly concerned that you will run
out of inodes if you do not tune your filesystems appropriately.
Number of files: 1012292
Number of files transferred: 935061
Total file size: 146189280898 bytes
Total transferred file size: 146189280187 bytes
Literal data: 146189280187 bytes
Matched data: 0 bytes
File list size: 21856826
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 146268656671
Total bytes received: 18075021
From reading the mailing list, it seems that rsnapshot-copy is the preferred
solution to move an rsnapshot tree from one drive to another. Unfortunately,
it seems that it will take multiple days to complete making my copy out of
date before rsnapshot-copy is done. Both drives are connected via SATA.
Any suggestions or should I just let the rsnapshot-copy complete and ignore
the fact that the copy is slightly out-of-date?
- Charlie
--
Charlie Steaderman
charlies < at > poliac.com
VP Engineering
Poliac Research Corporation
Phone: 952.707.6245
Cell: 612.242.6364
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss