HDD disaster! Bad blocks on encrypted LVM. Any way to rescue?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
and this creates "/dev/mapper/pajonk-root" device, but i cannot mount it due to read failures:
Quote:
ubuntu@ubuntu:~$ sudo mount /dev/mapper/pajonk-root /volume
mount: you must specify the filesystem type
Quote:
Feb 3 14:48:04 ubuntu kernel: [ 4617.229312] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Feb 3 14:48:04 ubuntu kernel: [ 4617.229317] ata1.01: BMDMA stat 0x65
Feb 3 14:48:04 ubuntu kernel: [ 4617.229324] ata1.01: cmd c8/00:08:c7:09:00/00:00:00:00:00/f0 tag 0 dma 4096 in
Feb 3 14:48:04 ubuntu kernel: [ 4617.229325] res 51/40:08:c7:09:00/00:00:00:00:00/f0 Emask 0x9 (media error)
Feb 3 14:48:04 ubuntu kernel: [ 4617.229329] ata1.01: status: { DRDY ERR }
Feb 3 14:48:04 ubuntu kernel: [ 4617.229331] ata1.01: error: { UNC }
Feb 3 14:48:04 ubuntu kernel: [ 4617.300200] ata1.00: configured for UDMA/100
Feb 3 14:48:05 ubuntu kernel: [ 4617.440304] ata1.01: configured for UDMA/133
Feb 3 14:48:05 ubuntu kernel: [ 4617.440316] sd 0:0:1:0: [sda] Unhandled sense code
Feb 3 14:48:05 ubuntu kernel: [ 4617.440319] sd 0:0:1:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Feb 3 14:48:05 ubuntu kernel: [ 4617.440323] sd 0:0:1:0: [sda] Sense Key : Medium Error [current] [descriptor]
Feb 3 14:48:05 ubuntu kernel: [ 4617.440328] Descriptor sense data with sense descriptors (in hex):
Feb 3 14:48:05 ubuntu kernel: [ 4617.440330] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
Feb 3 14:48:05 ubuntu kernel: [ 4617.440341] 00 00 09 c7
Feb 3 14:48:05 ubuntu kernel: [ 4617.440345] sd 0:0:1:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
Feb 3 14:48:05 ubuntu kernel: [ 4617.440350] end_request: I/O error, dev sda, sector 2503
Feb 3 14:48:05 ubuntu kernel: [ 4617.440361] __ratelimit: 22 callbacks suppressed
Feb 3 14:48:05 ubuntu kernel: [ 4617.440364] Buffer I/O error on device dm-1, logical block 0
Feb 3 14:48:05 ubuntu kernel: [ 4617.440378] ata1: EH complete
Feb 3 14:48:36 ubuntu wpa_supplicant[1979]: CTRL-EVENT-SCAN-RESULTS
Quote:
Feb 3 14:49:57 ubuntu kernel: [ 4730.280365] Buffer I/O error on device dm-1, logical block 0
Feb 3 14:49:57 ubuntu kernel: [ 4730.280373] Buffer I/O error on device dm-1, logical block 1
Feb 3 14:49:57 ubuntu kernel: [ 4730.280378] Buffer I/O error on device dm-1, logical block 2
Feb 3 14:49:57 ubuntu kernel: [ 4730.280384] Buffer I/O error on device dm-1, logical block 3
Feb 3 14:49:57 ubuntu kernel: [ 4730.280389] Buffer I/O error on device dm-1, logical block 4
Feb 3 14:49:57 ubuntu kernel: [ 4730.280394] Buffer I/O error on device dm-1, logical block 5
Feb 3 14:49:57 ubuntu kernel: [ 4730.280398] Buffer I/O error on device dm-1, logical block 6
Feb 3 14:49:57 ubuntu kernel: [ 4730.280403] Buffer I/O error on device dm-1, logical block 7
Feb 3 14:49:57 ubuntu kernel: [ 4730.280408] Buffer I/O error on device dm-1, logical block 8
also tried to check this drive:
Quote:
ubuntu@ubuntu:~$ sudo fsck -c /dev/mapper/pajonk-root
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/mapper/pajonk-root
Could this be a zero-length partition?
Quote:
ubuntu@ubuntu:~$ sudo fsck -c /dev/mapper/pajonk-root
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/mapper/pajonk-root
Could this be a zero-length partition?
Is there any chance to read data from this device. There are only 110 badblocks so most of my data should be fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.