Hello, I have a disk problem. There are bad sectors on it. I'm going to replace it. Is there any way to recover data. I can't backup the VM.
Code:
INFO: starting new backup job: vzdump 100 --remove 0 --node pve --storage local --compress lzo --mode snapshot
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2019-09-10 08:37:34
INFO: status = stopped
INFO: update VM 100: -lock backup
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: VMFreePBX
INFO: include disk 'scsi0' 'local-lvm:vm-100-disk-0' 32G
INFO: snapshots found (not included into backup)
INFO: creating archive '/var/lib/vz/dump/vzdump-qemu-100-2019_09_10-08_37_34.vma.lzo'
INFO: starting kvm to execute backup task
INFO: started backup task 'c7e2c00c-9926-480b-aa3f-deb38233a03d'
INFO: status: 0% (297205760/34359738368), sparse 0% (145285120), duration 3, read/write 99/50 MB/s
INFO: status: 6% (2150498304/34359738368), sparse 5% (1914470400), duration 6, read/write 617/28 MB/s
INFO: status: 6% (2263023616/34359738368), sparse 5% (1914482688), duration 12, read/write 18/18 MB/s
ERROR: job failed with err -5 - Input/output error
INFO: aborting backup job
INFO: stopping kvm after backup task
ERROR: Backup of VM 100 failed - job failed with err -5 - Input/output error
INFO: Failed at 2019-09-10 08:37:50
INFO: Backup job finished with errors
TASK ERROR: job errors
Code:
The following warning/error was logged by the smartd daemon:
Device: /dev/sda [SAT], 56 Currently unreadable (pending) sectors (changed +19)
Device info:
WDC WD7501AALS-00E3A0, S/N:WD-WCATR0344448, WWN:5-0014ee-20421fb64, FW:05.01D05, 750 GB
For details see host's SYSLOG.
You can also use the smartctl utility for further investigation.
The original message about this issue was sent at Thu Jun 20 20:19:06 2019 CEST
Another message will be sent in 24 hours if the problem persists.
Code:
[ 2837.114027] ata1.00: exception Emask 0x0 SAct 0x18000000 SErr 0x0 action 0x0
[ 2837.114042] ata1.00: irq_stat 0x40000008
[ 2837.114050] ata1.00: failed command: READ FPDMA QUEUED
[ 2837.114065] ata1.00: cmd 60/80:d8:00:9f:3a/00:00:0f:00:00/40 tag 27 ncq dma 65536 in
res 41/40:00:0d:9f:3a/00:00:0f:00:00/40 Emask 0x409 (media error) <F>
[ 2837.114081] ata1.00: status: { DRDY ERR }
[ 2837.114083] ata1.00: error: { UNC }
[ 2837.117903] ata1.00: configured for UDMA/133
[ 2837.117928] sd 0:0:0:0: [sda] tag#27 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2837.117933] sd 0:0:0:0: [sda] tag#27 Sense Key : Medium Error [current]
[ 2837.117938] sd 0:0:0:0: [sda] tag#27 Add. Sense: Unrecovered read error - auto reallocate failed
[ 2837.117944] sd 0:0:0:0: [sda] tag#27 CDB: Read(10) 28 00 0f 3a 9f 00 00 00 80 00
[ 2837.117947] print_req_error: I/O error, dev sda, sector 255500045
[ 2837.117997] ata1: EH complete
[ 2839.203440] ata1.00: exception Emask 0x0 SAct 0x110000 SErr 0x0 action 0x0
[ 2839.203454] ata1.00: irq_stat 0x40000008
[ 2839.203462] ata1.00: failed command: READ FPDMA QUEUED
[ 2839.203477] ata1.00: cmd 60/80:80:00:9f:3a/00:00:0f:00:00/40 tag 16 ncq dma 65536 in
res 41/40:00:0d:9f:3a/00:00:0f:00:00/40 Emask 0x409 (media error) <F>
[ 2839.203491] ata1.00: status: { DRDY ERR }
[ 2839.203497] ata1.00: error: { UNC }
[ 2839.206878] ata1.00: configured for UDMA/133
[ 2839.206902] sd 0:0:0:0: [sda] tag#16 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2839.206907] sd 0:0:0:0: [sda] tag#16 Sense Key : Medium Error [current]
[ 2839.206912] sd 0:0:0:0: [sda] tag#16 Add. Sense: Unrecovered read error - auto reallocate failed
[ 2839.206918] sd 0:0:0:0: [sda] tag#16 CDB: Read(10) 28 00 0f 3a 9f 00 00 00 80 00
[ 2839.206921] print_req_error: I/O error, dev sda, sector 255500045