LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2010, 10:12 AM   #1
Squall90
Member
 
Registered: Oct 2009
Distribution: Currently several distros :S
Posts: 148

Rep: Reputation: 29
Too big iso created by mkisofs for cdrecord


Hi there,

I am backuping (does this word really exist?^^) some files. I put the files in folders called "DVD1", "DVD2", etc. Then I created iso files by using:
Code:
$ mkisofs -J -R -o DVD1.iso DVD1/
$ mkisofs -J -R -o DVD2.iso DVD2/
etc...
When I try to burn them by using
Code:
# cdrecord -v dev=1001,0,0 DVD1.iso
etc..
I get the error message:
[quote]Track 01: data 4522 MB
Total size: 4522 MB = 2315733 sectors
Current Secsize: 2048
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: -20629
cdrecord: Data does not fit on current disk.[/code]
I already removed some of the files so the iso gets smaller. I am now at 4522 MB and I think, there must be something wrong. The dvd should have 4.7 GB space.

Anybody know, how to fix this?

I am running Slackware 13.0, cdrecords/mkisofs version is "Cdrecord-ProDVD-ProBD-Clone 2.01.01a57 (i686-pc-linux-gnu) Copyright (C) 1995-2009 Jörg Schilling".


Thanks
 
Old 07-15-2010, 10:58 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
You don't get 4.7 GB on a DVD 5 disc, you get about 4.3 GB maximum.
 
Old 07-15-2010, 10:58 AM   #3
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
In my experience of making ISOs I've run into the same problem as you. What's actually on the DVD disk is around 4400MB. So it's a good idea to keep below that threshold.

edit:
4400MB/(1024MB/GB) = 4.29 GB

.. what smoker said.

Last edited by sag47; 07-15-2010 at 11:00 AM.
 
Old 07-15-2010, 11:19 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
For what it's worth, you don't get 8.5 GB on a double layer either. I've found anything over 8.1 gives problems, so I stick to 8GB.
 
Old 07-15-2010, 12:41 PM   #5
Squall90
Member
 
Registered: Oct 2009
Distribution: Currently several distros :S
Posts: 148

Original Poster
Rep: Reputation: 29
omg... You're right. With only 4 gb isos it works.
It really sucks that they write 4.7 gb and you don't have really 4.7. You neither have 4.6 nor 4.5 gb...

Thank you for your answers.
 
Old 07-15-2010, 01:15 PM   #6
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Between the manufacturers version of GB, and the inevitable space taken up by the filesystem, you will always get less than it's advertised as. My 8GB flashdrive only has 7.5GB usable too.
 
Old 07-15-2010, 05:49 PM   #7
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
They get their numbers from 4,700,000,000 Bytes. Which isn't truly 4.7GB in how bytes are supposed to be calculated.

4,700,000,000B/(1024B/KB)/(1024KB/MB)/(1024MB/GB) = 4.37GB
 
Old 07-15-2010, 05:57 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Sometimes you can sqeeze a bit more with overburn.
 
Old 07-16-2010, 03:28 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
The maximum is actually 4488 MB, at least from my calculations. I've burned this size before and it worked.
 
Old 07-16-2010, 04:49 AM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Different types of media have different maximum capacities. DVD-ROM, DVD-RW, DVD-R, DVD+R, DVD+RW, DVD_RAM are all different. And the people who replied before me hinted at the confusion caused by the SI unit prefixes referring to bytes (kilobytes, megabytes, etc).

The literal definition of kilo is one thousand, not 1024. The SI units are based on the decimal number system (base 10), not binary or hexadecimal. One gigabyte = one billion bytes (1000*1000*1000). But one gibabyte = 1,073,741,824 bytes (1024*1024*1024).

Manufacturers of computer related items are legally allowed to rate capacities in SI units, rather than powers of 2. A gigabyte is not an integer power of 2. A gibabyte is 2^30. So, 1 gigabyte = 0.931322575 gibabytes. The
maximum-advertised-capacity-of-a-DVD * 0.931322575 = what-the-computer-says-is-the-maximum-capacity. So, a 4.7 GB DVD-+R will hold about 4.3 gibabytes of data.
 
Old 07-16-2010, 01:49 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
From the man page.

-overburn
Normally single layer DVD media can accommodate up to approximately 4.700.000.000 bytes (in marketing speech 4.7GB). In other words a DVD can contain about 4.377 GiB or 4482 MiB. Same kind of arithmetics applies to Blu-ray Disc capacity of 25.000.000.000 bytes. Anyway, growisofs won't start without this option, if "overburn" condition appears to be unavoidable.


Sure seems to be funny math to me.

Last edited by jefro; 07-16-2010 at 01:50 PM.
 
Old 07-16-2010, 02:09 PM   #12
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by jefro View Post
From the man page.

-overburn
Normally single layer DVD media can accommodate up to approximately 4.700.000.000 bytes (in marketing speech 4.7GB). In other words a DVD can contain about 4.377 GiB or 4482 MiB. Same kind of arithmetics applies to Blu-ray Disc capacity of 25.000.000.000 bytes. Anyway, growisofs won't start without this option, if "overburn" condition appears to be unavoidable.


Sure seems to be funny math to me.
You can use 'cdrecord -media-info' to find out the capacity. On DVD-R I notice it is 4707319808 bytes, and google says 4 707 319 808 bytes = 4 489.25 megabytes. It is correct because 4707319808 bytes / 1024 = 4596992 KB / 1024 = 4489.25 MB. So, the maximum is actually 4489, but so it is easier to remember I remember 4488. It's always good not to cut is so close anyway.
 
Old 07-17-2010, 09:11 AM   #13
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Oh, and I have to mention that you can't actually burn say a file of 4488 MB to a DVD, mostly because once you add it to an ISO the filesystem will take up more space and it will be too large. Try something like 4480 or so, I just burned a few files of this size, so it will work.
 
  


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
pipe between mkisofs and cdrecord. stf92 Linux - Software 11 03-15-2010 05:39 AM
mkisofs/cdrecord question matsgl Linux - Newbie 6 09-04-2005 11:10 AM
cdrecord - mkisofs ahmed4linux Linux - General 2 06-15-2005 09:42 AM
questions on burning cd with mkisofs and cdrecord xround Linux - General 1 03-09-2005 10:51 AM
mkisofs/cdrecord and directories Pedroski Linux - Software 4 03-12-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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