All of lore.kernel.org
 help / color / mirror / Atom feed
* error mounting, input/output error
@ 2017-12-02  7:21 customersupport-F+CjGebjtwRZroRs9YW3xA
       [not found] ` <20171202072129.Horde.hTiH1buA85eVlzWo5n2UQ-5-F+CjGebjtwRZroRs9YW3xA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: customersupport-F+CjGebjtwRZroRs9YW3xA @ 2017-12-02  7:21 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA




I have a working hard drive that stopped being able to read the nilfs2
partition after a low battery laptop shutdown

There is no fsck function available, and I failed to copy the image and
reinstall to a reformated partition- as explained below.

Can someone please suggest how to recover the data?

When mounting the partition with

mount -t "nilfs2" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb2"
"/media/user/Unallocated"
or
mount -t "nilfs2" -o "errors=continue,uhelper=udisks2,nodev,nosuid"
"/dev/sdb2" "/media/user/Unallocated"

I get an I/O error "Error while mounting... Input/output error"

output of dmesg


[ 3521.639526] NILFS (sdb2): mounting unchecked fs
[ 3524.672660] ata2.00: exception Emask 0x0 SAct 0x3e000 SErr 0x0 action 0x0
[ 3524.672668] ata2.00: irq_stat 0x40000008
[ 3524.672673] ata2.00: failed command: READ FPDMA QUEUED
[ 3524.672681] ata2.00: cmd 60/40:68:c0:5d:ba/05:00:e3:00:00/40 tag 13
ncq dma 688128 in
                         res 41/40:00:e0:60:ba/00:00:e3:00:00/40 Emask
0x409 (media error) <F>
[ 3524.672684] ata2.00: status: { DRDY ERR }
[ 3524.672687] ata2.00: error: { UNC }
[ 3524.686112] ata2.00: configured for UDMA/133
[ 3524.686206] sd 1:0:0:0: [sdb] tag#13 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[ 3524.686210] sd 1:0:0:0: [sdb] tag#13 Sense Key : Medium Error [current]
[ 3524.686213] sd 1:0:0:0: [sdb] tag#13 Add. Sense: Unrecovered read
error - auto reallocate failed
[ 3524.686218] sd 1:0:0:0: [sdb] tag#13 CDB: Read(10) 28 00 e3 ba 5d c0
00 05 40 00
[ 3524.686221] print_req_error: I/O error, dev sdb, sector 3820642528
[ 3524.686272] ata2: EH complete
[ 3527.523500] ata2.00: exception Emask 0x0 SAct 0x4000000 SErr 0x0
action 0x0
[ 3527.523507] ata2.00: irq_stat 0x40000008
[ 3527.523510] ata2.00: failed command: READ FPDMA QUEUED
[ 3527.523514] ata2.00: cmd 60/08:d0:e0:60:ba/00:00:e3:00:00/40 tag 26
ncq dma 4096 in
                         res 41/40:00:e0:60:ba/00:00:e3:00:00/40 Emask
0x409 (media error) <F>
[ 3527.523516] ata2.00: status: { DRDY ERR }
[ 3527.523517] ata2.00: error: { UNC }
[ 3527.536847] ata2.00: configured for UDMA/133
[ 3527.536869] sd 1:0:0:0: [sdb] tag#26 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[ 3527.536874] sd 1:0:0:0: [sdb] tag#26 Sense Key : Medium Error [current]
[ 3527.536878] sd 1:0:0:0: [sdb] tag#26 Add. Sense: Unrecovered read
error - auto reallocate failed
[ 3527.536885] sd 1:0:0:0: [sdb] tag#26 CDB: Read(10) 28 00 e3 ba 60 e0
00 00 08 00
[ 3527.536887] print_req_error: I/O error, dev sdb, sector 3820642528
[ 3527.536927] ata2: EH complete
[ 3527.536930] NILFS (sdb2): I/O error reading segment
[ 3527.536932] NILFS (sdb2): error -5 while searching super root
--------------------------------------

I tried to clone the partition with partclone using this command

sudo partclone.nilfs2 -c -d -s /dev/sdb2 | gzip -c > /dev/sdb1/sdb2.gz

, but received this error in the logfile:

-------------------

Partclone v0.3.6 http://partclone.org
Starting to clone device (/dev/sdb2) to image (-)
UID is root.
source=/dev/sdb2, target=-
open source file/device /dev/sdb2
open target file/device -
Initiate image options - version 0002
Initial image hdr - get Super Block from partition
Reading Super Block
nilfsclone.c: cannot open NILFS on /dev/sdb2: Invalid argument

-------------------

I don't know if this is helpful, but here is the output of nilfs-tune

$ sudo nilfs-tune -l /dev/sdb2
[sudo] password for user:
nilfs-tune 2.2.6
Filesystem volume name:      Unallocated
Filesystem UUID:      17d750ba-5656-40f5-9b6a-1a608f6d6108
Filesystem magic number:  0x3434
Filesystem revision #:      2.0
Filesystem features:      (none)
Filesystem state:      invalid or mounted
Filesystem OS type:      Linux
Block size:          4096
Filesystem created:      Mon Oct 23 19:49:38 2017
Last mount time:      Fri Dec  1 15:10:48 2017
Last write time:      Fri Dec  1 16:39:31 2017
Mount count:          32
Maximum mount count:      50
Reserve blocks uid:      0 (user root)
Reserve blocks gid:      0 (group root)
First inode:          11
Inode size:          128
DAT entry size:          32
Checkpoint size:      192
Segment usage size:      16
Number of segments:      61625
Device size:          516950065152
First data block:      1
# of blocks per segment:  2048
Reserved segments %:      5
Last checkpoint #:      449665
Last block address:      115409102
Last sequence #:      114861
Free blocks count:      30955520
Commit interval:      0
# of blks to create seg:  0
CRC seed:          0x157de9a6
CRC check sum:          0xb33a8ce1
CRC check data size:      0x00000118
user@user:~$ nilfs-utils




--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error mounting, input/output error
       [not found] ` <20171202072129.Horde.hTiH1buA85eVlzWo5n2UQ-5-F+CjGebjtwRZroRs9YW3xA@public.gmane.org>
@ 2017-12-02 11:00   ` Ryusuke Konishi
  2017-12-02 14:12   ` Jérôme Poulin
  1 sibling, 0 replies; 6+ messages in thread
From: Ryusuke Konishi @ 2017-12-02 11:00 UTC (permalink / raw)
  To: customersupport-F+CjGebjtwRZroRs9YW3xA; +Cc: linux-nilfs

2017-12-02 16:21 GMT+09:00  <customersupport-F+CjGebjtwRZroRs9YW3xA@public.gmane.org>:
>
>
>
> I have a working hard drive that stopped being able to read the nilfs2
> partition after a low battery laptop shutdown
>
> There is no fsck function available, and I failed to copy the image and
> reinstall to a reformated partition- as explained below.
>
> Can someone please suggest how to recover the data?
>
> When mounting the partition with
>
> mount -t "nilfs2" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb2"
> "/media/user/Unallocated"
> or
> mount -t "nilfs2" -o "errors=continue,uhelper=udisks2,nodev,nosuid"
> "/dev/sdb2" "/media/user/Unallocated"
>
> I get an I/O error "Error while mounting... Input/output error"
>
> output of dmesg
>
>
> [ 3521.639526] NILFS (sdb2): mounting unchecked fs
> [ 3524.672660] ata2.00: exception Emask 0x0 SAct 0x3e000 SErr 0x0 action 0x0
> [ 3524.672668] ata2.00: irq_stat 0x40000008
> [ 3524.672673] ata2.00: failed command: READ FPDMA QUEUED
> [ 3524.672681] ata2.00: cmd 60/40:68:c0:5d:ba/05:00:e3:00:00/40 tag 13
> ncq dma 688128 in
>                         res 41/40:00:e0:60:ba/00:00:e3:00:00/40 Emask
> 0x409 (media error) <F>
> [ 3524.672684] ata2.00: status: { DRDY ERR }
> [ 3524.672687] ata2.00: error: { UNC }
> [ 3524.686112] ata2.00: configured for UDMA/133
> [ 3524.686206] sd 1:0:0:0: [sdb] tag#13 FAILED Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [ 3524.686210] sd 1:0:0:0: [sdb] tag#13 Sense Key : Medium Error [current]
> [ 3524.686213] sd 1:0:0:0: [sdb] tag#13 Add. Sense: Unrecovered read
> error - auto reallocate failed
> [ 3524.686218] sd 1:0:0:0: [sdb] tag#13 CDB: Read(10) 28 00 e3 ba 5d c0
> 00 05 40 00
> [ 3524.686221] print_req_error: I/O error, dev sdb, sector 3820642528
> [ 3524.686272] ata2: EH complete
> [ 3527.523500] ata2.00: exception Emask 0x0 SAct 0x4000000 SErr 0x0
> action 0x0
> [ 3527.523507] ata2.00: irq_stat 0x40000008
> [ 3527.523510] ata2.00: failed command: READ FPDMA QUEUED
> [ 3527.523514] ata2.00: cmd 60/08:d0:e0:60:ba/00:00:e3:00:00/40 tag 26
> ncq dma 4096 in
>                         res 41/40:00:e0:60:ba/00:00:e3:00:00/40 Emask
> 0x409 (media error) <F>
> [ 3527.523516] ata2.00: status: { DRDY ERR }
> [ 3527.523517] ata2.00: error: { UNC }
> [ 3527.536847] ata2.00: configured for UDMA/133
> [ 3527.536869] sd 1:0:0:0: [sdb] tag#26 FAILED Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [ 3527.536874] sd 1:0:0:0: [sdb] tag#26 Sense Key : Medium Error [current]
> [ 3527.536878] sd 1:0:0:0: [sdb] tag#26 Add. Sense: Unrecovered read
> error - auto reallocate failed
> [ 3527.536885] sd 1:0:0:0: [sdb] tag#26 CDB: Read(10) 28 00 e3 ba 60 e0
> 00 00 08 00
> [ 3527.536887] print_req_error: I/O error, dev sdb, sector 3820642528
> [ 3527.536927] ata2: EH complete
> [ 3527.536930] NILFS (sdb2): I/O error reading segment
> [ 3527.536932] NILFS (sdb2): error -5 while searching super root
> --------------------------------------

Look like nilfs aborted to mount due to an I/O error of underlying block device.

Make sure whether you can directly read the device or not with dd command.

Regards,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error mounting, input/output error
       [not found] ` <20171202072129.Horde.hTiH1buA85eVlzWo5n2UQ-5-F+CjGebjtwRZroRs9YW3xA@public.gmane.org>
  2017-12-02 11:00   ` Ryusuke Konishi
@ 2017-12-02 14:12   ` Jérôme Poulin
  1 sibling, 0 replies; 6+ messages in thread
From: Jérôme Poulin @ 2017-12-02 14:12 UTC (permalink / raw)
  To: customersupport-F+CjGebjtwRZroRs9YW3xA; +Cc: linux-nilfs

On Dec 2, 2017 02:39, <customersupport-F+CjGebjtwRZroRs9YW3xA@public.gmane.org> wrote:
>
>
> There is no fsck function available, and I failed to copy the image and
> reinstall to a reformated partition- as explained below.

Using fsck when there are IO errors would cause even more data lost.

>
> I get an I/O error "Error while mounting... Input/output error"
>
> output of dmesg
>
>
> [ 3521.639526] NILFS (sdb2): mounting unchecked fs
> [ 3524.672660] ata2.00: exception Emask 0x0 SAct 0x3e000 SErr 0x0 action 0x0
> [ 3524.672668] ata2.00: irq_stat 0x40000008
> [ 3524.672673] ata2.00: failed command: READ FPDMA QUEUED
> [ 3524.672681] ata2.00: cmd 60/40:68:c0:5d:ba/05:00:e3:00:00/40 tag 13
> ncq dma 688128 in
>                         res 41/40:00:e0:60:ba/00:00:e3:00:00/40 Emask
> 0x409 (media error) <F>
> [ 3524.672684] ata2.00: status: { DRDY ERR }
> [ 3524.672687] ata2.00: error: { UNC }
> [ 3524.686112] ata2.00: configured for UDMA/133
> [ 3524.686206] sd 1:0:0:0: [sdb] tag#13 FAILED Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [ 3524.686210] sd 1:0:0:0: [sdb] tag#13 Sense Key : Medium Error [current]
> [ 3524.686213] sd 1:0:0:0: [sdb] tag#13 Add. Sense: Unrecovered read
> error - auto reallocate failed
> [ 3524.686218] sd 1:0:0:0: [sdb] tag#13 CDB: Read(10) 28 00 e3 ba 5d c0
> 00 05 40 00
> [ 3524.686221] print_req_error: I/O error, dev sdb, sector 3820642528
> [ 3524.686272] ata2: EH complete

When you see this message in the log, your best bet is to use ddrescue
to copy thee disk onto a new one and try to mount again. Anything else
will only damage the disk even more.
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error mounting, input/output error
       [not found] ` <ec8264d8-fb4c-b584-88c1-41ba293aa826-F+CjGebjtwRZroRs9YW3xA@public.gmane.org>
@ 2017-12-03 20:46   ` Peter Grandi
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Grandi @ 2017-12-03 20:46 UTC (permalink / raw)
  To: Linux fs NILFS

> There is no fsck function available, and I failed to copy the
> image and reinstall to a reformated partition- as explained
> below.

The traditional recovery technique is to mount an earlier
checkpoint, and then to make it  by turning it
into a snapshot. Something like:

  lscp /dev/sdb2 | less
  mount -t nilfs -o ro,nogc,norecvovery,cp=... /dev/sdb2 /mnt/sdb2
  chcp ss /dev/sdb2 ...

It is quite important to specify 'nogc' to make sure that
earlier possibly "good" checkpoints are not deleted by the
cleaner daemon.

> Can someone please suggest how to recover the data?
> [ ... ]
> [ 3527.536887] print_req_error: I/O error, dev sdb, sector 3820642528

Well, the disk has hardware issues (around the end, that sector
is about 1.8TiB from the beginning), and the easiest thing would
be to restore from backup onto a new disk.

Investigasting the extent of disk damage with 'smartctl -x
/dev/sdb | less' might be useful, as well as any other standard
disk damage investigation and mitigation technique.

Then you can use 'ddrescue' to image the block device onto a
new known-good block device and then mount a checkpoint from
that.
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* error mounting, input/output error
@ 2017-12-02  7:47 customersupport-F+CjGebjtwRZroRs9YW3xA
  0 siblings, 0 replies; 6+ messages in thread
From: customersupport-F+CjGebjtwRZroRs9YW3xA @ 2017-12-02  7:47 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA




I have a working hard drive that stopped being able to read the nilfs2
partition after a low battery laptop shutdown

There is no fsck function available, and I failed to copy the image and
reinstall to a reformated partition- as explained below.

Can someone please suggest how to recover the data?

When mounting the partition with

mount -t "nilfs2" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb2"
"/media/user/Unallocated"
or
mount -t "nilfs2" -o "errors=continue,uhelper=udisks2,nodev,nosuid"
"/dev/sdb2" "/media/user/Unallocated"

I get an I/O error "Error while mounting... Input/output error"

output of dmesg


[ 3521.639526] NILFS (sdb2): mounting unchecked fs
[ 3524.672660] ata2.00: exception Emask 0x0 SAct 0x3e000 SErr 0x0 action 0x0
[ 3524.672668] ata2.00: irq_stat 0x40000008
[ 3524.672673] ata2.00: failed command: READ FPDMA QUEUED
[ 3524.672681] ata2.00: cmd 60/40:68:c0:5d:ba/05:00:e3:00:00/40 tag 13
ncq dma 688128 in
                         res 41/40:00:e0:60:ba/00:00:e3:00:00/40 Emask
0x409 (media error) <F>
[ 3524.672684] ata2.00: status: { DRDY ERR }
[ 3524.672687] ata2.00: error: { UNC }
[ 3524.686112] ata2.00: configured for UDMA/133
[ 3524.686206] sd 1:0:0:0: [sdb] tag#13 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[ 3524.686210] sd 1:0:0:0: [sdb] tag#13 Sense Key : Medium Error [current]
[ 3524.686213] sd 1:0:0:0: [sdb] tag#13 Add. Sense: Unrecovered read
error - auto reallocate failed
[ 3524.686218] sd 1:0:0:0: [sdb] tag#13 CDB: Read(10) 28 00 e3 ba 5d c0
00 05 40 00
[ 3524.686221] print_req_error: I/O error, dev sdb, sector 3820642528
[ 3524.686272] ata2: EH complete
[ 3527.523500] ata2.00: exception Emask 0x0 SAct 0x4000000 SErr 0x0
action 0x0
[ 3527.523507] ata2.00: irq_stat 0x40000008
[ 3527.523510] ata2.00: failed command: READ FPDMA QUEUED
[ 3527.523514] ata2.00: cmd 60/08:d0:e0:60:ba/00:00:e3:00:00/40 tag 26
ncq dma 4096 in
                         res 41/40:00:e0:60:ba/00:00:e3:00:00/40 Emask
0x409 (media error) <F>
[ 3527.523516] ata2.00: status: { DRDY ERR }
[ 3527.523517] ata2.00: error: { UNC }
[ 3527.536847] ata2.00: configured for UDMA/133
[ 3527.536869] sd 1:0:0:0: [sdb] tag#26 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[ 3527.536874] sd 1:0:0:0: [sdb] tag#26 Sense Key : Medium Error [current]
[ 3527.536878] sd 1:0:0:0: [sdb] tag#26 Add. Sense: Unrecovered read
error - auto reallocate failed
[ 3527.536885] sd 1:0:0:0: [sdb] tag#26 CDB: Read(10) 28 00 e3 ba 60 e0
00 00 08 00
[ 3527.536887] print_req_error: I/O error, dev sdb, sector 3820642528
[ 3527.536927] ata2: EH complete
[ 3527.536930] NILFS (sdb2): I/O error reading segment
[ 3527.536932] NILFS (sdb2): error -5 while searching super root
--------------------------------------

I tried to clone the partition with partclone using this command

sudo partclone.nilfs2 -c -d -s /dev/sdb2 | gzip -c > /dev/sdb1/sdb2.gz

, but received this error in the logfile:

-------------------

Partclone v0.3.6 http://partclone.org
Starting to clone device (/dev/sdb2) to image (-)
UID is root.
source=/dev/sdb2, target=-
open source file/device /dev/sdb2
open target file/device -
Initiate image options - version 0002
Initial image hdr - get Super Block from partition
Reading Super Block
nilfsclone.c: cannot open NILFS on /dev/sdb2: Invalid argument

-------------------

I don't know if this is helpful, but here is the output of nilfs-tune

$ sudo nilfs-tune -l /dev/sdb2
[sudo] password for user:
nilfs-tune 2.2.6
Filesystem volume name:      Unallocated
Filesystem UUID:      17d750ba-5656-40f5-9b6a-1a608f6d6108
Filesystem magic number:  0x3434
Filesystem revision #:      2.0
Filesystem features:      (none)
Filesystem state:      invalid or mounted
Filesystem OS type:      Linux
Block size:          4096
Filesystem created:      Mon Oct 23 19:49:38 2017
Last mount time:      Fri Dec  1 15:10:48 2017
Last write time:      Fri Dec  1 16:39:31 2017
Mount count:          32
Maximum mount count:      50
Reserve blocks uid:      0 (user root)
Reserve blocks gid:      0 (group root)
First inode:          11
Inode size:          128
DAT entry size:          32
Checkpoint size:      192
Segment usage size:      16
Number of segments:      61625
Device size:          516950065152
First data block:      1
# of blocks per segment:  2048
Reserved segments %:      5
Last checkpoint #:      449665
Last block address:      115409102
Last sequence #:      114861
Free blocks count:      30955520
Commit interval:      0
# of blks to create seg:  0
CRC seed:          0x157de9a6
CRC check sum:          0xb33a8ce1
CRC check data size:      0x00000118
user@user:~$ nilfs-utils




--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* error mounting, input/output error
@ 2017-12-01 14:53 customersupport-F+CjGebjtwRZroRs9YW3xA
       [not found] ` <ec8264d8-fb4c-b584-88c1-41ba293aa826-F+CjGebjtwRZroRs9YW3xA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: customersupport-F+CjGebjtwRZroRs9YW3xA @ 2017-12-01 14:53 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

I have a working hard drive that stopped being able to read the nilfs2
partition after a low battery laptop shutdown

There is no fsck function available, and I failed to copy the image and
reinstall to a reformated partition- as explained below.

Can someone please suggest how to recover the data?

When mounting the partition with

mount -t "nilfs2" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb2"
"/media/user/Unallocated"
or
mount -t "nilfs2" -o "errors=continue,uhelper=udisks2,nodev,nosuid"
"/dev/sdb2" "/media/user/Unallocated"

I get an I/O error "Error while mounting... Input/output error"

output of dmesg


[ 3521.639526] NILFS (sdb2): mounting unchecked fs
[ 3524.672660] ata2.00: exception Emask 0x0 SAct 0x3e000 SErr 0x0 action 0x0
[ 3524.672668] ata2.00: irq_stat 0x40000008
[ 3524.672673] ata2.00: failed command: READ FPDMA QUEUED
[ 3524.672681] ata2.00: cmd 60/40:68:c0:5d:ba/05:00:e3:00:00/40 tag 13
ncq dma 688128 in
                        res 41/40:00:e0:60:ba/00:00:e3:00:00/40 Emask
0x409 (media error) <F>
[ 3524.672684] ata2.00: status: { DRDY ERR }
[ 3524.672687] ata2.00: error: { UNC }
[ 3524.686112] ata2.00: configured for UDMA/133
[ 3524.686206] sd 1:0:0:0: [sdb] tag#13 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[ 3524.686210] sd 1:0:0:0: [sdb] tag#13 Sense Key : Medium Error [current]
[ 3524.686213] sd 1:0:0:0: [sdb] tag#13 Add. Sense: Unrecovered read
error - auto reallocate failed
[ 3524.686218] sd 1:0:0:0: [sdb] tag#13 CDB: Read(10) 28 00 e3 ba 5d c0
00 05 40 00
[ 3524.686221] print_req_error: I/O error, dev sdb, sector 3820642528
[ 3524.686272] ata2: EH complete
[ 3527.523500] ata2.00: exception Emask 0x0 SAct 0x4000000 SErr 0x0
action 0x0
[ 3527.523507] ata2.00: irq_stat 0x40000008
[ 3527.523510] ata2.00: failed command: READ FPDMA QUEUED
[ 3527.523514] ata2.00: cmd 60/08:d0:e0:60:ba/00:00:e3:00:00/40 tag 26
ncq dma 4096 in
                        res 41/40:00:e0:60:ba/00:00:e3:00:00/40 Emask
0x409 (media error) <F>
[ 3527.523516] ata2.00: status: { DRDY ERR }
[ 3527.523517] ata2.00: error: { UNC }
[ 3527.536847] ata2.00: configured for UDMA/133
[ 3527.536869] sd 1:0:0:0: [sdb] tag#26 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[ 3527.536874] sd 1:0:0:0: [sdb] tag#26 Sense Key : Medium Error [current]
[ 3527.536878] sd 1:0:0:0: [sdb] tag#26 Add. Sense: Unrecovered read
error - auto reallocate failed
[ 3527.536885] sd 1:0:0:0: [sdb] tag#26 CDB: Read(10) 28 00 e3 ba 60 e0
00 00 08 00
[ 3527.536887] print_req_error: I/O error, dev sdb, sector 3820642528
[ 3527.536927] ata2: EH complete
[ 3527.536930] NILFS (sdb2): I/O error reading segment
[ 3527.536932] NILFS (sdb2): error -5 while searching super root
--------------------------------------

I tried to clone the partition with partclone using this command

sudo partclone.nilfs2 -c -d -s /dev/sdb2 | gzip -c > /dev/sdb1/sdb2.gz

, but received this error in the logfile:

-------------------

Partclone v0.3.6 http://partclone.org
Starting to clone device (/dev/sdb2) to image (-)
UID is root.
source=/dev/sdb2, target=-
open source file/device /dev/sdb2
open target file/device -
Initiate image options - version 0002
Initial image hdr - get Super Block from partition
Reading Super Block
nilfsclone.c: cannot open NILFS on /dev/sdb2: Invalid argument

-------------------

I don't know if this is helpful, but here is the output of nilfs-tune

$ sudo nilfs-tune -l /dev/sdb2
[sudo] password for user:
nilfs-tune 2.2.6
Filesystem volume name:      Unallocated
Filesystem UUID:      17d750ba-5656-40f5-9b6a-1a608f6d6108
Filesystem magic number:  0x3434
Filesystem revision #:      2.0
Filesystem features:      (none)
Filesystem state:      invalid or mounted
Filesystem OS type:      Linux
Block size:          4096
Filesystem created:      Mon Oct 23 19:49:38 2017
Last mount time:      Fri Dec  1 15:10:48 2017
Last write time:      Fri Dec  1 16:39:31 2017
Mount count:          32
Maximum mount count:      50
Reserve blocks uid:      0 (user root)
Reserve blocks gid:      0 (group root)
First inode:          11
Inode size:          128
DAT entry size:          32
Checkpoint size:      192
Segment usage size:      16
Number of segments:      61625
Device size:          516950065152
First data block:      1
# of blocks per segment:  2048
Reserved segments %:      5
Last checkpoint #:      449665
Last block address:      115409102
Last sequence #:      114861
Free blocks count:      30955520
Commit interval:      0
# of blks to create seg:  0
CRC seed:          0x157de9a6
CRC check sum:          0xb33a8ce1
CRC check data size:      0x00000118
user@user:~$ nilfs-utils


--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-03 20:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-02  7:21 error mounting, input/output error customersupport-F+CjGebjtwRZroRs9YW3xA
     [not found] ` <20171202072129.Horde.hTiH1buA85eVlzWo5n2UQ-5-F+CjGebjtwRZroRs9YW3xA@public.gmane.org>
2017-12-02 11:00   ` Ryusuke Konishi
2017-12-02 14:12   ` Jérôme Poulin
  -- strict thread matches above, loose matches on Subject: below --
2017-12-02  7:47 customersupport-F+CjGebjtwRZroRs9YW3xA
2017-12-01 14:53 customersupport-F+CjGebjtwRZroRs9YW3xA
     [not found] ` <ec8264d8-fb4c-b584-88c1-41ba293aa826-F+CjGebjtwRZroRs9YW3xA@public.gmane.org>
2017-12-03 20:46   ` Peter Grandi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.