Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] What's the value-added of journaling filesystems like ext4?
Date: Mon, 04 Nov 2019 22:37:19
Message-Id: 5bf5a142-ea11-f32d-138f-a140abadca63@web.de
In Reply to: Re: [gentoo-user] What's the value-added of journaling filesystems like ext4? by mad.scientist.at.large@tutanota.com
1 Ah, I didn't know that about running fsck multiple times - I remember
2 after doing my home directory - the more important one - it did say
3 "file system modified".  I don't remember if the root fsck said that,
4 though.  But it looks like I'm going to have re-install gentoo, in any
5 case, because virtualbox is all sitting in lost+found.
6
7
8 On 11/04/19 21:53, mad.scientist.at.large@××××××××.com wrote:
9 > You need to run fsck repeatedly until it doesn't report any errors or *******file system modified******** messages before mounting!  you need to run it on all partitions.  Some errors hide under other errors but will show up on the next run.  It's not unusual to have to run fsck 2-3 times, I've had errors on the first 4 runs and had to run a 5th before it was clean (only once in 10+ years).  Don't forget root, you'll have to boot off another partition or external (i.e. thumb drive/optical) in order to properly clean root.  It's best to have a second copy of the O.S. on another partition for these cases, and as backup in case you mung the root directory/OS somehow.  Hopefully you haven't done permanent damage by mounting volumes that were not completely fixed, if you changed anything (or ran a program that does, like firefox etc.) you may have some permanent file loss or have to use a recovery tool to get back what's lost, after running fsck until it thinks the drive is fine.
10 >
11 > -- “The whole world is watching! The whole world is watching!”
12 >
13 >
14 >
15 > Nov 4, 2019, 13:40 by n952162@×××.de:
16 > trying to restore ... virtualbox won't come up (I was in virtualbox when
17 > my window manager lost mouse coordination and I hat to "reboot").
18 >
19 > I see that many of the files in /lost+found have virtualbox strings in
20 > them.  Anybody have an idea how to get them back to their proper places?
21 >
22 >
23 > On 11/04/19 20:47, n952162 wrote:
24 > I had a power-loss situation and when the system came up I went into the
25 > grub rescue screen - my root file system was trashed.  I fsck-ed that
26 > and had a ton of prompts until I did the "all" answer.  I guess it can
27 > happen, every once in a while - even with a journaling filesystem - I
28 > guess.
29 >
30 > I was able to bring up the system but then discovered that my home
31 > filesystem was also trashed, hundreds of files in lost+found and many
32 > gone forever.
33 >
34 > Both filesystems ext4.
35 >
36 > What gives?  Should I have quick  gone out and bought a lottery ticket,
37 > or is journalling just hype?
38 >
39 >

Replies

Subject Author
Re: [gentoo-user] What's the value-added of journaling filesystems like ext4? mad.scientist.at.large@××××××××.com
[gentoo-user] Re: What's the value-added of journaling filesystems like ext4? Ian Zimmerman <itz@××××××××××××.org>