resize2fs error:’Please run ‚e2fsck -f /dev/sda1′ first.‘


I had to shrink the first partition of our server recently but GParted and resize2fs had some problems doing it.

There was always the error

Please run ‚e2fsck -f /dev/sda1‘ first.

although I had checked all HDDs right before the attempt to shrink them.

After an hour of searching I found out that the time settings of your system (hardware clock and software clock) have to be correct to let rezise2fs check your last run of e2fsck.

There was no RTC battery installed and so the clocks were wrong. After setting the correct time everything worked 🙂


 Share your views
  1. It’s works for me.

    Matias Colli
    Perito Informatico Forense A-128

  2. Thanks, this was my issue.

Leave a Comment

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.