Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231371

Re: "Run fsck manually"..?

From Darac Marjal <mailinglist@darac.org.uk>
Newsgroups linux.debian.user
Subject Re: "Run fsck manually"..?
Date 2021-02-03 09:40 +0100
Message-ID <BElRD-6Er-5@gated-at.bofh.it> (permalink)
References <BEe3M-1Zq-7@gated-at.bofh.it> <BEfsR-2Ix-7@gated-at.bofh.it> <BEhEm-4ho-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 03/02/2021 04:01, David Wright wrote:
> On Wed 03 Feb 2021 at 01:41:54 (+0000), Andy Smith wrote:
>> On Tue, Feb 02, 2021 at 07:13:16PM -0500, hobie of RMN wrote:
>>> My brother's Debian system suddenly says on attempt to boot, "/dev/sda1:
>>> UNEXPECTED INCONSISTENCY:Runfsck manually", and, "inodes that were part of
>>> a corrupted orphan linked list found."
>>>
>>> He enters "fsck" or "fsck /dev/sda1", and in a short while gets fsck
>>> identifying it's version, and nothing else.
>> There can be issues trying to run fsck on a mounted filesystem. What
>> happens if you do:
>>
>> # touch /forcefsck
> I think this is somewhat out of date, is it not.
>
> I force fsck by adding   forcefsck   in grub, ie press e in
> the grub menu, move the cursor to the end of the linux line,
> type forcefsck and press Ctrl-X or F10 to boot. For example,
>
>   linux /boot/vmlinuz-4.19.0-14-amd64 root=LABEL=toto04 ro systemd.show_status=true quiet forcefsck

Good point. I seem to recall there being some discussion a few years ago
around the wisdom of having to write to a file system to fsck it. That
is, if you know the file system is broken and want to fsck it but you
don't have a way to interactively run fsck yourself, do you _really_
want to be modifying the file system? It's entirely possible that, by
writing /forcefsck to the file system, you destroy some other valuable
bit of data that fsck might have been able to save.


Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

"Run fsck manually"..? "hobie of RMN" <hobie@rumormillnews.com> - 2021-02-03 01:20 +0100
  Re: "Run fsck manually"..? Jessica Litwin <jessica@litw.in> - 2021-02-03 01:20 +0100
    Re: "Run fsck manually"..? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-02-03 01:30 +0100
      Re: "Run fsck manually"..? Jeremy Andrews <thejeremy.net@gmail.com> - 2021-02-03 02:20 +0100
        Re: "Run fsck manually"..? "hobie of RMN" <hobie@rumormillnews.com> - 2021-02-03 02:50 +0100
  Re: "Run fsck manually"..? Andy Smith <andy@strugglers.net> - 2021-02-03 02:50 +0100
    Re: "Run fsck manually"..? Andy Smith <andy@strugglers.net> - 2021-02-03 03:40 +0100
      [SOLVED} Re: "Run fsck manually"..? "hobie of RMN" <hobie@rumormillnews.com> - 2021-02-03 05:50 +0100
    Re: "Run fsck manually"..? David Wright <deblis@lionunicorn.co.uk> - 2021-02-03 05:10 +0100
      Re: "Run fsck manually"..? Darac Marjal <mailinglist@darac.org.uk> - 2021-02-03 09:40 +0100
      Re: "Run fsck manually"..? Greg Wooledge <wooledg@eeg.ccf.org> - 2021-02-03 13:40 +0100
        Re: "Run fsck manually"..? David Wright <deblis@lionunicorn.co.uk> - 2021-02-03 17:10 +0100
          Re: "Run fsck manually"..? Greg Wooledge <wooledg@eeg.ccf.org> - 2021-02-03 17:30 +0100
            Re: "Run fsck manually"..? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-02-03 17:40 +0100
            Re: "Run fsck manually"..? David Wright <deblis@lionunicorn.co.uk> - 2021-02-03 21:10 +0100
              Re: "Run fsck manually"..? Greg Wooledge <wooledg@eeg.ccf.org> - 2021-02-03 22:00 +0100
                Re: "Run fsck manually"..? David Wright <deblis@lionunicorn.co.uk> - 2021-02-04 02:10 +0100

csiph-web