Results 1 to 3 of 3

Thread: forcefsck on all disks

  1. #1
    Join Date
    Aug 2006
    Location
    Stockholm, Sweden
    Beans
    Hidden!

    forcefsck on all disks

    I want a fschk done on all disks at reboot.
    When I give touch /forcefsck on / it will only check /dev/sda1 ... but what about the other disks ?

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: forcefsck on all disks

    Now that's an interesting question!

    I don't know the answer, but just wanted to say, in case you are not aware, that you can run fsck on all partitions from a live DVD or USB, with command
    Code:
    sudo e2fsck /dev/sdx#
    and are thus able to choose any partition you want.

  3. #3
    Join Date
    Aug 2006
    Location
    Stockholm, Sweden
    Beans
    Hidden!

    Re: forcefsck on all disks

    Yes - I am aware of that but the problem is that I don't get physical access to the server so easily ... that's why I want to do it with ssh.
    Thanks for your input.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •