Web Hosting Talk







View Full Version : Tar Multiple Volume


Jedito
12-14-2001, 05:05 PM
need to tar near 10 GB, so I was thinking in do it through the Multiple Volume option.

I write tar -Mcvf home.tar /home but after create a .tar of 2 GB sudelly stop with an error, telling that the file is too large
Somebody told me that this error is because I have to recompile the Kernel with "large file support". Since I'll leave this server I don't want to do that.

Somebody else told me to try with

tar -McvfL home.tar 2000 /home
I tried that and also tar -McvfL 2000 home.tar /home (this create a file called L) and
tar -Mcvf --tape-length=2000 home.tar /home create a file called --tape-length=2000.

Anybody have another Idea of how to do it?

Thanks in advance for your help

The Prohacker
12-14-2001, 05:24 PM
*EDIT* damnit, didn't work












Try:
tar -cvzf test.tar.gz foldertotar L 200

Anything after f is considering part of the file output and input, so after those, just put your other arguments...

davidb
12-14-2001, 05:29 PM
I got that error too, its because of the file system type

Jedito
12-14-2001, 05:38 PM
Originally posted by The Prohacker
*EDIT* damnit, didn't work












Try:
tar -cvzf test.tar.gz foldertotar L 200

Anything after f is considering part of the file output and input, so after those, just put your other arguments...

No It doesn't :(((
Also I tried tar -cvz -L 1 -f home2.tar.gz /home
but now I get a new error

"tar: Cannot use multi-volume compressed archives
tar: Error is not recoverable: exiting now"
:bawling: :bawling: :bawling: