Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


ForumsLinuxfsck


102 posts

Master Geek

Trusted

#195764 3-May-2016 10:13
Send private message

I have a remote Pi with some SD card corruption. Not enough to stop it booting and running, but enough to stop it writing files properly. The problem showed up when I changed some files then rebooted. The changes disappeared ... and a bit of digging revealed that the most likely cause is corruption in the file system.

 

I talk to it via SSH.  

 

When I ran fsck to check but not fix things, it told me there are problems with the internode count. Whatever that is.

 

Can I run fsck and tell it to fix this? Maybe make it do the full fsck as part of the boot sequence ... ? Whatever.

 

I have been reluctant to try this as I don't want to totally kill the system right now. 

 

 


Create new topic
3607 posts

Uber Geek

Trusted

  #1545838 3-May-2016 10:19
Send private message

I don't know specifically about pi but you can't run FSCK with fix option on a mounted filesystem generally. So you probably need to run it as aprt oft he startup process as you mention.





Speedtest 2019-10-14


332 posts

Ultimate Geek


  #1545855 3-May-2016 10:34
Send private message

(TIL) touching a /forcefsck file will force fsck on next reboot.


 
 
 
 


'That VDSL Cat'
12453 posts

Uber Geek

Trusted
Spark
Subscriber

  #1545865 3-May-2016 11:00
Send private message

as above a touch /forcefsck && reboot is all it takes.

 

 





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.

 


Create new topic




News »

Freeview On Demand app launches on Sony Android TVs
Posted 6-Aug-2020 13:35


UFB hits more than one million connections
Posted 6-Aug-2020 09:42


D-Link A/NZ extends COVR Wi-Fi EasyMesh System series with new three-pack
Posted 4-Aug-2020 15:01


New Zealand software Rfider tracks coffee from Colombia all the way to New Zealand businesses
Posted 3-Aug-2020 10:35


Logitech G launches Pro X Wireless gaming headset
Posted 3-Aug-2020 10:21


Sony Alpha 7S III provides supreme imaging performance
Posted 3-Aug-2020 10:11


Sony introduces first CFexpress Type A memory card
Posted 3-Aug-2020 10:05


Marsello acquires Goody consolidating online and in-store marketing position
Posted 30-Jul-2020 16:26


Fonterra first major customer for Microsoft's New Zealand datacentre
Posted 30-Jul-2020 08:07


Everything we learnt at the IBM Cloud Forum 2020
Posted 29-Jul-2020 14:45


Dropbox launches native HelloSign workflow and data residency in Australia
Posted 29-Jul-2020 12:48


Spark launches 5G in Palmerston North
Posted 29-Jul-2020 09:50


Lenovo brings speed and smarter features to new 5G mobile gaming phone
Posted 28-Jul-2020 22:00


Withings raises $60 million to enable bridge between patients and healthcare
Posted 28-Jul-2020 21:51


QNAP integrates Catalyst Cloud Object Storage into Hybrid Backup solution
Posted 28-Jul-2020 21:40



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.