mercoledì 6 febbraio 2008

Come masterizzare un file superiore ai 4 Gb in Linux con K3B

Ecco un interessante tutorial su come masterizzare un file superiore ai 4 Gb in Linux con K3B e l'ausilio di un piccolo ma potente tool di backup: Splitpipe.

Ultima versione stabile rilasciata per Splitpipe: 0.4

Download

Ultima versione stabile rilasciata per K3B: 1.0.5

Download

Screenshots

Dark Orbit    300x250


Main Window with Welcome Screen
and the crystal theme from Everaldo (0.12.x)


Simulation of an Audio CD copy (0.12.x)


The Audio CD project can handle many different audio file formats including audio tracks directly dragged from an audio CD (0.12.x)


Main Window with Welcome Screen (0.10)


Data DVD Burn Dialog (0.10)


Showing info of an empty CDR (0.10)


CD Copy Dialog (0.10)


Main Window with really new Welcome Screen
and the crystal theme from Everaldo (cvs)


Main Window with really new Welcome Screen
and the crystal theme from Everaldo (cvs)


K3b Splash screen (0.12.x)


An audio cue file imported into an audio project (0.12.x)


Data DVD Project (0.10)


Audio Project (0.10)


Showing contents of an audio CD with CDDB support (0.10)


Simulating an Audio CD (0.10)


DVD Formatting Dialog (0.10)

k3b is just a front-end to growisofs, mkisofs, cdrecord, and other assorted programs, so it shouldn't have any limitations of its own, but just reflect those of the programs it calls.


It appears that growisofs in turn calls mkisofs, which is what is complaining about the file being too large. Googling appears to confirm that this is a internal limit of mkisofs.

So the trick is to split the file in two, which first doesn't sound very interesting, unless you have the good tool !

The solution: Splitpipe !

To create backups:
tar c /home | splitpipe -s dvd -o 'growisofs -Z /dev/dvd=/dev/stdin'

To restore backups:
joinpipe /dev/dvd | tar xz

It features checksums, making sure that the dvds are read in correct order, and other usefull features.

But it can also be used to backup the entire /home on multiple DVDs.

Splitpipe is a program that allows the output of a program to span multiple volumes. Volumes might be DVD's, CD's, files, entire hard disks or floppies.

A command line says more than a thousand words:

# tar cz /home | splitpipe -s dvd -o 'growisofs -Z /dev/dvd=/dev/stdin'
To restore:
# joinpipe /dev/dvd | tar xz

The two lines above backup /home to one, or more DVDs, prompting the operator to change media once a volume is full. For more, see Examples, or a screenshot.
Features

* Running MD5 checksum
* Detects truncated volumes
* Impervious to trailing garbage (which you get when piping raw data to cdrecord or growisofs)
* Detects improper order of volumes on restore
Allows user to insert proper volume when this happens
* Each session has a UUID, so volumes from other backups are rejected
Allows user to insert proper volume when this happens
* Large and efficient ringbuffer
* Works with cdrecord, growisofs, bare files and floppies
* Simultaneous display of status, messages and output of script

Roadmap

While splitpipe is a useful program already, much more is in the works!
Restarting

The data format (splitpipe(5)) and buffer of splitpipe have been built such that it is possible to restart failed volumes, provided they fail early enough.

This would allow the operated to continue a backup after, for example, inserting a used DVD instead of an empty one.
Parallel backups

Larry McVoy has provided me with a program he wrote (Thanks!), but never released, that supports redundant backups, made in parallel to multiple tapes. It is a lot like splitpipe in fact, except that it writes to tape and not to arbitrary programs.

The redundant algorithm is interesting and might be implemented in splitpipe, but it would only be helpful to those with mutiple output devices.
Sequential output and input with multiple devices

If you have multiple readers or writers, you could make backups less user intensive. To start a restore, for example, place volumes one and two in your two drives, and start joinpipe.

Once a volume is done, joinpipe could then run a program to eject that volume. The operator could then every once in a while walk by and on seeing an ejected volume, insert the next one.

This would save a lot of waiting by the console.

The same could be done on making backups.



Se ti è piaciuto l'articolo , iscriviti al feed cliccando sull'immagine sottostante per tenerti sempre aggiornato sui nuovi contenuti del blog:


Ultimi post pubblicati


Get Chitika | Premium

Universo Linux

0 commenti:

Vota il Post

Linux News

RSVP (Raccomandati Se Vi Piacciono)

Google News Italia

Social Bookmarking
Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Linkarena Add to: Favoriten Add to: Seekxl Add to: Kledy.de Add to: Social Bookmarking Tool Add to: BoniTrust Add to: Power Oldie Add to: Bookmarks.cc Add to: Favit Add to: Newskick Add to: Newsider Add to: Linksilo Add to: Readster Add to: Folkd Add to: Yigg Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information

Social Bookmarking

Antipixels & Counters

Add to Technorati Favorites MaxWeb Top 100 tutto blog Aggregatore Directory dei blog italiani Blog360gradi - L’aggregatore di notizie a 360°

 provenienti dal mondo dei blog! BlogItalia.it - La directory italiana dei blog Feed XML offerto da BlogItalia.it Sito preferito Il Bloggatore Italian Bloggers diigo it visitor stats Programming Blogs - Blog Catalog Blog Directory AddThis Social Bookmark Button Registra il tuo sito nei motori di ricerca