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

Re: volume size error using sdvdbackup



Hi Thomas,

Le 26 déc. 06, à 21:36, scdbackup@gmx.net a écrit :
I'm still trying to get sdvdbackup work to produce os x readable disks
of a netatalk linux server volume shared to a mac os x LAN.
I came to this script:

export SDVDBACKUP_MKISOFS="mkisofs -dDRN -allow-leading-dots -hfs
--netatalk --double -mac-name -part --osx-double -graft-points"
sdvdbackup /var/sharedvol
...
2530392 extents written (4942 MB)
...
:-( /dev/hdc: 2297888 blocks are free, 2530542 to be written!

Looks like your HFS enhanced filesystems get substantially
fatter than normal RockRidge enhanced ISOs.

There are several approaches for remedy:

- Reduce -max_size proportionally to the mis-estimation.
  If for example sdvdbackup announced 4150 MB and if
    sdvdbackup -show_configuration | grep MAX_SIZE
  replies
    SDVDBACKUP_MAX_SIZE=4250m
  then you should compute a new maximum volume size by
    expr 4150 '*' 4250 / 4942
    3568
  Like
    export SDVDBACKUP_MAX_SIZE=3500m
    sdvdbackup /var/sharedvol
...

Option
  -max_size number
or above
  export SDVDBACKUP_MAX_SIZE=number
resp.
  sdvdbackup_max_size_value
would have been the things to play with.

sdvdbackup_media_cap_value is for overflow protection with
sdvdbackup_afio and for fixed volume size with burn programs
which cannot cope with an input stream of unpredicted length.
(growisofs can but cdrecord cannot with DVD.)


If you find a suitable setting for
  -max_size ...
or
  -dir_size_cmd -internal...
tell me.


Once more, thanks for you fast and helpful reply.
The whole backup worked fine with
  export SDVDBACKUP_MAX_SIZE=3500m

Last problem is simply that accentuated chars are not correctly coded when dvd is lounted on an os x mac. Probably some interference between --netatalk -mac-name and another script somewhere...

Jean-Christophe Michel
--
Symétrie, édition de musique et services multimédia
30 rue Jean-Baptiste Say
69001 LYON (FRANCE)
tél +33 (0)478 29 52 14
fax +33 (0)478 30 01 11
web www.symetrie.com



Reply to: