1829458 Members
2251 Online
109992 Solutions
New Discussion

TAR problem

 
Mauro_8
Frequent Advisor

TAR problem

Hi,

My linux is conectiva6.0
I??m having problems during a backup using the TAR command. I??m sharing some directories using samba and when I try to backup these directories some files show this message: "File shrank by 144896 bytes; padding with zero /usr/example.doc". Despite of it a can open the file with no problems. Any suggestions to sove it ?

Cheers,
Mauro
2 REPLIES 2
Kodjo Agbenu
Honored Contributor

Re: TAR problem

Hello,

Tar seems not reliable with Samba shares.
For this reason, a specific command is provided with any samba distribution : "smbtar".

I have never used it, but manpages may help you.

Good luck.

Kodjo
Learn and explain...
harry d brown jr
Honored Contributor

Re: TAR problem

Backing up files that are open will cause this issue. To eliminate the issue, either stop samba, or mirror the disks/split them/mount them/backup the "mirrored" copy/remirror them.


live free or die
harry
Live Free or Die