| 1 |
Experimental dump to CDROMs |
| 2 |
=========================== |
| 3 |
|
| 4 |
Starting with dump/restore version 0.4b24 or later versions of |
| 5 |
dump/restore you can dump to CDROMs. |
| 6 |
|
| 7 |
You need a (successfully installed) CD-writing software like |
| 8 |
cdrecord (tested with versions 1.11a04 onwards) |
| 9 |
|
| 10 |
These scripts use the new switch ('V') to restore |
| 11 |
which signals a multi-volume (non-tape) medium like CDROMs |
| 12 |
|
| 13 |
I have used the shell scripts below to generate/verify the dump |
| 14 |
|
| 15 |
YOU MUST MODIFY these - especially |
| 16 |
|
| 17 |
- adapt FS to the filesystem to be dumped |
| 18 |
- UserExit to the path to the user exit function like UserInfo below |
| 19 |
- FiFo to the path to a named pipe (better not on the same filesystem) |
| 20 |
- your cd device(s) ( I have /dev/cdrom a symlink to /dev/sr0 and |
| 21 |
/dev/cdrw a symlink to /dev/sr1 ) |
| 22 |
- your path to cdrecord and |
| 23 |
- - cdrecord's dev parameter must be adapted to your CD burner |
| 24 |
- - cdrecord's fs (= input fifo size), use less than 64m if you |
| 25 |
are short of memory |
| 26 |
- - cdrecord's speed parameter : this parameter not only depends on the |
| 27 |
capabilities of your CD burner BUT also on the speed of your CPU !!! |
| 28 |
With the dump -z6 compression on a 900 MHz Pentium III I had no problems |
| 29 |
with speed=4 which is the maximum speed for my burner. |
| 30 |
It looks as if at least speed=6 would be possible on a 900 MHz Pentium III. |
| 31 |
If speed is to large, cdrecord's input fifo gets empty (as |
| 32 |
shown by cdrecord) and then you have a buffer underrun. |
| 33 |
|
| 34 |
- replace the wayplay command with something which alerts you if you |
| 35 |
have to change CDROMS |
| 36 |
|
| 37 |
- for restore or verification replace /dev/cdrom by something |
| 38 |
which applies for you (device for the CDreader) |
| 39 |
|
| 40 |
|
| 41 |
DON'T FORGET to generate a boot-CD which has the 0.4b24 restore |
| 42 |
or a newer version of restore on board |
| 43 |
|
| 44 |
I prefer timos_Rescue_Cd_Set-0.6.1 see http://rescuecd.sourceforge.net |
| 45 |
|
| 46 |
|
| 47 |
Please Cc bug-reports to [email protected] |
| 48 |
|
| 49 |
----------------------------------------------------------------- |
| 50 |
This file and the scripts were slightly edited when the |
| 51 |
Helmut Jarausch patch was integrated in dump-0.4b24. |
| 52 |
Stelian. |
| 53 |
|