You are not logged in.

#1 2021-11-06 11:31:49

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 596
Website

[Solved] HDD or fs borked?

HW: Lenovo Thinkpad x230 with 320 GB 'real' HDD
OS: BL Lithium default set up with very few tweaks (encrypted disk and mostly running i3 rather than Openbox)
Usage: Side-kick computer for surfing, traveling...

Problem description:

  • Worked fine this morning.

  • Busy HDD after waking up later in the day. Unresponsive but no sign of excessive swapping while looking at htop. Closed down Firefox and other programs but nothing helped. i3 was actually responding fine all the time.

  • Restarted computer and was greeted (after entering encryption pwd successfully) by message saying file system check returned "4".

  • Tried booting Lithium from USB stick. That worked like a charm and mounting the filesystem worked fine. No problems at all apart from forgetting to switch to Swedish keyboard layout at first.


Question: Can I repair the filesystems? How?

Impact if not: New install or at worst new HDD + new install. I have no data I need on that machine.

TIA

/Martin (heading out in the sun...)

Last edited by Martin (2021-11-06 21:49:49)


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

#2 2021-11-06 21:36:00

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 596
Website

Re: [Solved] HDD or fs borked?

Just to cheer you up with full 'error message' and to 'bump' the thread.

  Volume group "BLLi-vg" not found
  Cannot process volume group BLLi-vg
Please unlock disk sda5_crypt:
cryptsetup: sda5_crypt: set up successfully
/dev/mapper/BLLi--vg-root contains a file system with errors, check forced.
/dev/mapper/BLLi--vg-root:
Inodes that were part of a corrupted orphan linked list found.

/dev/mapper/BLLi--vg-root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
        (i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/mapper/BLLi--vg-root requires a manual fsck

BusyBox v1.30.1 (Debian 1:1.30.1-4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

The last line is a command prompt.

Time to search the internet for advice on manual fsck...

/Martin


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

#3 2021-11-06 21:49:31

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 596
Website

Re: [Solved] HDD or fs borked?

That was easy and quick. I found this and entered the following at the abovementioned prompt:

fsck -y /dev/mapper/BLLi--vg-root

A number of actions were taken and once that stopped I re-booted the computer. Now it seems completely normal.

Some more stuff on fsck. I didn't need it this time.

/Martin


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

Board footer

Powered by FluxBB