nvme nvme0: I/O 0 (I/O Cmd) QID 1 timeout, aborting, source drive corruption observed
Here are some consecutive fsck runs done on /dev/nvme0n1p3:
-bash-3.2# fsck -f -C /dev/nvme0n1p2 fsck from util-linux 2.34
e2fsck 1.42.12 (29-Aug-2014)
Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information/dev/nvme0n1p2: 335/16384 files (0.6% non-contiguous), 7496/16384 blocks
-bash-3.2# fsck -f -C /dev/nvme0n1p2 fsck from util-linux 2.34
e2fsck 1.42.12 (29-Aug-2014)
Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure
Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Block bitmap differences: -5716 Fix<y>? yes
/dev/nvme0n1p2: ***** FILE SYSTEM WAS MODIFIED ***** /dev/nvme0n1p2: 335/16384 files (0.6% non-contiguous), 7496/16384 blocks -bash-3.2# fsck -f -C /dev/nvme0n1p2
fsck from util-linux 2.34
e2fsck 1.42.12 (29-Aug-2014)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Block bitmap differences: -5716 Fix<y>? yes
/dev/nvme0n1p2: ***** FILE SYSTEM WAS MODIFIED ***** /dev/nvme0n1p2: 335/16384 files (0.6% non-contiguous), 7496/16384 blocks -bash-3.2# fsck -f -C /dev/nvme0n1p2
fsck from util-linux 2.34
e2fsck 1.42.12 (29-Aug-2014)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information/dev/nvme0n1p2: 335/16384 files (0.6% non-contiguous), 7496/16384 blocks
-bash-3.2# fsck -f -C /dev/nvme0n1p2 fsck from util-linux 2.34
e2fsck 1.42.12 (29-Aug-2014)
Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information/dev/nvme0n1p2: 335/16384 files (0.6% non-contiguous), 7496/16384 blocks
-bash-3.2# fsck -f -C /dev/nvme0n1p2 fsck from util-linux 2.34
e2fsck 1.42.12 (29-Aug-2014)
Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information/dev/nvme0n1p2: 335/16384 files (0.6% non-contiguous), 7496/16384 blocks
-bash-3.2# fsck -f -C /dev/nvme0n1p2 fsck from util-linux 2.34
e2fsck 1.42.12 (29-Aug-2014)
Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information/dev/nvme0n1p2: 335/16384 files (0.6% non-contiguous), 7496/16384 blocks
========================================================
There is a very similar partition (same contents) on a SATA drive on the system, and this does not happen there when I test it.
J. Hart
Keith Busch
maintainerQuoted 3 lines · J. Hart
Here are some consecutive fsck runs done on
/dev/nvme0n1p3:-bash-3.2# fsck -f -C
/dev/nvme0n1p2
I'm having some trouble following some of this. You mentioned nvme0n1p3 corruption, but then show nvme0n1p2 instead. Could you possibly relay your recreation steps starting from a freshly formatted nvme drive? Partition setup, device mappers, filesystems, mount options, etc.?
My apologies on that last, it was a typo. I should have said /dev/nvme0n1p2.
There are two ext4 partitions on the nvme drive.
One is /dev/nvme0n1p2, which is a 64 MB partition.
The other is /dev/nvme0n1p3, which is the remainder of that 500GB drive.
The 50 GB transfer was to partition 3 (/dev/nvme0n1p3)
The consecutive fsck runs in the previous message were to the 64 MB partition 2 (/dev/nvme0n1p2).
I am presently updating the util-linux and e2fsprogs packages to see if that makes any difference. The versions I was using were rather old.
Quoted 9 lines · Keith Busch
Quoted 3 lines · J. Hart
Here are some consecutive fsck runs done on
/dev/nvme0n1p3:-bash-3.2# fsck -f -C
/dev/nvme0n1p2I'm having some trouble following some of this. You mentioned nvme0n1p3 corruption, but then show nvme0n1p2 instead. Could you possibly relay your recreation steps starting from a freshly formatted nvme drive? Partition setup, device mappers, filesystems, mount options, etc.?
Keith Busch
maintainerQuoted 5 lines · J. Hart
My apologies on that last, it was a typo. I should have said
/dev/nvme0n1p2.There are two ext4 partitions on the nvme drive.
One is/dev/nvme0n1p2, which is a 64 MB partition.
The other is/dev/nvme0n1p3, which is the remainder of that 500GB drive.
And what about nvme0n1p1? What are the offsets and total sizes of these? What is the logical block format size of your nvme namespace? I'm asking because some drives are known to behave badly if access is not aligned to its NAND page size. NVMe doesn't actually provide a way to know what that size is, but if all partitions are aligned to a power of 2 at least 16k, then partition setup is probably fine.
As I mentioned in an earlier note, I have updated the util-linux and e2fsprogs packages to see if that makes any difference. The versions I was using were rather old. As expected, it unfortunately did not help, although it was a much needed update.
I am out of things to try.
My apologies for being rather a pest about this, but I was hoping I wouldn't have to scrap the time and money I put into it. I'll leave you all undisturbed and make no more requests of you.
With Thanks for your kind attention,
J. Hart
Quoted 9 lines · Keith Busch
Quoted 3 lines · J. Hart
Here are some consecutive fsck runs done on
/dev/nvme0n1p3:-bash-3.2# fsck -f -C
/dev/nvme0n1p2I'm having some trouble following some of this. You mentioned nvme0n1p3 corruption, but then show nvme0n1p2 instead. Could you possibly relay your recreation steps starting from a freshly formatted nvme drive? Partition setup, device mappers, filesystems, mount options, etc.?