Differences
This shows you the differences between two versions of the page.
topics:disk-archiving [2021/10/22 12:46] orzfly created |
topics:disk-archiving [2021/10/22 12:54] (current) orzfly |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== Creating disk image ===== | ===== Creating disk image ===== | ||
<code bash> | <code bash> | ||
+ | |||
+ | < | ||
+ | GNU ddrescue - Data recovery tool. | ||
+ | Copies data from one file or block device to another, | ||
+ | trying to rescue the good parts first in case of read errors. | ||
+ | |||
+ | Usage: ddrescue [options] infile outfile [mapfile] | ||
+ | Always use a mapfile unless you know you won't need it. Without a | ||
+ | mapfile, ddrescue can't resume a rescue, only reinitiate it. | ||
+ | </ | ||
===== Creating hash and recovery records ===== | ===== Creating hash and recovery records ===== | ||
<code bash> | <code bash> | ||
+ | |||
+ | < | ||
+ | Usage: | ||
+ | par2 c(reate) [options] <PAR2 file> [files] : Create PAR2 files | ||
+ | |||
+ | Options: (create) | ||
+ | -b< | ||
+ | -s< | ||
+ | -r< | ||
+ | -r< | ||
+ | -c< | ||
+ | -l : Limit size of recovery files (don't use both -u and -l) | ||
+ | -n< | ||
+ | </ | ||
===== Wiping disk ===== | ===== Wiping disk ===== | ||
<code bash> | <code bash> | ||
+ | |||
+ | < | ||
+ | NAME | ||
+ | | ||
+ | |||
+ | OPTIONS | ||
+ | | ||
+ | over the disk. Note that badblocks may do multiple test passes over the disk, in particular if the -p | ||
+ | or -w option is requested by the user. | ||
+ | |||
+ | | ||
+ | |||
+ | -b block_size | ||
+ | Specify the size of blocks in bytes. | ||
+ | |||
+ | -t test_pattern | ||
+ | Specify a test pattern to be read (and written) to disk blocks. | ||
+ | meric value between | ||
+ | should be filled with a random bit pattern. | ||
+ | more test patterns | ||
+ | read-only mode only a single pattern may be specified and it may not be " | ||
+ | with a pattern | ||
+ | large numbers of blocks will fail verification. | ||
+ | be tested with one pattern before proceeding to the next pattern. | ||
+ | |||
+ | -o output_file | ||
+ | Write the list of bad blocks to the specified file. Without this option, badblocks displays the list on | ||
+ | its standard output. | ||
+ | mke2fs(8). | ||
+ | |||
+ | | ||
+ | 0x55, 0xff, 0x00) on every block of the device, reading every block and comparing | ||
+ | option may not be combined with the -n option, as they are mutually exclusive. | ||
+ | |||
+ | </ | ||
* https:// | * https:// |