“input/output error” during file transfers to/from a drive often means there’s a hardware issue.
To get more details, open a terminal window and issue the following command to monitor for new messages from the Linux kernel’s ring buffer:
sudo dmesg --ctime --follow-new
Then try to copy a file to your USB drive and share the results from the terminal window (please be sure to paste in a preformatted text block so it’s easy to read).
Since you mentioned the volume on your USB drive being formatted as NTFS, I’m assuming the BTRFS volume listed in the screenshot is your computer’s internal drive (“/dev/nvme0n1p3” is a NVMe flash drive).
Those “csum failed” errors mean that the checksums Btrfs does on every block don’t match what was recorded in the metadata.
The next step is to do a quick check to see how bad the filesystem corruption is. In the terminal window, issue the following command to run a read-only check:
Sorry, I copied a line from my earlier post above and didn’t type over “filesystem” with “scrub”.
So in the first screenshot, there was a bad block for each of the MKV files you tried to copy, which means that both video files are damaged. Good news is that many media players can work around small errors, so it might not be a big deal.
The bad news is that Btrfs couldn’t repair the one bad block it found. Given that at least two bad checksums turned up in the dmesg log. I would run a media scan.
The following command does a read-only check for bad blocks:
sudo badblocks -v -s /dev/nvme0n1p3
(A read/write test is better, but only if you have a backup and also at the cost of extra wear-and-tear on the flash storage.)
Also have the NVMe run a self-test if it supports S.M.A.R.T.:
sudo smartctl -t long /dev/nvme0n1
(You’ll need to install the “smartmontools” package if the command above isn’t found.)
After the estimated time to complete the test has passed, check the status:
sudo smartctl -a /dev/nvme0n1
Depending on the results of the badblocks check and S.M.A.R.T test, you should at least reformat the volume so that the NVMe drive has a chance to remap any bad block(s) with spares if at all possible.
I agree, but it may not be obvious how to do that properly. Especially in rich text mode, the text may be modified when pasting, for example quotes are now curly quotes and double minus is turned into m-dash. And I can’t find any documentation about this either.
Could you start a new discussion in Site Help & Feedback and folks can look into it? I usually just use the three backticks method, and that seems to work—but that’s in markdown mode, of course.
The drive is reporting a “SMART overall-health self-assessment test result: FAILED!” because of the temperature.
Measured temperature 81°C: Your drive is currently exactly on its danger-zone warning line. (see “Warning Comp. Temp. Threshold: 81°C, screenshot”
Critical Warning: 0x02: This hex code triggers when the drive goes past its safe temperature limit.
Warning Comp. Temperature Time: 707: Your drive has spent a cumulative total of 707 minutes (nearly 12 hours) operating in this high temperature zone. That’s not good and will reduce lifetime of the drive.
Your log shows: Self-test status: Extended self-test in progress (3% completed). Running an extended read/write self-test forces the SSD controller to work at 100% , which generates massive amounts of heat. I would stop the self-test and not re-run the self-test command because except for increased temperatures, the drive seems entirely healthy:
Percentage Used: 2%
Available Spare: 100%
Media and Data Integrity Errors: 0
In your other screenshot, the drive reports 29°C, which is desirable.
You need to improve cooling/air flow in your case to cope with those temperatures above 70°C - or buy a heat sink and stick it onto the NVME. Ideally, the temperature should stay below 65°C, but definitely below 70°C or the drive will die fast.
It is much preferred that the text shown in the above 2 images be copied and pasted as preformatted text instead of being done as screenshots.
When text is posted it can be searched, quoted, and occupies less space for storage than the image.
Preformatted text is done by first pasting the text then highlight it and click the </> button on the toolbar of the text entry window.
OR
by placing a ``` on the line before the pasted text and again on the line following the pasted text.
Preformatted text allows us to see the content exactly as it was formatted on your screen.
Markdown mode is mentioned above which means the button on the left end of the toolbar for the text entry window should look like this.