The tag has no wiki summary.

learn more… | top users | synonyms

19
votes
3answers
19k 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 ...
16
votes
8answers
8k views

Will my system fsck when I reboot?

...and how do I find out? Say I am about to reboot a server. I would like to minimize downtime, so thinking about wrapping reboot in an alias that says "hang on buddy, you're going to hit a fsck on ...
13
votes
2answers
5k views

CentOS thinks Disk is busy, can't mount or fsck

I'm a longtime user, and first time question submitter. I've spent a full day searching this and many other sites for a solution, but I must resort to requesting assistance to resolve my situation. ...
8
votes
2answers
10k 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 ...
8
votes
3answers
4k views

Causes of sudden massive filesystem damage? (“root inode is not a directory”) [closed]

I have a laptop running Maverick (very happily until yesterday), with a Patriot Torx SSD; LUKS encryption of the whole partition; one lvm physical volume on top of that; then home and root in ext4 ...
8
votes
1answer
4k 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: ...
8
votes
4answers
5k views

ext3 fsck time versus partition size

I'm doing the setup for a large-scale storage farm, and to avoid the need for month-long fscks, my plan is to split the storage into numerous smaller filesystems (this is fine, as I have a ...
7
votes
4answers
10k views

How dangerous is it to interrupt an fsck?

How dangerous is it to interrupt an fsck? Has anyone had any direct experience doing this?
6
votes
1answer
2k views

Linux: Print all messages to primary console *and* secondary console (monitor/KVM)?

I run Linux (Red Hat-based, CentOS, SL, versions 5 & 6) on a variety of Supermicro and other whitebox servers. Some have IPMI, some do not. Some of these systems are attached to a ...
6
votes
3answers
3k 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 ...
5
votes
6answers
4k 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 ...
5
votes
3answers
3k views

CentOS disable filesystem check: superblock last mount time is in the future

I'm persistently getting the "Superblock last mount time is in the future" error when booting CentOS 6. I've seen other questions which ask how to resolve this error, but I know exactly why it's ...
5
votes
1answer
228 views

Doing a remote fsck - possible?

We've been deploying fanless PCs for a research study. Some of these are having HD issues as their OS runs from an SD card. I'm seeing cases where I need to fsck a folder or two. I've tried using ...
5
votes
2answers
2k views

How do I recover from a failed fsck?

I ran fsck and now my Linux server (Oracle Enterprise Linux (a Red Hat derivitave)) will not boot. The old blocks are in the lost+found folder. How do I get the box working again without rebuilding? ...
5
votes
1answer
570 views

What exactly does the automated ext3 root file system check?

Recently we encountered a problem (bad blocks) with an ext3 formatted compact flash card running an embedded Linux system. On startup, the root file system check was started, but it seemed to hang ...
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 ...
4
votes
4answers
883 views

is there an fsck for .iso disk images?

I have an iso file on a hard drive that's been having problems. Is there any way to check that the file didn't get corrupted, like an fsck for iso file systems?
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 ...
4
votes
1answer
4k views

fsck.ext4: How to force to check the whole file system?

It seems fsck.ext4 quit very soon, I guess it only checks the journal logs, and do nothing if the journal is clean. Is it? How to force it to check the whole file system? I've tried the -f option, but ...
4
votes
2answers
2k views

Major issues with fsck of 10TB ext3 RAID 6 (memory allocation failed, etc.)

I recently added a 7th 2TB drive to a linux md software RAID 6 setup. After md finished reshaping the array from 6 to 7 drives (from 8 to 10TB), I was still able to mount the file system without ...
4
votes
1answer
4k views

How to check fsck results, ran at boot, on remote machine?

I did touch /forcefsck && reboot on remote machine, using Ubuntu 9.10. How I can find out if there were any errors corrected? How I can find out what the result of the fsck was? Thanks
4
votes
2answers
573 views

Pass Column of fstab

If I have the 6th column in fstab (the pass column) set to 0, does that mean checks will never be forced at boot regardless of anything like File System State, Mount Count, and Check Interval on the ...
4
votes
2answers
3k views

Failed MDADM Array With Ext.4 Partition - “e2fsck: unable to set superblock flags on /dev/md0”

Had a power failure and now my mdadm array is having problems. sudo mdadm -D /dev/md0 [hodge@hodge-fs ~]$ sudo mdadm -D /dev/md0 /dev/md0: Version : 0.90 Creation Time : Sun ...
4
votes
2answers
1k views

e2fsck / resize2fs problems

I've got 6 drives (each 1.5T, all same model and firmware revision) that are part of a RAID5 array. The RAID5 makes a LVM volume group and a logical group. The latter contains only one ext3 partition. ...
3
votes
2answers
5k views

Using fsck to check and repair LUKS encrypted disk?

My Ubuntu 11.04 machine uses LUKS encryption for root, swap and home. A routine fsck -n revealed a set of errors I need to repair. fsck requires to unmount the partitions. Before luks I would simply ...
3
votes
5answers
10k 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 ...
3
votes
2answers
221 views

Failed volumes on RAID - how to handle?

I've got a situation on a RAID that I've taken over responsibility for recently and really could use some advice. I hope I haven't mucked it up to much. A couple server on the ad-hoc cluster I'm ...
3
votes
2answers
856 views

Ubuntu server 12.04.03 not checking disk partitions on reboot?

My MOTD is showing: *** /dev/md2 will be checked for errors at next reboot *** *** /dev/md1 will be checked for errors at next reboot *** *** /dev/md3 will be checked for errors at next reboot *** ...
3
votes
3answers
399 views

fsck on shutdown instead of startup

Usually, fsck it is executed automatically at startup after n reboots. Sometimes it can be really slow and delays the computer startup in more than 30 minutes. Is there any way to run fsck at ...
3
votes
2answers
7k views

CentOS - skip “Checking root filesystem”

I have a CentOS box that hangs for like 8 hours at "Checking root filesystem" every time it reboots. Is there some way to skip that check?
3
votes
3answers
5k views

Forcing a verbose fsck on reboot (Ubuntu)

I'd like to force a verbose fsck on reboot of my Ubuntu linux server, I can get fsck to run on reboot by creating a file /forcefsck in my root dir ... Additionally, by adding a y into the contents of ...
3
votes
1answer
2k views

Unable to resolve data corruption warning with fcsk

In order to create a contiguous space for my file system to grow, I created a new EFI System partition at sda1 so that I can migrate it from the current partition at sda5. The move itself has been ...
3
votes
3answers
3k views

fsck: FILE SYSTEM WAS MODIFIED after each check with -c, why?

I use a script to partition and format CF cards (connected with a USB card writer) in an automated way. After the main process I check the card again with fsck. To check bad blocks I also tried the ...
3
votes
1answer
123 views

could fsck -Af -M cause corrupt filesystem?

Last night my server encounter "Read-only file system" error. So then I ran "fsck -Af -M" to trying to repair but no use, these are output: fsck 1.39 (29-May-2006) e2fsck 1.39 (29-May-2006) /: ...
3
votes
2answers
272 views

e2fsck - out of memory despite [scratch_files] set in /etc/e2fsck.conf

I'd like to repair an ext2 file system on an external 16GB SD card drive. When I issue the following command: e2fsck -y /dev/xxx my system runs out of memory (Fedora 17 x64 8GB RAM, 8GB Swap). As ...
3
votes
1answer
2k views

Recovery via fsck

I was recently hit by the AWS issues in Ireland, lost a volume, and need to attempt a recovery.. I've attached the problem volume to /dev/sdf - I'm completely new to this, not entirely sure what's ...
3
votes
1answer
4k views

CentOS 5.6 unexpected inconsistency how to repair?

This morning I found that my server was not responding and wasn't able to connect to it in anyway to do a safe reboot. I had to do pull the plug to reboot. Upon rebooting everything appeared to be ...
3
votes
1answer
535 views

Ubuntu Server - Power failure leads to boot failure

I have installed Ubuntu Server 10.04.1 LTS on an ext4 partition. Whenever my system looses power suddenly, It doesn't boot into the normal procedure to fix the problems automatically, but switches to ...
3
votes
2answers
141 views

/var a file and not a folder

On a CentOS 5.3 server the /var folder has changed to a file. Appears to be FS corruption. Rest of the FS looks OK. Anyone know a quick way to fix this? fsck.ext3 reports the fs as clean even using a ...
3
votes
1answer
212 views

Recover JFS partition with duplicate block references

After a nasty server crash I was unable to mount a JFS partition on Linux. The jfs_fsck tool returns Duplicate block references have been detected in Metadata. CANNOT CONTINUE. processing ...
2
votes
6answers
487 views

Linux Filesystem

recently we have a failure in our storage, we need to fsck. The storage is about 1.2 Tera, and it took us more than 5 hours. Is there an alternative solution for the ext3 filesystem, or one that is ...
2
votes
2answers
4k views

Run fsck -y everytime at startup on my main partition Linux

I have an embedded linux system. I use grub2 for the boot loader. I would like to run an fsck -y /dev/sda on /dev/sda every time it boots--even when the system had a power loss and the reboot command ...
2
votes
2answers
2k 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 ...
2
votes
1answer
975 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
3answers
1k views

Surprising corruption and never-ending fsck after resizing a filesystem

System in question has Debian Lenny installed, running a 2.6.27.38 kernel. System has 16Gb memory, and 8x1Tb drives running behind a 3Ware RAID card. The storage is managed via LVM, and is ...
2
votes
2answers
10k views

How do i fsck / on solaris 10?

[ID 879645 kern.notice] NOTICE: /: unexpected free inode 211471, run fsck(1M) -o f How can i run fsck cleanly (/ unmounted) ? The only solutions i can see are: - detach the SDS mirror, fsck on the ...
2
votes
2answers
234 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
3answers
9k views

Is it safe to stop a fsck in progress?

I have a server that I rebooted without using the f option in my shutdown command, and it started doing a fsck of a very large filesystem... which will take a very long time, as you can imagine. Is it ...
2
votes
1answer
389 views

Xen virtual host is probably FSCKing - how do I verify?

I have a Xen virtual machine that has been running for over a year under a decent load. I restarted it this morning, and it's been several hours booting. I think it's FSCKing itself. xm list shows ...
2
votes
1answer
244 views

FreeBSD pkg database deleted

after resolving repeated crashes on startup with fsck I noticed some files were removed, one of them was the sqlite pkg database, so now when I run for example pkg install somepackage I get this erro: ...