Paul Archer wrote:
> 
> Because it's easier to change what I'm doing than what my DBA does, I
> decided that I would put rsync back in place, but locally. So I changed
> things so that the backups go to a staging FS, and then are rsync'ed
> over to another FS that I take snapshots on. The only problem is that
> the snapshots are still in the 500GB range.
> 
> So, I need to figure out why these snapshots are taking so much more
> room than they were before.
> 
> This, BTW, is the rsync command I'm using (and essentially the same
> command I was using when I was rsync'ing from the NetApp):
> 
> rsync -aPH --inplace --delete /staging/oracle_backup/
> /backups/oracle_backup/

Try adding --no-whole-file to rsync. rsync disables block-by-block
comparison if used locally by default.

--Arne

> 
> 
> 
> This is the old system (rsync'ing from a NetApp and taking snapshots):
> zfs list -t snapshot -r bpool/snapback
> NAME                                       USED  AVAIL  REFER  MOUNTPOINT
> ...
> bpool/snapb...@20100310-182713            53.7G      -   868G  -
> bpool/snapb...@20100312-000318            59.8G      -   860G  -
> bpool/snapb...@20100312-182552            54.0G      -   840G  -
> bpool/snapb...@20100313-184834            71.7G      -   884G  -
> bpool/snapb...@20100314-123024            17.5G      -   832G  -
> bpool/snapb...@20100315-173609            72.6G      -   891G  -
> bpool/snapb...@20100316-165527            24.3G      -   851G  -
> bpool/snapb...@20100317-171304            56.2G      -   884G  -
> bpool/snapb...@20100318-170250            50.9G      -   865G  -
> bpool/snapb...@20100319-181131            53.9G      -   874G  -
> bpool/snapb...@20100320-183617            80.8G      -   902G  -
> ...
> 
> 
> 
> This is from the new system (backing up directly to one volume,
> rsync'ing to and snapshotting another one):
> 
> r...@backup02:~# zfs list -t snapshot -r bpool/backups/oracle_backup
> NAME                                          USED  AVAIL  REFER 
> MOUNTPOINT
> bpool/backups/oracle_bac...@20100411-023130   479G      -   681G  -
> bpool/backups/oracle_bac...@20100411-104428   515G      -   721G  -
> bpool/backups/oracle_bac...@20100412-144700      0      -   734G  -
> 
> 
> Thanks for any help,
> 
> Paul
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to