Re: Multisession DVD creation problem.



Hi,

Γιώργος Κωστόπουλος wrote:
Media current: DVD+R
Media status : is written , is appendable
...
Media summary: 1 session, 2161584 data blocks, 4222m data,  257m free
Media nwa    : 2163632s

Looks suitable for the next session.
Give it a try. Do not forget to import the old session before adding new
files. (Drive icon in the upper icon bar.)

Not much free space is left, though. ("257m" = 257 * 1024 * 1024 bytes)
So only a small file collection may be added.

Other than with my DVD+RW experiment, Brasero will not be able to spoil
the existing session even if it doesn't do it right.
In worst case you'd get two sessions with different file trees. The newer
one would be mounted by default and in worst case be unmountable.
For mounting the healthy old session you'd use Linux mount option
"-o sbsector=0".

The desirable case will be that the newer session shows old and new files
So there would be no need to mount the old session additionally.


------------------------------------------------------------------------
Quite technical discussion:

Joerg Schilling wrote:
DVD+R does not have the concept of "sessions" this is why I asked.

This is not true. They can have multiple tracks. As soon as a track gets
closed it becomes a session.  (See MMC-5, 4.3.6.2 "Recording on DVD+R",
especially 4.3.6.2.1.3 "Sessions".)

With write-once use cases i'm nearly only using BD-R media meanwhile.
But i found a 10 year old backup DVD+R with 50 sessions (153 max):

  Media current: DVD+R
  Media product: RITEK/F16/49 , Ritek Corp
  Media status : is written , is appendable
  Media blocks : 2282864 readable , 10192 writable , 2295104 overall
  TOC layout   : Idx ,  sbsector ,       Size , Volume Id
  ISO session  :   1 ,         0 ,    739194s , UPDATE_HOME_2008_06_22_191945
  ISO session  :   2 ,    741392 ,     20333s , UPDATE_HOME_2008_06_25_190436
  ISO session  :   3 ,    763936 ,     19565s , UPDATE_HOME_2008_06_29_001832
  ISO session  :   4 ,    785712 ,     30291s , UPDATE_HOME_2008_06_30_220849
  ... more sessions ...
  ISO session  :  47 ,   2142608 ,     18932s , UPDATE_HOME_2008_11_19_180117
  ISO session  :  48 ,   2163744 ,     35100s , UPDATE_HOME_2008_11_25_102435
  ISO session  :  49 ,   2201056 ,     46953s , UPDATE_HOME_2008_11_30_201431
  ISO session  :  50 ,   2250208 ,     32503s , UPDATE_HOME_2008_12_04_190853
  Media summary: 50 sessions, 2182512 data blocks, 4263m data, 19.9m free
  Media nwa    : 2284912s

Note that DVD+R only waste about 4 MiB between two sessions, in contrast
to DVD-R. (763936-741392 = 22544, minus 20333 payload = 2211 blocks wasted.)

With DVD-R we have a waste of 74 MiB after the fist session and 15 MiB after
each further session:

  Media current: DVD-ROM
  Media status : is written , is closed
  Media blocks : 2294432 readable , 0 writable , 2294432 overall
  TOC layout   : Idx ,  sbsector ,       Size , Volume Id
  ISO session  :   1 ,         0 ,    870113s , UPDATE_HOME_2008_04_18_220030
  ISO session  :   2 ,    908176 ,     22632s , UPDATE_HOME_2008_04_20_133303
  ISO session  :   3 ,    938656 ,     19169s , UPDATE_HOME_2008_04_21_153459
  ... more sessions ...
  ISO session  :  39 ,   2167648 ,     23045s , UPDATE_HOME_2008_06_02_105347
  ISO session  :  40 ,   2200592 ,     23470s , UPDATE_HOME_2008_06_04_121146
  ISO session  :  41 ,   2233968 ,     60302s , UPDATE_HOME_2008_06_06_114440
  Media summary: 41 sessions, 1894944 data blocks, 3701m data,     0 free

(All my drives classify the closed DVD-R by profile "DVD-ROM". That's
 because they cannot do anything but DVD-ROM stuff with it.)

Both media were written by xorriso, according to the example at the end
of the man page: "Incremental backup of a few directory trees".


cdrecord -v -media-info

From our merry bug hunt with the bad power supply on forums.ubuntuusers.de
in 2015 i still have a binary of cdrecord-3.02a05.
So with my old backup DVD+R of 2008:

  $ ./cdrecord-fubude-3 -v dev=/dev/sr4 -media-info
  Cdrecord-ProDVD-ProBD-Clone 3.02a05-fubude-3 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2015 Joerg 
Schilling
  TOC Type: 1 = CD-ROM
  
  ... various complaints about not being superuser ...
  
  scsidev: '/dev/sr4'
  devname: '/dev/sr4'
  scsibus: -2 target: -2 lun: -2
  Warning: Open by 'devname' is unintentional and not supported.
  Linux sg driver version: 3.5.27
  Using libscg version 'schily-0.9'.
  cdrecord-fubude-3: Warning: using inofficial libscg transport code version 
(fubude-scsi-linux-sg.c-1.96-fubude '@(#)scsi-linux-sg.c     1.96 13/05/28 Copyright 1997-2013 J. Schilling').
  SCSI buffer size: 64512
  atapi: 1
  Device type    : Removable CD-ROM
  Version        : 0
  Response Format: 2
  Capabilities   : 
  Vendor_info    : 'ASUS    '
  Identifikation : 'BW-16D1HT       '
  Revision       : '1.01'
  Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
  Current: DVD+R
  Profile: BD-RE 
  ...
  Profile: DVD+R (current)
  ...
  Profile: CD-ROM 
  Profile: Removable Disk 
  Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr).
  Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
  Supported modes: PACKET SAO LAYER_JUMP
  Drive buf size : 2949120 = 2880 KB
  cdrecord-fubude-3: Warning: Cannot read drive buffer.
  cdrecord-fubude-3: Warning: The DMA speed test has been skipped.
  Current Secsize: 2048
  book type:       DVD-ROM, Version (0.1)
  disc size:       120mm (0)
  maximum rate:    Not specified (15)
  number of layers:1
  track path:      Parallel Track Path (0)
  layer type:      Rewritable Area (2)
  linear density:  0.267 �m/bit (0)
  track density:   0.74 �m/track (0)
  phys start:      196608 (0x30000) 
  phys end:        2491711
  end layer 0:     0
  bca:             0
  phys size:...    2295104
  Manufacturer:    'RITEK'
  Media type:      'F16'
  Category/Version        3A
  Disk size               7A
  Disk structure          5C
  Recoding density        00
  Manufacturer:           ''
  Media type:             ''
  Product revision        66
  ADIP numbytes           83
  Reference speed         57
  Max speed               122
  copyr prot type: 65
  region mgt info: 122
  Manufacturing info: ''
  cpm:             0
  cgms:            0
  rzone size:         40
  rzone number:       1
  border number:      1
  ljrs:               0
  track mode:         7 copy: 0
  damage:             0
  reserved track:     0 blank: 0 incremental: 1 fp: 0
  data mode:          1
  lra valid:          0
  nwa valid:          0
  rzone start:        0
  next wr addr:       0
  free blocks:        0
  blocking factor:    16
  rzone size:         739344
  last recorded addr: 0
  read compat lba:    0
  
      Capacity  Blklen/Sparesz.  Format-type  Type
       2282864             2048         0x00  Formatted Media
  Mounted media class:      DVD
  Mounted media type:       DVD+R
  Disk Is not erasable
  data type:                standard
  disk status:              incomplete/appendable
  session status:           empty
  BG format status:         none
  first track:              1
  number of sessions:       51
  first track in last sess: 51
  last track in last sess:  51
  Disk Is unrestricted
  Disk type: DVD, HD-DVD or BD
  
  Track  Sess Type   Start Addr End Addr   Size
  ==============================================
      1     1 Data   0          739343     739344         -1
      2     2 Data   741392     761887     20496       2048
      3     3 Data   763936     783663     19728       2048
      4     4 Data   785712     816159     30448       2048
  ... more sessions ...
     47    47 Data   2142608    2161695    19088       2048
     48    48 Data   2163744    2199007    35264       2048
     49    49 Data   2201056    2248159    47104       2048
     50    50 Data   2250208    2282863    32656       2048
     51    51 Blank  2284912    2295103    10192       2048
  
  Last session start address:         2250208
  Last session leadout start address: 2282864
  Next writable address:              2284912
  Remaining writable size:            10192
  
As you can see, it even reports a next writable address.
  
With option -atip i get the same messages up to
       2282864             2048         0x00  Formatted Media


there is only the unmaintained since nearly 12 years dvd+rwtools that 
implements a non-standard method to emulate multi session on DVD+RW media.

growisofs is indeed unmaintained. But libburn and libisoburn learned a lot
from it. So its spirit lives on.

xorriso, too, does emulation of multi-session on overwritable media for
the special case of ISO 9660 filesystems. But i have to stress again that
DVD+R media are _not_ overwritable but rather can bear multiple sessions by
hardware, regardless of the filesystems in the sessions.


Have a nice day :)

Thomas
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]