LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old Today, 07:18 AM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,576

Rep: Reputation: 112Reputation: 112
Errors in SSD


[Log in to get rid of this advertisement]
I was copying a bunch of files from one disk to another yesterday and everything went fine for a while. It was a large number of files so I copied them in batches.

The last batch didn't go so well. I ran 'sync' and it took a long time to return. So I checked /var/log/syslog and found a few lines that read "WRITE FPDMA QUEUED". I looked it up and doesn't seem to be good, but I don't quite understand it.

I ran a short test with smartctl and nothing came up.

Today, I decided to run a long test. It doesn't work.

Quote:
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Self-test functions not supported

Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Command "Execute SMART Extended self-test routine immediately in off-line mode" failed: scsi error badly formed scsi parameters
And the short test doesn't work anymore either.

Quote:
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Self-test functions not supported

Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Command "Execute SMART Short self-test routine immediately in off-line mode" failed: scsi error badly formed scsi parameters
I unmounted and mounted the partition again. Still same error.

I opened the directory where I copied all the files yesterday. SpaceFM shows no content and the status bar says, "0 visible (854 hidden)". I had never seen that happen.

I checked the directory with 'ls' on a terminal. Everything seems to be there. Then I opened it with PCManFM. Everything seems to be there. I even opened some files.

What is going on?
 
Old Today, 02:17 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,498

Rep: Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732
What filesystem type was on the drive you copied FROM?
What filesystem type was on the drive you copied TO?
You verified the drive you were copying TO was mounted before running your command, correct? What was the command, did you use cp with parameters or some other command?

Quote:
Today, I decided to run a long test. It doesn't work.
Does that mean running smartctl failed with the error you show? The output shows 'badly formed scsi parameters'. Did you try an online search with that error? I'm not familiar with smartctl so have no suggestions.

With regard to the "WRITE FPDMA QUEUED", an online search turned up a number of sites such as the one below which gives several suggestions.


https://serverfault.com/questions/95...r-running-slow

Quote:
SpaceFM shows no content and the status bar says, "0 visible (854 hidden)"
Is 854 the number of files you expected to copy? When you ran the command ls -a, does the output show the expected files
 
Old Today, 04:00 PM   #3
exerceo
Member
 
Registered: Oct 2022
Posts: 139

Rep: Reputation: 30
Is it an external or internal SSD? How is it attached?

A possible issue is that the SATA adapter does not play well with your SSD. Some SATA adapters don't play well with some devices.

From experience, I have a SATA adapter that works well with external hard drives and SSDs and some optical drives, while other optical drives stop responding after 10 to 20 seconds. But those drives work perfectly fine with a different SATA adapter.

Unfortunately, there is no way to know in advance, so all you can do is buy a new adapter and hope it works.
 
Old Today, 08:25 PM   #4
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,576

Original Poster
Rep: Reputation: 112Reputation: 112
The origin and destiny of the copy were BTRFS file systems.
Yes, both were mounted.
I didn't use cp, I dragged and dropped everything with the SpaceFM file manager.
Both are internal SSDs.

Something good happened. I had three instances of SpaceFM running. I closed all of them, reopened SpaceFM and navigated to the copy target directory. And presto, all the files now seem to be there when I use SpaceFM too.

Something bad happened. I still can't run smartctl -t short on that drive. I did it just a little while after I noticed the error messages in /var/log/syslog. Twice. And now I can't anymore.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
To SSD or not to SSD jlinkels Linux - Hardware 14 10-02-2012 07:36 AM
SSD raid1 vs SSD raid10 advice ? wonker Linux - Hardware 8 05-23-2012 01:46 AM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration