Strange tar problem
I am trying to backup some files to tape using tar -cpf /dev/nsa0 /backup. Once everything is done, I use tar -tv to show me the details of the files on the tape. Here is what I get: drwxr-xr-x root/wheel0 Sep 29 11:27 2002 vnt/vnt21.nj2/ -rw-r--r-- root/wheel -747272192 Sep 29 15:59 2002 vnt/vnt21.nj2/vnt20.nj2-08282002_Full.tar.gz drwxr-xr-x root/wheel 0 Sep 29 16:27 2002 vnt/vnt22.nj2/ -rw-r--r-- root/wheel 692824064 Sep 29 21:23 2002 vnt/vnt22.nj2/vnt22.nj2-09252002_Full.tar.gz Now, if I do an ls -la /backup/vnt/vnt22.nj2/vnt22.nj2-09252002_Full.tar.gz I get this: -rw-r--r-- 1 root wheel 4987791360 Sep 29 21:23 /backup/vnt/vnt22.nj2/vnt22.nj2-09252002_Full.tar.gz As you can see I am getting some pretty strange results from tar. Can someone please explain why tar is showing a negitive number for one file and only 690M for the other? These are only two examples of many files that this is happening to. -CM To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Strange tar problem
In the last episode (Oct 08), Chad Morland said: I am trying to backup some files to tape using tar -cpf /dev/nsa0 /backup. Once everything is done, I use tar -tv to show me the details of the files on the tape. Here is what I get: drwxr-xr-x root/wheel0 Sep 29 11:27 2002 vnt/vnt21.nj2/ -rw-r--r-- root/wheel -747272192 Sep 29 15:59 2002 vnt/vnt21.nj2/vnt20.nj2-08282002_Full.tar.gz drwxr-xr-x root/wheel 0 Sep 29 16:27 2002 vnt/vnt22.nj2/ -rw-r--r-- root/wheel 692824064 Sep 29 21:23 2002 vnt/vnt22.nj2/vnt22.nj2-09252002_Full.tar.gz Older versions of GNU tar could not handle file sizes over 2 (or 4, I forget) gig. You didn't tell us what version of FreeBSD you are running, but I'll assume 4.*. The tar shipped with FreeBSD 4.7 has this problem. Either wait a bit and upgrade to 4.7, or install ports/archivers/gtar and use that. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message