The tag has no usage guidance, but it has a tag wiki.

learn more… | top users | synonyms

8
votes
2answers
11k views

Running out of memory running fsck on large filesystems

I look after an old Debian linux box (running etch) with only 512 MB of RAM, but a lot of external storage attached. One ext3 filesystem is 2.7 TB in size, and fsck can't check it, because it runs ...
4
votes
2answers
5k views

fsck root filesystem on a remote machine

I have filesystem problems on a machine running Ubuntu 8.04 machine in a colocation facility. What was once a directory now looks like this: b--xr-SrwT 52 825452087 876163170 56, 97 2021-10-10 05:43 ...
5
votes
6answers
5k views

Monitoring XFS filesystem health in Linux

I recently experienced a filesystem meltdown. I had a server running for about 180 days non stop without any issues, but then I noticed weird stuff happen and apparently the ext3 filesystem was in ...
24
votes
3answers
27k views

How do you get e2fsck to show progress information?

I'm running e2fsk on a very large (1TB+) ext3 disk with e2fsck -v /dev/sda1 from RIPLinux booted with PXE. I get e2fsck 1.41.6 (30-May-2009) /dev/sda1 contains a file system with errors, check ...
8
votes
1answer
6k views

ext3_dx_add_entry: Directory index full

Background: I'm running lighttpd 1.4.28-1 on CentOS 5.3 to serve the static assets. Signal: recently, it gets slow sometimes. I'm getting the below errors in the kernel log and /var/log/messages: ...
6
votes
3answers
4k views

e2fsck on large filesystem fails with Error : Memory Allocation Failed

I'm trying to use e2fsck on a large raid array that is 2TB large and uses GPT for partitioning (because of size). There is only 1GB of ram installed on the system and I do not have the ability to add ...
1
vote
1answer
4k views

Filesystem has unsupported features: older fsck.ext3 vs newer mkfs.ext3

For an embedded system I create a filesystem with mkfs.ext3 on a desktop computer. Currently I'm evaluating newer distros for the desktop while the embedded stays the same. When checking the filsystem ...
2
votes
1answer
329 views

Recover ext3 files from hard disk with bad sector

I have a folder of about 5GB that suddenly disappeared. When I checked its hard disk, I found out it has bad sector for about 2-3MB on this folder. Maybe it is on the folder's pointer. The partition ...
2
votes
3answers
17k views

How long does it take to fsck a volume?

We are running a website which is currently serving 3-5 million page views. Our site is a file sharing site and so it contains 250,000 files and few thousand symbolic links. The hard disk is a 1500GB ...
30
votes
3answers
13k views

How can I check /dev/xvda1?

On login to EC2 (Ubuntu) instance, I see *** /dev/xvda1 should be checked for errors *** I can't fsck /dev/xvda1 because it is mounted, and sudo umount /dev/xvda1 fails because it is in use. lsof ...
3
votes
5answers
12k views

Huge amounts of “multiply-claimed blocks” during fsck

The basic question: How long should fsck take to fix a 100GB (17 million block) file with multiply-claimed blocks? The long version of the question: After a UPS failure, I am faced with an Ubuntu ...
4
votes
2answers
2k views

running automated fsck on remote server

I had another question about df, and now i came to conclusion i need to run fsck my partition, i've been reading about it and would like some advice, if possible. The situation is like this, no ...
2
votes
1answer
1k views

How to run fsck on a simfs filesystem under openvz

How do you do a fsck on a simfs filesystem under OpenVZ? You're supposed to not run fsck on a mounted FS. Can you just fsck the image (/vz/private/100 or whatever it's called)? Sorry I can't tag ...
2
votes
2answers
285 views

sshd immediately core dumps after fsck repair

I have a centos server that recently needed a fsck repair on it's main hard drive. After fixing a bunch of inode issues (booting from a system rescue disk), the box booted clean. Most of the ...
2
votes
1answer
707 views

e2fsck aborts: memory allocation failed

I am trying to fix a 9 TB filesystem with e2fsck, however the scan always fails after about 10% or so with the following error: Error storing directory block information: ... Memory allocation failed ...
1
vote
1answer
483 views

e2fsck on a low-memory machine: can I get more out of scratch_files or swap?

I am running CentOS 6 on a 32-bit machine with 1 GB of RAM. I have a 1TB external HDD that I am trying to run e2fsck on. It runs for about an hour and a half and then fails with Error storing ...
1
vote
1answer
535 views

Can I run fsck on a partition which is unmounted but on a live machine?

I have a server which has 4 drives which are each mounted to different areas. I have 2 drives which are giving me trouble and would like to run fsck on them. Can I unmount those drives, run fsck on ...
-1
votes
1answer
220 views

Disaster recovery. MDADM/LVM2 Some advance but stuck on final mount

We made a stupid upgrade on a running server using wrong repositories and the system became totally unbootable. The system, a SLES 11 we used a openSuse repository to upgrade, and everything went ...
-1
votes
2answers
265 views

How to corrupt an ext3 partition so that it will undergo fsck to fix automatically at boot? [closed]

I'm looking for a way to corrupt an ext3 partition safely, so that it can be recovered by fsck on next boot, for testing purposes. Thanks!