LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-24-2011, 11:00 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
want to use N--Dvd's like a "tape drive"


I would like to use DVD media like one might use a tape cartridge.

Run my application.
App asks for the first DVD
App writes the DVD until it is filled
App asks for the next DVD
...
Repeat until app has written all that it wants to store using as many DVD's as might be required.

I have heard mention of a "DVD packet driver" or something similar
that lets folks do this sort of thing. Can anyone shed any light on this?

Also, while I'm asking DVD writing questions, what about "double sided" and "lightscribe" creation on linux?

Thanks,
~~~ 0;-Dan
 
Old 11-25-2011, 04:04 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
This isn't the exact sequence you're looking for, but it should do the trick.

Use the Tape ARchive tool with the multi-volume option (tar -M), to create some backup files. Then use whatever method you would usually use to burn those files to DVDs.

http://www.linuxquestions.org/questi...me-tar-278989/
 
Old 11-26-2011, 03:56 PM   #3
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Yes, I know how and have used tar --multi-volume ... in the past. The primary trouble with this approach is the need for enough disk space to hold all of the archives
before they get burned to DVD. The DVD-as-tape approach would not require all of that space though it might use a small about of space for prep or staging.

That Washington State software includes applications that support use of DVD in ways that are similar to traditional disk drives. I am hoping that there is similar components for Linux use of my DVD drives.

Cheers,
~~~ 0;-Dan
 
Old 11-26-2011, 04:55 PM   #4
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 543

Rep: Reputation: 36
Does the tar multivolume approach have a level of robustness? For example, does it simply create a data stream, and if there is an error somewhere in that data stream, is the backup unusable?

Anyone here use coherent? Back in the coherent days, there was a multivolume cpio which does just what was sought...creates a multivolume set. I believe that it would place files on each volume, which meant that a failure in any media would only corrupt, at most, the files stored on that media. The downside was that the media size was the max file size. Back then kernels fit on floppies...
 
Old 11-27-2011, 12:28 PM   #5
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
play with tar ... --multi-volume --tape-length NNN ... to see how things stack up.
The NNN details how many 1024-byte blocks live one each "tape volume". After that many blocks are written, tar asks for a "reel change". REMEMBER -- most of this was invented when few computers anywhere used mega-bytes much less giga-bytes. (chuckle)

You can also direct the output of tar to STDOUT and then pipe that output into split -bytes=NN ....

Clarification: 'split' will chunk the file, but without creating any "tar-ball" integrity details. The "--tape-length=NNN" approach keeps 'tar' in control of data integrity.

~~~ 0;-Dan

Last edited by SaintDanBert; 02-24-2012 at 12:36 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Access Denied" slave Hard Drive in Mandriva 2008 Spring DVD vwb5003 Linux - Newbie 8 09-22-2008 01:18 PM
Can I make a bootable TAPE using "dd" or "GHOST" from RedHat Enterprise Linux AS 4 rrojo7229 Linux - Server 3 12-20-2007 07:53 AM
DVD Writing "dvdrecord: Drive does not support TAO recording." ALInux Linux - Software 7 04-05-2007 06:09 PM
"Cheating" Linux - Enabling region free DVD without flashing DVD drive. StevenO Linux - General 4 05-07-2006 02:41 PM
DVD wont mon't drive stays lit "no media present" aero402 Linux - Software 5 01-05-2005 09:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration