1DVDISASTER(1) protection for CD/DVD media DVDISASTER(1)
2
3
4
6 DVDISASTER - data loss/scratch/aging protection for CD/DVD media
7
8
10 dvdisaster [-r|-c|-f|-s|-t|-u] [-d device] [-p prefix] [-i image] [-e
11 eccfile] [--list] [-j n] [-n n%] [-m n] [-v] [--adaptive-read] [--auto-
12 suffix] [--cache-size n] [--dao] [--driver d] [--eject] [--fill-unread‐
13 able n] [--ignore-fatal-sense] [--internal-rereads n] [--query-size n]
14 [--raw-mode n] [--read-attempts n-m] [--read-medium n] [--read-raw]
15 [--speed-warning n] [--spinup-delay n] [--split-files]
16
17
19 DVDISASTER provides a margin of safety against data loss on CD and DVD
20 media caused by scratches or aging media. It creates error correction
21 data which is used to recover unreadable sectors if the disc becomes
22 damaged at a later time.
23
24
26 dvdisaster -d /dev/hdc -s
27 Scans the medium in drive /dev/hdc for errors.
28
29 dvdisaster -d /dev/hdc -i medium.iso -r
30 Reads an image from drive /dev/hdc into the file medium.iso.
31
32 dvdisaster -d /dev/hdc -i medium.iso --read-raw -r
33 Creates an image as described above. Each sector's integrity is
34 verified by using its EDC and L-EC raw data. Only possible for
35 CD media; otherwise the --read-raw option is silently ignored.
36
37 dvdisaster -d /dev/hdc -i medium.iso --read-attempts n-m -r
38 Creates an image as described above. Defective sectors are
39 retried at least n times and at most m times. Recovery of defec‐
40 tive CD media may improve when combined with --read-raw.
41
42 dvdisaster -d /dev/hdc -i medium.iso -e corr.ecc -r --adaptive-read
43 Uses the adaptive reading strategy to read an image from drive
44 /dev/hdc into the file medium.iso. Reading will stop when
45 enough data has been gathered to repair the image using the
46 error correction file corr.ecc.
47
48 dvdisaster -i medium.iso -e corr.ecc -c
49 Creates an error correction file corr.ecc for the image
50 medium.iso.
51
52 dvdisaster -i medium.iso -mRS02 -n 350000 -c
53 Augments the image medium.iso with error correction information,
54 expanding the image to no more than 350000 sectors. If -n is
55 omitted the image will be expanded to the smallest possible
56 medium size (CD, DVD, DVD9). Note the missing blank between -m
57 and RS02.
58
59 dvdisaster -i medium.iso -e corr.ecc -f
60 Repairs the image file medium.iso using the error correction
61 file corr.ecc.
62
63 dvdisaster -i medium.iso -e corr.ecc -t
64 Verifies the image medium.iso with information from the error
65 correction file corr.ecc.
66
67 NOTE: Omit the -e corr.ecc options when working with augmented images
68 in the examples above.
69
70
72 Action selection (at least one action must be specified):
73
74 -r, --read
75 Read the medium image to hard disc. Use -rn-m to read a certain
76 sector range, e.g. -r100-200.
77
78 -c, --create
79 Create .ecc information for the medium image.
80
81 -f, --fix
82 Try to fix medium image using .ecc information.
83
84 -s, --scan
85 Scan the medium for read errors.
86
87 -t, --test
88 Test integrity of the .iso and .ecc files.
89
90 -u, --unlink
91 Delete .iso files (when other actions complete).
92
93 Drive and file specification:
94
95 -d, --device device
96 read from given device (default: /dev/cdrom).
97
98 -p, --prefix prefix
99 prefix of .iso/.ecc file (default: medium.* ).
100
101 -i, --image imagefile
102 name of image file (default: medium.iso).
103
104 -e, --ecc eccfile
105 name of parity file (default: medium.ecc).
106
107 --list lists available drives for the ASPI driver (Windows only).
108
109 Tweaking options (see manual before using!):
110
111 -j, --jump n
112 jump n sectors forward after a read error (default: 16).
113
114 -n, --redundancy n[unit]
115 Error correction data redundancy. Allowed values depend on the
116 codec:
117
118 RS01 error correction files
119 -n x creates error correction file with x roots.
120 -n x% creates error correction file with x percent redun‐
121 dancy.
122 -n xm creates error correction file of approx. x MB size.
123 -n normal - optimized codec for 14.3% redundancy/32
124 roots.
125 -n high - optimized codec for 33.5% redundancy/64
126 roots.
127
128 RS02 images:
129 -n CD augments image suitable for CD media.
130 -n DVD augments image suitable for DVD media.
131 -n DVD9 augments image suitable for DVD9 media.
132 -n BD augments image suitable for BD media.
133 -n BD2 augments image suitable for two layered BD media.
134 -n x augments image using approx. x sectors in total.
135 -n x% augments image with approx. x% redundancy.
136 -n xr augments image with x roots error correction
137 data.
138
139 -m, --method n
140 lists/selects error correction methods (default: RS01).
141 Possible values are RS01 and RS02.
142
143 -v, --verbose n%
144 more diagnostic messages
145
146 --adaptive-read
147 use optimized strategy for reading damaged media.
148
149 --auto-suffix
150 automatically add .iso and .ecc file suffixes.
151
152 --cache-size n
153 image cache size in MB during -c mode (default: 32MB).
154
155 --dao assume DAO disc; do not trim image end.
156
157 --driver d (Linux only)
158 Chooses between the cdrom (CDROM_SEND_PACKET) driver and the sg
159 (SG_IO) driver for optical drives. Currently the older cdrom
160 driver is pre-selected; starting with dvdisaster V0.80 the newer
161 sg driver will be the default. Both drivers should work equally
162 well, anyways.
163
164 --eject
165 eject medium after successful read.
166
167 --fill-unreadable n
168 fill unreadable sectors with byte n
169
170 --ignore-fatal-sense
171 continue reading after potentially fatal error condition.
172
173 --internal-rereads n
174 internal read attempts for defective CD media sectors (default:
175 -1)
176 The drive firmware usually retries unreadable sectors a few
177 times before giving up and returning a read error. It is more
178 efficient to set this to 0 or 1 and manage read attempts through
179 the --read-attempts parameter. Most drives ignore this setting
180 anyways. Use -1 to leave the drive at its default setting.
181
182 --query-size n
183 queries drive or filesystem on medium for image size (default:
184 ecc)
185 Possible values are: drive udf ecc
186
187 --raw-mode n
188 selects raw reading mode for CD media (default: 20)
189 The recommended mode is 20, which makes the drive apply its
190 built-in error correction to the best possible extent before
191 transfering a defective sector. However some drives can only
192 read defective sectors using mode 21, skipping the last stage of
193 the internal error correction and returning the uncorrected sec‐
194 tor instead.
195
196 --read-attempts n-m
197 attempts n upto m reads of a defective sector.
198
199 --read-medium n
200 read the whole medium up to n times.
201
202 --read-raw
203 performs read in raw mode if possible.
204
205 --speed-warning n
206 print warning if speed changes by more than n percent.
207
208 --spinup-delay n
209 wait n seconds for drive to spin up.
210
211 --split-files
212 split image into files <= 2GB.
213
215 Documentation DVDISASTER is documented by its own manual, installed in
216 /usr/share/doc/dvdisaster-0.72.3/en
217
218
220 DVDISASTER was written by Carsten Gnoerlich <carsten@dvdisaster.com>.
221
222 This manual page was written by Daniel Baumann <daniel.baumann@pan‐
223 thera-systems.net>, for the Debian project (but may be used by others).
224 It was enhanced for V0.70/0.72 by Carsten Gnoerlich.
225
226
227
2280.72 2010-10-30 DVDISASTER(1)