Re: e2fsck after hard shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As root you can run this
# touch /forcefsck

Then the next reboot should result in it running an fsck on the root partition 
as part of the boot.

I have an option on my classroom machines, that has it boot with a kernel 
that runs in just ram, and it does an fsck of all of the regular linux partitions 
on the disk to confirm everything is error free.  One could also boot from a 
live cd and run fsck since the partitions should not be mounted.


On 5 Sep 2015 at 7:59, Ralf Corsepius wrote:

Subject:        	Re: e2fsck after hard shutdown
To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
From:           	Ralf Corsepius <rc040203@xxxxxxxxxx>
Date sent:      	Sat, 5 Sep 2015 07:59:50 +0200
Send reply to:  	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>

> On 09/05/2015 07:31 AM, antonio montagnani wrote:
> 
> > do you mean that I could run e2fsck from inside the root shell?
> Yes.
> 
> > I
> > guessed that filesystems were already mounted and e2fsck doesn't work on
> > mounted filesystems.... I have to study. :-)
> 
> Depends, depends on what actually happened/gone wrong.
> 
> In most such cases, the filesystems are mounted read-only or not mounted 
> at all.
> 
> Ralf
> 
> 
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes@xxxxxxxxxxxxxxxx                            
  mailto:msetzerii@xxxxxxxxx
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS
ROSETTA     33898211.543299   |   SETI        61203875.206697
ABC         16613838.513356   |   EINSTEIN    70320821.471095

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux