ddrescue使用后,无法访问下载文件夹等
发表于 : 2020-07-15 2:31
それまで使っていたhdd がカランカランと嫌な音を出して破損しました。それで新規購入したノート用hdd にUbuntu的LiveCD上から
ddrescue
之前一直使用的hdd发出了讨厌的声音,破损了。然后在新买的笔记本用hdd上从Ubuntu的LiveCD上
ddrescue
ubuntu@ubuntu:~$ sudo ddrescue -f -r3 -v /dev/disk/by-id/ata-ST3160815AS_6RX65VV6 /dev/disk/by-id/ata-HGST_HTS545032A7E680_RB240EMP06TZHH logfile.log
GNU ddrescue 1.22
About to copy 160041 MBytes from '/dev/disk/by-id/ata-ST3160815AS_6RX65VV6' to '/dev/disk/by-id/ata-HGST_HTS545032A7E680_RB240EMP06TZHH'
Starting positions: infile = 0 B, outfile = 0 B
Copy block size: 128 sectors Initial skip size: 3200 sectors
Sector size: 512 Bytes
ipos: 116997 MB, non-trimmed: 0 B, current rate: 0 B/s
opos: 116997 MB, non-scraped: 0 B, average rate: 51344 kB/s
non-tried: 0 B, bad-sector: 4096 B, error rate: 170 B/s
rescued: 160041 MB, bad areas: 1, run time: 51m 57s
pct rescued: 99.99%, read errors: 33, remaining time: n/a
time since last successful read: 1m 26s
Finished
ubuntu@ubuntu:~$
-------------------------
HGST320GB は起動して、ブラウザなども使えるのですが、home の一部のフォルダが見えません。
HGST320GB启动,浏览器等也能使用,不过,home的一部分的文件夹看不见。
jin@kyo:~$ sudo zpool status
pool: home
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://zfsonlinux.org/msg/ZFS-8000-8A
scan: scrub repaired 0B in 0 days 00:07:07 with 0 errors on Sun Jun 14 00:31:08 2020
config:
NAME STATE READ WRITE CKSUM
home DEGRADED 0 0 0
sda3 DEGRADED 0 0 40 too many errors
errors: 4 data errors, use '-v' for a list
jin@kyo:~$
ddrescue
之前一直使用的hdd发出了讨厌的声音,破损了。然后在新买的笔记本用hdd上从Ubuntu的LiveCD上
ddrescue
ubuntu@ubuntu:~$ sudo ddrescue -f -r3 -v /dev/disk/by-id/ata-ST3160815AS_6RX65VV6 /dev/disk/by-id/ata-HGST_HTS545032A7E680_RB240EMP06TZHH logfile.log
GNU ddrescue 1.22
About to copy 160041 MBytes from '/dev/disk/by-id/ata-ST3160815AS_6RX65VV6' to '/dev/disk/by-id/ata-HGST_HTS545032A7E680_RB240EMP06TZHH'
Starting positions: infile = 0 B, outfile = 0 B
Copy block size: 128 sectors Initial skip size: 3200 sectors
Sector size: 512 Bytes
ipos: 116997 MB, non-trimmed: 0 B, current rate: 0 B/s
opos: 116997 MB, non-scraped: 0 B, average rate: 51344 kB/s
non-tried: 0 B, bad-sector: 4096 B, error rate: 170 B/s
rescued: 160041 MB, bad areas: 1, run time: 51m 57s
pct rescued: 99.99%, read errors: 33, remaining time: n/a
time since last successful read: 1m 26s
Finished
ubuntu@ubuntu:~$
-------------------------
HGST320GB は起動して、ブラウザなども使えるのですが、home の一部のフォルダが見えません。
HGST320GB启动,浏览器等也能使用,不过,home的一部分的文件夹看不见。
jin@kyo:~$ sudo zpool status
pool: home
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://zfsonlinux.org/msg/ZFS-8000-8A
scan: scrub repaired 0B in 0 days 00:07:07 with 0 errors on Sun Jun 14 00:31:08 2020
config:
NAME STATE READ WRITE CKSUM
home DEGRADED 0 0 0
sda3 DEGRADED 0 0 40 too many errors
errors: 4 data errors, use '-v' for a list
jin@kyo:~$