You are not logged in.

#1 2013-02-11 14:30:51

Registered: 2012-09-15
Posts: 101

fsck.ext4 -y /dev/sdb1 only using 1 core to fix file system?


Not sure how it happened but my external 1TB drive ext4 filesystem seems to have got messed up. I used smart tools to check the disk and all reported fine. I've grabbed what I can from the disk and ran fsck.ext4 -y /dev/sdb1 while its unmounted and its running through what looks like a lot of messed up stuff.

Looking in htop fsck is only using one of eight cpu cores at 100% is there anyway to get it to fully utilise the cpu?

I've noticed this for a number of applications before. Is there something I can do to force apps to use multiple cores or is it inherent to the application itself?



#2 2013-02-11 15:09:54

From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: fsck.ext4 -y /dev/sdb1 only using 1 core to fix file system?

Programs have to use multiple threads or processes to run on multiple cores simultaneously.


#3 2013-02-11 15:13:36

Registered: 2009-05-26
Posts: 543

Re: fsck.ext4 -y /dev/sdb1 only using 1 core to fix file system?

Some tasks just cannot be ran in parallel.

'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard


Board footer

Powered by FluxBB