Forrest logo
back to context overview

e2fsck

List of commands for e2fsck:

  • e2fsck:tldr:0f860 e2fsck: Check filesystem, reporting any damaged blocks.
    $ sudo e2fsck ${-dev-sdXN}
    try on your machine
    explain this command
  • e2fsck:tldr:85556 e2fsck: Perform an exhaustive, non-destructive read-write test for bad blocks and blacklist them.
    $ sudo e2fsck -fccky ${-dev-sdXN}
    try on your machine
    explain this command
  • e2fsck:tldr:9c0cb e2fsck: Check filesystem in read only mode.
    $ sudo e2fsck -c ${-dev-sdXN}
    try on your machine
    explain this command
  • e2fsck:tldr:c3a6f e2fsck: Check filesystem and automatically repair any damaged blocks.
    $ sudo e2fsck -p ${-dev-sdXN}
    try on your machine
    explain this command
back to context overview