1
vote
1answer
32 views

archlinux check disks on boot

How can I check and mark bad blocks on Linux startup? There are a number of options available and most of them require accessing hardware and running live CD's. But I would like to avoid and perform ...
0
votes
0answers
20 views

ext4 data recovery from gparted error

During resizing and moving 2.7TB partition in Gparted, I encountered an error that froze the whole program. (I dont have a screenshot or output from it, as fas as I remember, it was something about ...
4
votes
1answer
67 views

What is the difference between fsck options -y and -p?

The ext2/3/4 filesystem checker has two options that seem to be very similar, -p and -y. Both seem to perform an automatic repair, but the manpage states that -p can exit when it encounters certain ...
1
vote
4answers
50 views

targeting a specific block with e2fsck to shorten wait

Recently had a LVM'd CentOS 6.5 install get accidentally cold-shutdown. On bootup, it says that the home partition need fscking: /dev/mapper/vg_myserver-lv_home: Block bitmap for group 3072 is not ...
4
votes
2answers
2k views

Fix EXT4-fs bad geometry (block count exceeds size of device)

I have a micro SD card which has a FAT32 partition and an EXT4 partition. The EXT4 partition will no longer mount. dmesg shows the following error: EXT4-fs (sdb2): bad geometry: block count ...
3
votes
1answer
2k views

Short read while trying to open partition

On my personal home computer running Kubuntu Linux 13.04 I'm having trouble mounting a partition that is very dear to me. My backup policy is to perform a backup about monthly, so I do have a backup ...
0
votes
0answers
96 views

e2fsck -y /dev/sda changed my 6TB disk into 1.8TB

After problems with mount I run e2fsck -y -b BLOCK /dev/sda and it was running for 3 days on 6TB raid 0, when it completed this was the output: /dev/sda: ***** FILE SYSTEM WAS MODIFIED ***** ...
2
votes
2answers
1k views

After crash, e2fsck fails with weirdly high block numbers/sizes

After a breaker trip a Raspberry Pi of mine started to halt boot with kernel panic (same message as here). This is a Raspberry Pi running Raspbian, so it runs from a SD card, from a main ext4 ...
1
vote
1answer
184 views

fsck ext4 on ssd: max mountcount and checkinterval

I'm using an ssd as the only drive in my laptop (Debian stable). It seems that SuSE sets mountcount to -1, disabling fsck at boot. The thread linked says that ext4 needn't be fsck'd anyway. Is that ...
1
vote
4answers
5k views

What does “mounting fs with errors” mean in dmesg and what to do after that?

I run dmesg and this is what I see: EXT4-fs (sda1): warning: mounting fs with errors, running e2fsck is recommended EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: Here is the ...
1
vote
1answer
2k views

Extremely long time for an ext4 fsck

The problem that I am having is the extremely long time that fsck is taking. I have thoroughly made searches on Google, but I could not find anything that would resolve the problem. The command that ...
0
votes
1answer
112 views

Safest way to run ext4 fsck on external drive

I have an external drive formatted in ext4 that throws this error message when is plugged in EXT4-fs (sdd2): error count: 8 initial error at 1366215273 last error at 1366215527,it generally works just ...
6
votes
1answer
1k views

Significant difference in speed between fsck using ext3 and ext4 on Debian Squeeze

Recently I installed Debian Squeeze, first using ext3 and then again using ext4 on the same machine. The automatic fsck done after a certain number of mounts is much faster using ext4 (about 1 min) ...
10
votes
1answer
4k views

What does fsck -p (preen) do on ext4?

I was reading a blog post about filesystem repair and the author posted a good question… fsck -p is supposed to fix minor errors automatically without human intervention. But what exactly will it fix ...
5
votes
1answer
3k views

Is there any difference between e2fsck and e4fsck on CentOS / RHEL systems?

ext4.wiki.kernel.org makes it sound like e2fsck was simply renamed to e4fsck so that e4fsprogs and e2fsprogs could coexist without overlapping. However, there is no mention of any difference in the ...
8
votes
4answers
21k views

How can I fsck a partition when the device reads as busy (but has been confirmed otherwise)?

I'm attempting to run fsck -p /dev/sda5 to repair errors on an ext4 partition, however the command outputs fsck from util-linux-ng 2.17.2 fsck.ext4: Device or resource busy while trying to open ...