Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stop running fsck?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Wed Jun 22, 2011 12:33 am    Post subject: Stop running fsck? Reply with quote

I shut down my server for the first time in probably a year.

Came back to it a few days later, and fsck automagically ran itself on my (very large) data drive. It was a clean shutdown. I've waited for 30 minutes, and it's only at 4%. Done the math, that's a 13 hour wait, and I don't want to wait that long if possible.

Is there a way to interrupt it? I forgot to use tune2fs to disable it, now am I stuck waiting.

(This is a data partition, NOT root/boot/etc.)
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Wed Jun 22, 2011 1:57 am    Post subject: Reply with quote

Control-C doesn't work?
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Wed Jun 22, 2011 3:57 pm    Post subject: Reply with quote

No, I tried Ctrl+C and Ctrl+Break and it continued on.

I wound up letting the thing sit overnight chugging away at it...
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Wed Jun 22, 2011 11:53 pm    Post subject: Reply with quote

If you look at the release notes in the fsck source, it's been handling SIGINT since 2002, but it will only exit if all the child processes exit safely. For some reason, this wasn't the case in your fsck run.

Gentoo init should forward SIGINT to fsck even with parallel startup (bug 223473).
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Wed Jun 22, 2011 11:58 pm    Post subject: Reply with quote

Hmm, I wonder if something is wrong with my keyboard. I'll check it a little later. It was one I found in my closet, so who knows.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum