LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-11-2018, 11:36 PM   #1
SP7
Member
 
Registered: Aug 2005
Location: US
Distribution: MX-17.1 in a DakTech desktop tower and in a Dell laptop
Posts: 58

Rep: Reputation: 15
Using e2fsck to check all partitions on entire HDD


Two days ago I installed the latest version of my sole OS--> it's now MX-17 (64 bit, run in KDE mode). After all seemed to be well following the installation, I noticed that in those boot lines that fly by when the desktop tower's turned on there's mention of "recovering journal". This continues now even 2 days after the installation of the OS.

I thought it might be useful to run e2fsck to check and perhaps fix what might be bad or wrong. But I've never used e2fsck and have read in the man that a partition examined by e2fsck has to be unmounted first.

If I want e2fsck to examine all partitions in perhaps a single investigation (if that's possible and if that's how it's done), do I run telinit to drop from run level 5 to - I think - run level 3 and then use the command line for e2fsck? Does dropping down to run level 3 make all partitions unmounted?

If I'm told here to remain in run level 5, then open konsole, log in as su, and run e2fsck, can I unmount the root partition to check it or will that not be possible since e2fsck resides there?

[My ' / ' is /dev/sda1, 'extended partition' is /dev/sda2, 'swap' is /dev/sda5, 'home' is /dev/sda6, and 'data' is /dev/sda7 ]
 
Old 01-12-2018, 03:51 AM   #2
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Rep: Reputation: 49
Post Ext sucks

Personnaly I use XFS for years without any flaws, I never liked Ext
 
Old 01-12-2018, 04:12 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,147

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
ext filesystems automatically run fsck if required at every mount (by default).
If this happens continually, I'd suggest you install smartmon-tools and run smartctl over the device to see if it is beginning to fail.
 
  


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
***** FILE SYSTEM WAS MODIFIED ***** on e2fsck -c (badblocks check) alpha01 Linux - Server 4 03-22-2012 05:35 PM
How do I check an entire HDD? SentralOrigin General 6 01-04-2011 03:26 PM
Help with FS check with e2fsck itsakc Linux - Newbie 2 04-20-2010 05:17 AM
e2fsck: root partitions and ro mounted partitions Clemente Linux - General 4 11-06-2006 09:32 PM
did e2fsck mark any blocks bad? how do i check? whysyn Linux - Hardware 1 08-24-2006 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:27 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