How do I create large tar files and put them on my NAS space or share them between machines?

Samba mounted filesystems currently have a 2GB limit for filesize(because of the driver in the kernel).

Having
said this, the best way to share larger files, is to split the archive
into smaller segments.  This can be done with the split command.  For reference, here is the command in use, in relation to cpanel backups:

#!/bin/bash

bdir=/nas/backup
tdir=/backup/cpbackup
pushd $bdir
sleep 5
pushd $tdir
tar -czvf - weekly/ | split -b 300m - /nas/backup/weekly-backup/weekly-backup-`date +%Y%m%d`.
popd
/usr/sbin/tmpwatch 504 /nas/backup/weekly-backup
popd
echo -e “rbackup completed.r”

Obviously,
we do not recommend using this script on your server, without
modification.  However, it does show you how you can split a large
file, into chunks that can be shared over SMB.  This particular
script will split the files into names such as
weekly-backup-20051110-aa. 

Your rating: None