Technical article 126620

How to handle DVD-RW media?

OpenServer 6.0.0OpenServer 5.0.7UnixWare 7.1.3UnixWare 7.1.4

Written · Last revised

Problem

I would like to know what I need to consider if I want to use DVD-RW media with the DVD-Writer installed in my UnixWare/OpenServer system.

Solution

Unlike the DVD+RW media you don't need to format a DVD-RW before you can use it for writing. You can write it immediately.

Below you find a sample run of cdrecord using a brandnew DVD-RW media. Please note that the "dev=..." and the "driveropts=burnfree" options are missing from the commandline as they are set as default in the systems /etc/default/cdrecord:

# cdrecord -v -sao /home/iso/sample.iso
Cdrecord-ProDVD-Clone 2.01 (i586-sco-sysv5uw7.1.4) Copyright (C)
1995-2004 Joerg Schilling
TOC Type: 1 = CD-ROM
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 32768
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4163B'
Revision       : 'A103'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: DVD-RW sequential overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-RW sequential overwrite (current)
Profile: DVD-RW restricted overwrite (current)
Profile: DVD+RW
Profile: DVD+R
Profile: DVD+RW/DL
Profile: DVD-ROM
Profile: CD-R
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Drive DMA Speed: 2952 kB/s 16x CD 2x DVD
FIFO size      : 4194304 = 4096 KB
Track 01: data   354 MB
Total size:      354 MB = 181529 sectors
Current Secsize: 2048
Total power on  hours: 0
Blocks total: 2298496 Blocks current: 2298496
Blocks remaining: 2116967
Starting to write CD/DVD at speed 4 in real SAO mode for single
session.
Last chance to quit, starting real write 0 seconds.
Operation starts.
Waiting for reader process to fill input buffer
... input buffer ready.
BURN-Free is ON.
Starting new track at sector: 0
Track 01:  354 of  354 MB written (fifo 100%) [buf 100%]   4.0x.
Track 01: Total bytes read/written: 371771392/371771392 (181529
sectors).
Writing  time:   97.393s
Average write speed   2.8x.
Min drive buffer fill was 97%
Fixating...
Fixating time:  130.288s
cdrecord: fifo had 11346 puts and 11346 gets.
cdrecord: fifo was 0 times empty and 3310 times
full, min fill was 89%.
---

If you want to reuse the media, then you need to erase the written data first. This can be done using the '-blank" option of cdrecord.

There are various additional options to the blank parameter for cdrecord. The most common in use are:

blank=all Blank the entire disk. This may take a long time.

blank=fast Minimally blank the disk. This results in erasing the PMA, the TOC and the pregap.

For an explanation of the other options (track, unreserve, trtail, unclose and session) please see the man page of cdrecord.

An example run of cdrecord to erase the entire disk would be:

# cdrecord -v blank=all
Cdrecord-ProDVD-Clone 2.01 (i586-sco-sysv5uw7.1.4) Copyright (C)
1995-2004 Joerg Schilling
TOC Type: 1 = CD-ROM
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 32768
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4163B'
Revision       : 'A103'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: DVD-RW sequential overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-RW sequential overwrite (current)
Profile: DVD-RW restricted overwrite (current)
Profile: DVD+RW
Profile: DVD+R
Profile: DVD+RW/DL
Profile: DVD-ROM (current)
Profile: CD-R
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Drive DMA Speed: 2941 kB/s 16x CD 2x DVD
Current Secsize: 2048
Total power on  hours: 0
WARNING: Phys disk size 181529 differs from rzone size 0!
Prerecorded disk?
WARNING: Phys start: 196608 Phys end 378136
Starting to write CD/DVD at speed 4 in real
BLANK mode for single session.
Last chance to quit, starting real write 0 seconds.
Operation starts.
Blanking entire disk
Blanking time:  895.079s

See also

man cdrecord(1)
man mkisofs(8)

From the Xinuos technical article database, record 126620. Reproduced with permission. The original is at www.sco.com/ta/126620, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.