File size usage copied with SCP larger then source?

Moderator: NorbertKrupa

Post Reply
User avatar
Julie
Master
Master
Posts: 221
Joined: Thu Apr 19, 2012 9:29 pm

File size usage copied with SCP larger then source?

Post by Julie » Thu Nov 28, 2013 6:26 pm

Hi all,

Happy Thanksgiving for those in the USA :D

I have a question about the scp command. I am using it to copy a directory containing my Vertica backups, made via the vbr utility, to another server. I noticed that the disk usage on the destination server is much larger that that of the source.

Source server:
  • [dbadmin@vertica1 verticabackups]$ du -h --summarize
    20G .
Destination server:
  • [dbadmin@verticabk verticabackups]$ du -h --summarize
    73G
Here is the scp command that I am using on the vertica1 server:
  • /usr/bin/scp -rq /home/dbadmin/verticabackups dbadmin@verticabk:/home/dbadmin
Any idea why the destination server file usage size ballooned like that?
Thanks,
Juliette

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: File size usage copied with SCP larger then source?

Post by id10t » Fri Nov 29, 2013 7:19 am

Hi!

[DELETED]
Last edited by id10t on Sat May 09, 2015 3:11 pm, edited 1 time in total.

User avatar
Julie
Master
Master
Posts: 221
Joined: Thu Apr 19, 2012 9:29 pm

Re: File size usage copied with SCP larger then source?

Post by Julie » Mon Dec 02, 2013 2:10 pm

Thanks, sKwa. I read through those posts but could not find an actual solution. Do you have any recommendations? What if I compress the source during transfer and leave it compressed at the destination? Would that handle the hard and soft links issue?
Thanks,
Juliette

Post Reply

Return to “Vertica and the Operating System”