Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

How to burn a >4GB file on a dvd?

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
33 posts
  • 1
  • 2
  • Next
Author
Message
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

How to burn a >4GB file on a dvd?

  • Quote

Post by pacho2 » Sat Oct 21, 2006 12:00 pm

When I try to burn I get the following error:

Code: Select all

mkisofs: Value too large for defined data type. File /mnt/backups/stage4/belkin2-stage4-2006.10.21-custom.tar.gz_a is too large - ignoring
And it fails :-(

Thanks
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Sat Oct 21, 2006 12:08 pm

I'm now trying this possible solution http://forums.gentoo.org/viewtopic-p-32 ... ml#3240716
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Sat Oct 21, 2006 12:21 pm

It also fails with this:

Code: Select all

cp /mnt/backups/stage4/belkin2-stage4-2006.10.21-custom.tar.gz_a /mnt/iso/.
File size limit exceded
:-(

Thanks
Top
RiBBiT
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Wed May 18, 2005 7:16 am
Location: Sweden

  • Quote

Post by RiBBiT » Sat Oct 21, 2006 10:21 pm

The filesystem commonly used on CDs (and DVDs) is called ISO 9660 and only support files smaller than 2 GB. You should instead use the UDF filesystem which supports much larger files.
Comix - GTK Comic Book Viewer [ http://comix.sourceforge.net ]
Top
vibrokatana
Guru
Guru
User avatar
Posts: 328
Joined: Thu Feb 09, 2006 9:44 pm
Location: o0o0oo

  • Quote

Post by vibrokatana » Sun Oct 22, 2006 7:58 am

You could also use the split command, not really the best solution tho.
My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time."
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Sun Oct 22, 2006 10:16 am

RiBBiT wrote:The filesystem commonly used on CDs (and DVDs) is called ISO 9660 and only support files smaller than 2 GB. You should instead use the UDF filesystem which supports much larger files.
How can I use UDF filesystem for recording this files?

growisofs -udf... doesn't work form me :-(

Thanks a lot
Top
Kraymer
Guru
Guru
User avatar
Posts: 349
Joined: Wed Aug 27, 2003 4:17 pm
Location: Germany
Contact:
Contact Kraymer
Website

  • Quote

Post by Kraymer » Mon Oct 23, 2006 12:00 pm

pacho2 wrote:How can I use UDF filesystem for recording this files?

growisofs -udf... doesn't work form me :-(
Creating udf filesystem is not a method/property of burning but of creating the iso image you are going to burn. Use -udf with mkisofs.
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Mon Oct 23, 2006 12:04 pm

Kraymer wrote:Use -udf with mkisofs.
It also fails with the same error :-(
Top
Kraymer
Guru
Guru
User avatar
Posts: 349
Joined: Wed Aug 27, 2003 4:17 pm
Location: Germany
Contact:
Contact Kraymer
Website

  • Quote

Post by Kraymer » Mon Oct 23, 2006 12:09 pm

pacho2 wrote:
Kraymer wrote:Use -udf with mkisofs.
It also fails with the same error :-(
Please post you command line.
Also, have you verified that your kernel supports udf?
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Mon Oct 23, 2006 8:06 pm

Mi /proc/config.gz:

Code: Select all

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y
And output:

Code: Select all

growisofs -udf -Z /dev/hdc fichero-grande
WARNING: /dev/hdc already carries isofs!
About to execute 'mkisofs -udf fichero-grande | builtin_dd of=/dev/hdc obs=32k seek=0'
mkisofs: Value too large for defined data type. File fichero-grande is too large - ignoring
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 21000
417 extents written (0 MB)
/dev/hdc: "Current Write Speed" is 4.1x1352KBps.
builtin_dd: 432*2KB out @ average 0.1x1352KBps
/dev/hdc: flushing cache
/dev/hdc: stopping de-icing
/dev/hdc: writing lead-out
Thanks
Top
kf0yn
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Sat Jan 25, 2003 7:40 pm

  • Quote

Post by kf0yn » Wed Oct 25, 2006 8:19 pm

Even with the -udf flag, mkisofs still generates the ISO9660 file system. There's no way to use mkisofs to put a >4GB file in a filesystem.
I don't know of any tools that will do it, but that doesn't mean they don't exist.
Top
Kraymer
Guru
Guru
User avatar
Posts: 349
Joined: Wed Aug 27, 2003 4:17 pm
Location: Germany
Contact:
Contact Kraymer
Website

  • Quote

Post by Kraymer » Wed Oct 25, 2006 8:36 pm

Hm, I'm sorry I couldn't really help here.
But if the problem lies in ISO9660, maybe creating only rockridge (-R I think) will do it. Disc won't be readable in windows then though.
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Wed Oct 25, 2006 8:43 pm

Same problem :cry:

Code: Select all

growisofs -udf -R -Z /dev/hdc fichero-grande 
WARNING: /dev/hdc already carries isofs!
About to execute 'mkisofs -udf -R fichero-grande | builtin_dd of=/dev/hdc obs=32k seek=0'
mkisofs: Value too large for defined data type. File fichero-grande is too large - ignoring
Total translation table size: 0
Total rockridge attributes bytes: 169
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 21000
418 extents written (0 MB)
/dev/hdc: "Current Write Speed" is 4.1x1352KBps.
builtin_dd: 432*2KB out @ average 0.1x1352KBps
/dev/hdc: flushing cache
/dev/hdc: stopping de-icing
/dev/hdc: writing lead-out
If I don't use -udf option:

Code: Select all

 growisofs -R -Z /dev/hdc fichero-grande 
WARNING: /dev/hdc already carries isofs!
About to execute 'mkisofs -R fichero-grande | builtin_dd of=/dev/hdc obs=32k seek=0'
mkisofs: Value too large for defined data type. File fichero-grande is too large - ignoring
Total translation table size: 0
Total rockridge attributes bytes: 169
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 21000
175 extents written (0 MB)
/dev/hdc: "Current Write Speed" is 4.1x1352KBps.
builtin_dd: 176*2KB out @ average infx1352KBps
/dev/hdc: flushing cache
/dev/hdc: stopping de-icing
/dev/hdc: writing lead-out
Thanks a lot
Top
RiBBiT
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Wed May 18, 2005 7:16 am
Location: Sweden

  • Quote

Post by RiBBiT » Wed Oct 25, 2006 8:56 pm

I use k3b to burn large files successfully. This is the mkisofs command it spits out, most of it is probably redundant though:

Code: Select all

mkisofs command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -volid DVD data disc -volset  -appid  -publisher  -preparer  -sysid Linux -volset-size 1 -volset-seqno 1 -sort /tmp/kde-sork/k3bLDR0Qa.tmp -rational-rock -hide-list /tmp/kde-sork/k3btrYkja.tmp -joliet -hide-joliet-list /tmp/kde-sork/k3bdOMpXa.tmp -udf -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-sork/k3b4638Xa.tmp
Comix - GTK Comic Book Viewer [ http://comix.sourceforge.net ]
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Thu Oct 26, 2006 7:49 am

I have tried this:

Code: Select all

growisofs -udf -gui -volset -graft-points -appid -publisher -preparer -rational-rock -joliet -full-iso9660-filenames -iso-level 2  -Z /dev/dvd belkin-stage4-2006.09.22-custom.tar.gz_a
WARNING: /dev/dvd already carries isofs!
About to execute 'mkisofs -udf -gui -volset -graft-points -appid -publisher -preparer -rational-rock -joliet -full-iso9660-filenames -iso-level 2 belkin-stage4-2006.09.22-custom.tar.gz_a | builtin_dd of=/dev/dvd obs=32k seek=0'
Warning: creating filesystem with (nonstandard) Joliet extensions
         but without (standard) Rock Ridge extensions.
         It is highly recommended to add Rock Ridge
mkisofs: Value too large for defined data type. File belkin-stage4-2006.09.22-custom.tar.gz_a is too large - ignoring
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 21000
422 extents written (0 MB)
/dev/dvd: "Current Write Speed" is 4.1x1385KBps.
builtin_dd: 432*2KB out @ average infx1385KBps
/dev/dvd: flushing cache
/dev/dvd: stopping de-icing
/dev/dvd: writing lead-out
/dev/dvd: reloading tray
And it fails :-(

Thanks a lot
Top
RiBBiT
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Wed May 18, 2005 7:16 am
Location: Sweden

  • Quote

Post by RiBBiT » Thu Oct 26, 2006 10:50 am

Are you sure the DVD is blank? It looks as if you are trying to burn a used disc, this is the clue:

Code: Select all

WARNING: /dev/dvd already carries isofs!
Comix - GTK Comic Book Viewer [ http://comix.sourceforge.net ]
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Thu Oct 26, 2006 8:06 pm

RiBBiT wrote:Are you sure the DVD is blank? It looks as if you are trying to burn a used disc, this is the clue:

Code: Select all

WARNING: /dev/dvd already carries isofs!
It is a DVD+RW, this is the normal behavior

Thanks
Top
vibrokatana
Guru
Guru
User avatar
Posts: 328
Joined: Thu Feb 09, 2006 9:44 pm
Location: o0o0oo

  • Quote

Post by vibrokatana » Thu Oct 26, 2006 8:08 pm

You have to blank it...
My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time."
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Thu Oct 26, 2006 8:24 pm

vibrokatana wrote:You have to blank it...
DVD+RW drives don't have to be blanked, they work fine with "small" files, I only have problems with big files.

Thanks
Top
vibrokatana
Guru
Guru
User avatar
Posts: 328
Joined: Thu Feb 09, 2006 9:44 pm
Location: o0o0oo

  • Quote

Post by vibrokatana » Thu Oct 26, 2006 8:29 pm

wow some people are hard headed...
My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time."
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Thu Oct 26, 2006 8:33 pm

vibrokatana wrote:wow some people are hard headed...
DVD+RW drives DON'T HAVE TO BE BLANKED

Is there any "special" blanking that only affects to big files recording?

From http://fy.chalmers.se/~appro/linux/DVD+RW/
Formatting the BD and DVD+RW media. Virgin BD and DVD+RW media needs to be initally formatted prior usage. Once again, only virgin BD and DVD+RW media needs to be formatted. As of version 5.10 growisofs detects blanks and applies initial formatting procedure automatically. Otherwise same effect can be achieved by passing the device name, e.g. /dev/scd0, as an argument to dvd+rw-format. Well, in BD case it does offer more flexibility than growisofs. To make formatting process reasonably fast, less than 1 minute, the media gets formatted only partially, as you can notice by observing progress indicator displayed by dvd+rw-format. The final indicator value varies from firmware to firmware, values as low as 1.6% were observed. But it does not mean that you can only write that little. The unit keeps formatting transparently, as you add more data. Oh! Do keep in mind that DVD capacity of 4.7GB is expressed in salesman's GB, i.e. 10003 and not 10243. And so is one of BD.

It was observed that excessive reformats can render DVD+RW media unusable already after 10-20 reformats. It appears to be a firmware deficiency, not some common media defect [at least it was perfectly possible to salvage the media in a unit of different brand], but I don't recommend [enforced] reformat in either case.

Note that re-formatting procedure does not substitute for blanking. If you want to nullify the media, e.g. for privacy reasons, do it explicitly with 'growisofs -Z /dev/scdN=/dev/zero'. Otherwise just write over previous recording as it simply wasn't there, no re-formatting is required.
Thanks a lot for trying to help me :-)
Top
Rad
Guru
Guru
Posts: 403
Joined: Wed Feb 11, 2004 10:51 am
Location: Bern, Switzerland

  • Quote

Post by Rad » Fri Oct 27, 2006 12:21 pm

Right, they don't have to be blanked.

Back on topic, I'm not sure what exactly mkisofs does when you specify the "-udf" option, but according to it's man page, mkisofs can't create an udf only image. I sorta guess the other part of the hybrid is always some sort of iso9660 filesystem, and you never will get around it with mkisofs...

If that's true, you have to use some other program to create a real UDF DVD. I only know mkudffs for that.

Now, if your burner supports it: By any means, use DVD-RAM; they're safer, more suitable for frequent rewrites, and they can be treated just like hard disk drives (just format and use them, no creating images or anything required!)

Anyways, there's also at least two ways of using DVD-+RW/R and UDF.
The more elegant one would be to use packet writing; it does some tricks to get similar writing to regular CD or DVD media as DVD-RAM or hard disk drives physically have. This tutorial should help.

If that doesn't work for some reason, you can always create your udf filesystem on your hard disk drive first (inside a regular, loopback mounted file if you have no free space for an additional partition), mount it, copy your data there, and then write the partition on your dvd. Instructions for that can be found in this thread.
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Fri Oct 27, 2006 12:33 pm

Thanks

This tip doesn't work for me:
http://forums.gentoo.org/viewtopic-p-32 ... ml#3240716

I only am able to copy 1 GB :-( beacuse of a "size limit"

Same with http://forums.gentoo.org//viewtopic-t-3 ... tools.html

I get this error:

Code: Select all

cp /mnt/backups/stage4/belkin2-stage4-2006.10.21-custom.tar.gz_a /mnt/iso/.
File size limit exceded
If I try to format DVD+RW using mkudffs directly over /dev/dvd I have the same problem

Thanks
Top
Rad
Guru
Guru
Posts: 403
Joined: Wed Feb 11, 2004 10:51 am
Location: Bern, Switzerland

  • Quote

Post by Rad » Fri Oct 27, 2006 1:08 pm

I can imagine why the second post you linked doesn't work since there the image there would be too small (only 200000 bytes), but I have no idea why it shouldn't work when you do it according to the first post. Is the error message the same? Is your image file on disk really large enough (try "df -h" and compare with your backup...)?

About using /dev/dvd directly... you say it worked without explicitly setting it up for packet writing, but just didn't take any file larger than 1GB?
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Fri Oct 27, 2006 1:15 pm

Rad wrote:I can imagine why the second post you linked doesn't work since there the image there would be too small (only 200000 bytes), but I have no idea why it shouldn't work when you do it according to the first post. Is the error message the same? Is your image file on disk really large enough (try "df -h" and compare with your backup...)?

About using /dev/dvd directly... you say it worked without explicitly setting it up for packet writing, but just didn't take any file larger than 1GB?
The size of img created is 2GB, but (I don't know why) I cannot copy on it files larger than 1GB :-(

Thanks
Top
Post Reply

33 posts
  • 1
  • 2
  • Next

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic