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
ianboag

103 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
Zeon
3883 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


 
 
 

GoodSync. Easily back up and sync your files with GoodSync. Simple and secure file backup and synchronisation software will ensure that your files are never lost (affiliate link).
marpada
441 posts

Ultimate Geek


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

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


hio77
'That VDSL Cat'
12989 posts

Uber Geek

ID Verified
Trusted
Voyager
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 and reviews »

Synology Introduces BeeStation
Posted 23-Feb-2024 14:14


New One UI 6.1 Update Brings Galaxy AI to More Galaxy Devices
Posted 23-Feb-2024 10:50


Amazon Echo Hub Available in New Zealand
Posted 23-Feb-2024 10:40


InternetNZ Releases Internet Insights 2023
Posted 20-Feb-2024 10:31


Seagate Adds 24TB IronWolf Pro Hard Drives for Multi-user Commercial and Enterprise RAID Storage Solutions
Posted 19-Feb-2024 16:54


Seagate Skyhawk AI 24TB Elevates Edge Security Capacity and Performance
Posted 9-Feb-2024 17:18


GoPro Releases Quik Desktop App for macOS and Introduces Premium+ Subscription Tier
Posted 9-Feb-2024 17:14


Ring Introduces New Ring Battery Video Doorbell Pro
Posted 9-Feb-2024 16:51


Galaxy AI Transforms the new Galaxy S24 Series
Posted 18-Jan-2024 07:00


D-Link launches AI-Powered Aquila Pro M30 Wi-Fi 6 Mesh Systems
Posted 17-Jan-2024 20:02


Newest LG 4K Lifestyle Projector Doubles as Art Objet
Posted 9-Jan-2024 15:50


More LG Smart TV Owners Set To Enjoy the Latest webOS Upgrade
Posted 9-Jan-2024 15:45


Panasonic Announces the Z95A and Z93A With Fire TV Built In
Posted 9-Jan-2024 15:30


Amazon Echo Pop Review
Posted 8-Jan-2024 14:22


Samsung Tab S9 FE Review
Posted 17-Dec-2023 08:26









Geekzone Live »

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



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.