LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   smb mount problems file.tar.gz sharing (https://www.linuxquestions.org/questions/linux-software-2/smb-mount-problems-file-tar-gz-sharing-624421/)

xhimi 02-28-2008 04:07 AM

smb mount problems file.tar.gz sharing
 
Hi.
I have mount my NAS to my redhat 7.3.in this command
#mount -t smb //NAS:IP/public /root/shared

I will create a tar.gz file and in the same comand will split and share in this command:
#tar -czf - /lib | split -b 10m - /root/shared/file.tar.gz.chunk
After that I will put together this chunk files
#cat file.tar.gz.chunk* > file.tar.gz
Now the problem is that when I extract my file.tar.gz it has many error meassages and don't create the folder lib.
#tar xvzf file.tar.gz

Any idea ?

mahmoud 02-29-2008 10:25 AM

hi first why are you breaking them up and combining them again
and why not use tar to combine them back
-A, --catenate, --concatenate
append tar files to an archive

xhimi 03-03-2008 06:31 AM

Quote:

Originally Posted by mahmoud (Post 3073988)
hi first why are you breaking them up and combining them again
and why not use tar to combine them back
-A, --catenate, --concatenate
append tar files to an archive

because I will send 30GB file and my kernel has some limitation in using smb sharing (file < 2 GB).


All times are GMT -5. The time now is 03:18 PM.