LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-30-2006, 03:52 AM   #1
matthaeus
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Rep: Reputation: 15
DVD-Ram


Hi,

I'm trying to use DVD-Ram under Suse 10.1 and set it up as follows:

mkudffs --media-type=dvdram /dev/dvdram

fstab:
/dev/dvdram /media/dvdram udf noatime,rw,noauto,users,exec,gid=users,utf8 0 0

It works, but if I want to copy a bigger file, let's say 1.5 GB, then after writing 256 GB the dvd-drive stops rotating and the hard-disk starts to be working heavily (load 4.9). This goes on for at least 7 minutes. After that time I begin to have mercy with my disk and switch off the computer (I tried to kill the corresponding processes with kill -9 ..., but it didn't work).

I also tried to set up packet writing with
pktsetup /dev/dvdram /dev/hda
but it didn't work. The error message is:
ioctl: Invalid argument

The node dvdram already exists. If I use it with a nonexisting node like
pktsetup /dev/pktdvd0 /dev/hda
it displays
ioctl: Inappropriate ioctl for device

Does anybody know how I can cure this or why this happens?
My notebook is rather new and has 1 GB RAM and Core Duo.

Best,
Mat

P.S.: Smaller files work without any trouble.

Last edited by matthaeus; 10-30-2006 at 04:05 AM.
 
Old 10-30-2006, 04:19 AM   #2
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
DVD RAM is great for small files. It not so good at very large files.
Plus the longer time you spend writing the more you put yourself at the mercy of the hardware.

Split the file using an archiver.

Interesting choice in file transfer though. I was under the impression usb thumbnail drives were all the rave. And better too.
 
Old 10-30-2006, 05:48 AM   #3
matthaeus
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
DVD-Ram

Hi,

what does "great for small files" mean? Does it mean one has for a long period of time heavy access to the hard-disk, if one copies big files (as in my case)?

I don't see why it should be like that also for big files, since if you burn a big file on a DVD+RW you don't have that access either. It looks like heavy swapping, but why should it do that? I don't have that little RAM.

And what could be the cause for the error message for the packet writing software?
 
Old 10-31-2006, 05:49 AM   #4
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
Quote:
Originally Posted by matthaeus
Hi,

what does "great for small files" mean? Does it mean one has for a long period of time heavy access to the hard-disk, if one copies big files (as in my case)?
Because with the dvd-ram format files are copied to memory before being copied to the dvd, to ensure reliable transfer. Something particularly important for incremental writing i guess.

I could be wrong, but whats your swap usage when you try to copy over 1 gigabyte files?

what does your system monitor say?
 
Old 11-01-2006, 05:09 AM   #5
matthaeus
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
DVD-Ram

Hi,

thanks for your help. This could be the case. Before I try it out and check my free memory: do you know what I have to kill to stop the swapping? I don't always want to switch off the computer. That's probably not very good for the data consistency (I have xfs). Killing the cp-command doesn't help. As well as unmounting the DVD-Ram with option -f.

In order to prevent this behaviour: is it possible to burn to a DVD-Ram with the usual methods (TAO or DAO)? I tried to burn with k3b, but it refuses to burn to DVD-Ram.

Oh, and what archiver would you suggest to split up a file? Especially can I put the files togther again under windows? I would like to do some file transfer between the operating sytems.

Thanks,
Mat

Last edited by matthaeus; 11-01-2006 at 05:12 AM.
 
Old 11-01-2006, 12:05 PM   #6
matthaeus
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Hi,

I tried now to copy small files to DVD-Ram, that have 338M in total, but the same problem occurs. After some time the hard-disk is accessed, with seemingly no end. I also installed the packet-writing software with
Quote:
modprobe pktcdvd
pktsetup dvdram /dev/dvdram
mount /media/dvdram
The corresponding line in fstab is
Quote:
/dev/pktcdvd/dvdram /media/dvdram udf noatime,async,rw,noauto,users,exec,gid=users,utf8 0 0
It works, but it doesn't cure the problem. It seems DVD-Ram under Linux is completely useless for me.
I also figured out, that the hard-disk access is not for swapping. Only the normal hard-disk is accessed. Maybe for comparison of the created files (since DVD-Ram performs such a comparison)? But why does that take ages? It shouldn't I guess. B.t.w., never saw it terminating.

Best,
Matthaeus

Last edited by matthaeus; 11-01-2006 at 12:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake 10 and DVD-RAM? Snump Mandriva 1 07-01-2005 09:58 AM
LG DVD+-RW/RAM won't mount after writing DVD (growisofs/k3b) jaws_tas Linux - Hardware 1 03-25-2005 01:52 AM
How to play dvd s in regular user account? DVD-RAM How-To? Outabux Debian 1 07-08-2004 07:51 PM
DVD-RAM problems Dullin Slackware 1 05-13-2004 11:10 AM
Old DVD-RAM doesn't work. Crashcourse Linux - Hardware 2 03-08-2004 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:08 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