что-то не получается . подключил диск на 2Тб . назвал Disk1 .
[more]
a@Nikita:~$ cd media
bash: cd: media: No such file or directory
a@Nikita:~$ cd /media/Disk1/
bash: cd: /media/Disk1/: No such file or directory
a@Nikita:~$ cd /media/Disk1
bash: cd: /media/Disk1: No such file or directory
a@Nikita:~$ cd /media/Disk1
a@Nikita:/media/Disk1$ cd 1
a@Nikita:/media/Disk1/1$ sudo dd_rescue -l ~/media/Disk1/1/disk1_part4_logfile.txt -o ~/media/Disk1/1/disk1_part4_badblocks.txt -v /dev/sdc4 ~/media/Disk1/1/disk1_part4.part
[sudo] password for a:
dd_rescue: (fatal): open "/home/a/media/Disk1/1/disk1_part4_logfile.txt" failed: No such file or directory
a@Nikita:/media/Disk1/1$ sudo dd_rescue -l ~/media/Disk1/disk1_part4_logfile.txt
dd_rescue: (fatal): both input and output have to be specified!
dd_rescue Version 1.14, garloff@suse.de, GNU GPL
($Id: dd_rescue.c,v 1.59 2007/08/26 13:42:44 garloff Exp $)
dd_rescue copies data from one file (or block device) to another.
USAGE: dd_rescue [options] infile outfile
Options: -s ipos start position in input file (default=0),
-S opos start position in output file (def=ipos),
-b softbs block size for copy operation (def=65536),
-B hardbs fallback block size in case of errs (def=512),
-e maxerr exit after maxerr errors (def=0=infinite),
-m maxxfer maximum amount of data to be transfered (def=0=inf),
-y syncfrq frequency of fsync calls on outfile (def=512*softbs),
-l logfile name of a file to log errors and summary to (def=""),
-o bbfile name of a file to log bad blocks numbers (def=""),
-r reverse direction copy (def=forward),
-t truncate output file (def=no),
-d/D use O_DIRECT for input/output (def=no),
-w abort on Write errors (def=no),
-a spArse file writing (def=no),
-A Always write blocks, zeroed if err (def=no),
-i interactive: ask before overwriting data (def=no),
-f force: skip some sanity checks (def=no),
-p preserve: preserve ownership / perms (def=no),
-q quiet operation,
-v verbose operation,
-V display version and exit,
-h display this help and exit.
Note: Sizes may be given in units b(=512), k(=1024), M(=1024^2) or G(1024^3) bytes
This program is useful to rescue data in case of I/O errors, because
it does not necessarily abort or truncate the output.
a@Nikita:/media/Disk1/1$ sudo dd_rescue -l ~/media/Disk1/disk1_part4_logfile.txt -o ~/media/Disk1/disk1_part4_badblocks.txt -v /dev/sdc4 ~/media/Disk1/disk1_part4.part
dd_rescue: (fatal): open "/home/a/media/Disk1/disk1_part4_logfile.txt" failed: No such file or directory
a@Nikita:/media/Disk1/1$ sudo dd_rescue -l ~/Disk1/1/disk1_part4_logfile.txt -o ~/Disk1/1/disk1_part4_badblocks.txt -v /dev/sdc4 ~/Disk1/1/disk1_part4.part
dd_rescue: (fatal): open "/home/a/Disk1/1/disk1_part4_logfile.txt" failed: No such file or directory
a@Nikita:/media/Disk1/1$ sudo dd_rescue -l /home/a/media/Disk1/1/disk1_part4_logfile.txt -o /home/a/media/Disk1/1/disk1_part4_badblocks.txt -v /dev/sdc4 /home/a/media/Disk1/1/disk1_part4.part
dd_rescue: (fatal): open "/home/a/media/Disk1/1/disk1_part4_logfile.txt" failed: No such file or directory
a@Nikita:/media/Disk1/1$
[/more]
Добавлено: Диск на 2Тб - /dev/sdb
Диск WD на 1Тб - /dev/sdc4 .
Добавлено: Цитата: что-то не получается .
получается.
внимательно вчитался в ваши посты - и всё получилось.