On Thu, 2 Sep 2004 13:55:18 -0600, Gary Hodges
I'm trying to write a large file (~4 GB) to a DVD using growisofs. The writing process (seemingly) proceeds along just fine, but the file isn't getting written correctly. On a Windows machine the file shows up as the correct size, but only as ~8 MB on my Linux machine. I've written other DVDs without trouble, and though I don't recall any with a single file this large, it is just this one that is causing problems.
To write the 3.9 GB file to disk so that it can be read I used the -udf option by itself. A coworker found this suggestion somewhere. growisofs -Z /dev/sr2 -udf /home/hodges/dvd/ The mkisofs manpage cautions using the -udf option as it is in alpha status. It gives funny ownerships as well. There is probably a better option. ~>ls -lh /media/dvd total 3.9G dr-xr-xr-x 2 4294967295 4294967295 92 2004-08-31 17:06 . drwxr-xr-x 9 root root 224 2003-11-13 09:21 .. -r--r--r-- 1 4294967295 4294967295 3.9G 2004-08-31 10:52 hda8.dd.gz
~>growisofs -version * growisofs by
, version 5.12, front-ending to mkisofs: mkisofs 2.01a17 (i686-suse-linux) ~>growisofs -Z /dev/sr2 -l -r -J /home/hodges/dvd/ Executing 'mkisofs -l -r -J /home/hodges/dvd/ | builtin_dd of=/dev/sr2 obs=32k seek=0' /dev/sr2: pre-formatting blank DVD+RW... /dev/sr2: "Current Write Speed" is 4.0x1385KBps. 0.25% done, estimate finish Wed Sep 1 19:34:04 2004 ### Intermediate lines deleted ### 99.99% done, estimate finish Wed Sep 1 16:07:51 2004 Total translation table size: 0 Total rockridge attributes bytes: 251 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 21864 1995277 extents written (3897 Mb) /dev/sr2: flushing cache /dev/sr2: stopping de-icing /dev/sr2: writing lead-out /dev/sr2: reloading tray
# The original file ~>ls -lh dvd/hda8.dd.gz -rw-r--r-- 1 smith users 3.9G 2004-08-31 10:52 dvd/hda8.dd.gz
# After being written to the DVD ~>ls -lh /media/dvd/hda8.dd.gz -r--r--r-- 1 root root 8.7M 2004-08-31 10:52 /media/dvd/hda8.dd.gz
# After being copied from the DVD to the hard drive ~>ls -lh temp/hda8.dd.gz -r--r--r-- 1 root root 8.7M 2004-09-01 16:55 temp/hda8.dd.gz