LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-04-2020, 11:09 AM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,240

Rep: Reputation: 288Reputation: 288Reputation: 288
e2fsck stalls at 1.73%


Code:
 e2fsck -ccfy /dev/sdc1
returned:
Quote:
e2fsck 1.45.6 (20-Mar-2020)
Checking for bad blocks (non-destructive read-write test)
Testing with random pattern: 1.73% done, 5:17 elapsed. (0/0/0 errors)
where it stuck for an hour.
Code:
 e2fsck -cfy /dev/sdc1
doesn't stick there, finishes in 20 minutes.

That the time stalls, not just the progress, indicate that e2fsck has stalled, not just found a sector that puzzles it so that it can't proceed? Or is the updating of time dependent on the progress of the program?
 
Old 04-05-2020, 08:40 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,192

Rep: Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941
I can guess only: e2fsck examines the disk and you will see "nothing" when the disk itself works on the current I/O request. Probably some internal housekeeping...
Can you reproduce it?
 
Old 04-05-2020, 11:53 PM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,240

Original Poster
Rep: Reputation: 288Reputation: 288Reputation: 288
Quote:
Originally Posted by pan64 View Post
I can guess only: e2fsck examines the disk and you will see "nothing" when the disk itself works on the current I/O request. Probably some internal housekeeping...
I don't think I understand this comment. I would hope the time-keeping works off the timer interrupt, independently of what the program reads from the disk.

Quote:
Originally Posted by pan64 View Post
Can you reproduce it?
It happens every time. I gave up. The disk has worked for 11 years.
 
Old 04-06-2020, 01:47 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,192

Rep: Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941
the disk has its own OS. The system (any PC, linux, windows, whatever) can only ask that OS to do something (usually read or write). But in this case it is some kind of housekeeping (or similar?) and the kernel just waits for the response. Cannot do anything [else] as long as the process is running (=no response from the disk).

Probably the disk is over, probably the best you can do is to replace it.
(and probably smartctl can give you more info, but probably that is not relevant any more)
 
Old 04-06-2020, 05:30 PM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,240

Original Poster
Rep: Reputation: 288Reputation: 288Reputation: 288
Quote:
Originally Posted by pan64 View Post
Probably the disk is over, probably the best you can do is to replace it.
Nah, just specifying the block size made it work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fsck, e2fsck, mke2fs ?'s - RH9 blackx Linux - Newbie 6 05-23-2003 02:02 PM
hd-problem files lost, strange e2fsck message inge_ninge Linux - Newbie 3 01-26-2003 11:45 AM
Qns on Bad partition when e2fsck used Hippolilo Linux - General 2 08-30-2002 07:23 AM
When and how to use e2fsck and badblocks Silly22 Linux - Newbie 5 05-29-2002 03:28 PM
RH7.2-E2FSCK says Filesystem already mounted?!? AceKiller Linux - Newbie 4 05-08-2002 06:12 AM

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

All times are GMT -5. The time now is 09:43 PM.

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