Sponsored Content
Top Forums UNIX for Advanced & Expert Users Multi-Volume tar archives. [solved] Post 302581407 by MikeGM on Tuesday 13th of December 2011 07:23:45 AM
Old 12-13-2011
Multi-Volume tar archives. [solved]

Hi,

The only off-line storage medium I have is DVD. I am trying to back up around 10G of data and if I can achieve a practical solution I will use it more generally.

I am currently considering something along the lines of:
Code:
  tar --create --multi-volume --tape-length=nnnn  <pathspec>
 | genisoimage | wodim

or,
Code:
   tar --create --multi-volume --tape-length=nnnn --file=<path on udf filesystem>  <pathspec>

However, when testing the tar command by creating and then listing (--list) the archive I get the following error:
Code:
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

This occurs on all except the last volume and the listing seems to show a full archive with this error at the end.

Any suggestions would be welcomed.

---------- Post updated at 12:23 PM ---------- Previous update was at 11:15 AM ----------

Um, I think I've fixed it myself. The error report was because I was --list ing the archive without using the --multi-volume option. When that option is used tar asks for the next volume and then continues without the error.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar archives

I have a tar archive which I believe may be corrupted, produced on an HP-UX 10.x box and written to a 4mm DDS-3 tape. I understand that gnu tar has a -W (--verify) option which will attempt to verify the archive after it has been created. Am I right in saying that this option cannot be used to... (4 Replies)
Discussion started by: sam_pointer
4 Replies

2. UNIX for Dummies Questions & Answers

segmenting tar archives

assuming i need to create a tar archive which would turn out to be bigger than 2gb, how could i segment the archive into say, 1 gb parts? (3 Replies)
Discussion started by: crudealien
3 Replies

3. UNIX for Dummies Questions & Answers

tar file size (volume) limiting

Hi I am trying to create tar files of a whole bunch of files and want to limit them to 50Mb each. I have tried using the -k option but cannot get it to work. Has anyone out there had success creating these? Cheers Ian (1 Reply)
Discussion started by: bigjeff
1 Replies

4. AIX

How to ristrict tar to span multi volume of 1.95 gig each.

Can some one help me to know how I can restrict tar to span on multiple volumes if it get bigger then 2 gig. I am working on AIX 5.2 and created a tar of 4 gig but I want to move the tar to 4.3 that has limit of 2 gig. Thanks. (0 Replies)
Discussion started by: interim05
0 Replies

5. OS X (Apple)

Decompressing Tar Archives (Finally!)

If you've come across this problem with unzipping/decompressing zips, you might find this helpful: I was having a little trouble with unzipping (decompressing) tarred archives under OS 10.5 until today. My first attempt was to just simply double-click on the zip file (i.e., example.tar.gz) and... (2 Replies)
Discussion started by: unimachead
2 Replies

6. UNIX for Dummies Questions & Answers

open a 7z multi volume archive from gui

Does anyone know of a way to open a 7z multi volume archive from the gui? (1 Reply)
Discussion started by: cokedude
1 Replies

7. Shell Programming and Scripting

Create unique tar archives from a list of directories

I'm looking to archive a client directory from a CIFS share There are multiple directories that will be stored in a text file and I'm looking to create an individual tar archive of each folder in the directory. I've tried a number of commands to no avail. Here's what I would like. ... (2 Replies)
Discussion started by: Steelysteel
2 Replies

8. Solaris

[Solved] Solaris list physical volume details

in AIX, we have lspv command to display details of physical volume like below: lspv -l hdisk102 hdisk102: LV NAME LPs PPs DISTRIBUTION MOUNT POINT oradata112lv 1599 1599 320..320..319..320..320 /oracle/oradata11 Can you please tell how to... (2 Replies)
Discussion started by: sendtoshailesh
2 Replies

9. HP-UX

[Solved] How to extend a mirrored logical volume?

Want to extend the /home filesystem: Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol4 262144 260088 2056 99% /home root@server:./root # vgdisplay vg00 --- Volume groups --- VG Name /dev/vg00 VG Write Access read/write VG Status available Max LV 255 Cur LV 11 Open... (4 Replies)
Discussion started by: proactiveaditya
4 Replies

10. Shell Programming and Scripting

Tar archives monthly

Hi, I want to archive files by month, is there anyway of this code looks better? find /tmp/w/ -type f -newermt '2014-01-01' ! -newermt '2014-02-01' | xargs tar -czvf files01.tar find /tmp/w/ -type f -newermt '2014-02-01' ! -newermt '2014-03-01' | xargs tar -czvf files02.tar find... (9 Replies)
Discussion started by: prpkrk
9 Replies
SHAPE_TAR(1)						      General Commands Manual						      SHAPE_TAR(1)

NAME
shape_tar - shapeTools RMS bundle up subsystem in a tar or shar archive SYNOPSIS
shape tar[VERSIONS=<version_selection_rule>] [ARCHIVE=<filename>] shape shar[VERSIONS=<version_selection_rule>] [ARCHIVE=<filename>] DESCRIPTION
Shape tar and shape shar create a tar or a shar archive containing all source components of the current node in the system tree. All source components listed in the COMPONENTS macro in the Makefile and the release identification file (VERSIONFILE) are written to the archive. Components of subsystems are not included in the archive file. The VERSIONS macro may be set to specify a version selection rule to be active during archive file creation. Default is most_recent, selecting the most recent version of each component. See shape_stdrul(7) or the $(SHAPELIBPATH)/stdrules for other possible settings. You may also use self defined version selection rules as VERSIONS. ARCHIVE is the base name of the file where the output shall be written to. Default is $(SUBSYSTEMNAME). The output file gets the filename extension .tar (resp. .shar). When ARCHIVE=- is given, data will be written to standard output. SEE ALSO
shape_RMS(1), shape_stdrul(7) FILES
$(SUBSYSTEMNAME).tar $(SUBSYSTEMNAME).shar 20.7.119 SHAPE_TAR(1)
All times are GMT -4. The time now is 10:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy