LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-04-2020, 03:32 AM   #1
staxas
LQ Newbie
 
Registered: Dec 2020
Posts: 1

Rep: Reputation: Disabled
New M.2 disks randomly switches to read-only


I have recently acquired a second hand but well working intel NUC i7, and have bought a new Samsung 970 EVO 1Tb M.2 disk to put into it. I have noticed that every once in a while, say once every two weeks, my disk has gone into read-only mode when I check on it in the morning (this unit is on permanently). When running fsck from 'safe' mode, fixing the disk only finds and fixes orphaned inodes, there are no bad blocks. After the first two times this happened, I had the disk replaced, and put in a surge protector because my electrics are a bit iffy and thought this might be the cause. The replaced disk with the surge protector shows the same behaviour.

Could it be something to do with the very new model of the type of disk I am using, the second hand NUC, or am I missing something?
 
Old 12-04-2020, 02:26 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,153

Rep: Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265
Usually it is the filesystem which has been set to read-pnly due to a disk error. Check the system log in /var/log/ for disk errors which will sometimes give useful information, like sense data. It can also be the disk itself set read-only, but this usually requires issuing a command to the disk controller.
 
Old 12-18-2020, 09:42 PM   #3
nupriest
LQ Newbie
 
Registered: Dec 2020
Posts: 1

Rep: Reputation: Disabled
Thank you! This helps.
 
  


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
New RHES - how to resize current disks and create new the disks spuds99 Linux - Server 3 09-29-2013 06:13 PM
computer randomly switches off Shum Linux - Laptop and Netbook 4 07-26-2010 05:06 AM
Xorg randomly switches between two different screen sizes Tortanick Linux - Desktop 6 11-10-2007 11:14 AM

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

All times are GMT -5. The time now is 03:54 AM.

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