The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
34 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 ...
2
votes
2answers
770 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. ...
1
vote
1answer
103 views

Hard disk error

There seems to be something wrong with my hard drive, but I'm not sure what, or how to proceed. The first sign of any problems was this: I tried making a new directory on my server, but when I did ...
0
votes
1answer
96 views

Does my server have bad blocks or not?

My server crashed today. It switched the /sda8 device (/home) to read only and the log said "ext3_xattr_block_get: inode 590080: bad block 6" From rescue mode (something my hosting provider offers ...
1
vote
1answer
146 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 ...
3
votes
3answers
198 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 ...
0
votes
1answer
34 views

What is using the memory when e2fsck is running? [duplicate]

I am having trouble running e2fsck due to memory limitations, as detailed in this question. In the course of investigating that, I came upon something that may be of more general interest, so I will ...
0
votes
2answers
331 views

How to force fsck on root filesystem on Voyage Linux

I have a Voyage Linux (a Debian derived system) computer (which is headless, ie no display). The root filesystem is marked as corrupted and there are actually some errors. I would like to fix these ...
3
votes
2answers
127 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 ...
2
votes
5answers
4k 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 ...
2
votes
2answers
267 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 ...
1
vote
2answers
143 views

Centos 6.3 - Error during filesystem check (/opt)

When I rebooted my server I got the following error: What can I do to get the server back up? I tried running lvremove /dev/vg1/snaps but get the message: File based locking initialization failed I ...
1
vote
2answers
116 views

If a machine has an unclean shutdown AND the time has expired for a fsck, which message will get printed?

OS is CentOS 5. Generally after an unclean shutdown, the CentOS startup text will display something about a fsck being needed due to an unclean shutdown. (I can't remember the exact text off the top ...
2
votes
1answer
787 views

CentOS - Automatically run fsck on boot into recovery

I'm automating a process to upgrade my ext3 filesystem to ext4. Following the instructions from here I'm able to successfully migrate my filesystem. I've scripted the vast majority of the work, and ...
0
votes
2answers
81 views

is running rsync after filesystem crash enough?

On my Debian Squeeze server, a filesystem crashed badly. I ran fsck.ext4 on it and it corrected many things. Now everything seems to be fine. Additionally, ran an rsync from a recent backup to the ...
2
votes
2answers
391 views

fsck.ext3: Device or resource busy on server with RAID after power outage

I am recovering Dell Poweredge R510 server running Scientific Linux 5.5 after an unexpected power outage. The server was set up by our previous system administrator (I'm a grad student). Upon reboot, ...
1
vote
1answer
76 views

Ext2: e2fsck what do the “errors” mean? [closed]

So, my hard drive was acting all slow, and after checking through my syslog, I found all these errors. Some googling led me to try to run e2fsck -c -c on the drive. So, it's been going for about 2 ...
2
votes
1answer
188 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 ...
0
votes
1answer
135 views

ran fsck on a mounted partition, now centos 5 won't boot

Yes, I very stupidly ran fsck on a mounted parition. Immediate regret. What's happening now is I see grub, it starts booting centos 5, then it says: bin/sh: ro: no such file or directory kernel ...
2
votes
1answer
224 views

What's the difference between mountall and mount -a? (Ubuntu, perhaps others)

The mountall man page says "this is a temporary tool until init(8) itself" can do it, basically. Why not just use mount -a? Is there a difference between the two, and if so, which should I use for ...
3
votes
1answer
72 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 ...
7
votes
1answer
2k 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: ...
15
votes
3answers
10k 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 ...
-3
votes
2answers
115 views

fsck an active disk provides different results than fsck on an unmounted disk

I have a VM running ubuntu LTS with an ext4 filesystem. We had performance problems that were related to IO tasks. I checked the filesystem with fsck.ext4 -nv /dev/sda1 e2fsck 1.41.11 ...
2
votes
1answer
919 views

ClearOS - how to avoid getting stuck at a fsck message at boot?

I have had this happen a couple times - I have a ClearOS Enterprise 5.2 box, and due to a power outage or similar, it ends up showing an error at boot and saying that fsck needs to be run (I think it ...
1
vote
3answers
148 views

Rebooting a linux server correctly to avoid fsck

Is there a correct way to reboot a server to avoid FSCK and just avoid getting FSCK in general? I have been using the reboot command to reboot servers.
1
vote
1answer
440 views

Linux Software RAID: How to fsck on hard drive?

We have a Linux server running with Software RAID1. We see some issues in /var/log/messages like: unreadable sector. I want to perform a complete fsck on the drive to get some more information, but a ...
2
votes
1answer
311 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 ...
0
votes
3answers
602 views

reiserfsck --rebuild-tree failed: Not enough allocable blocks

I have a reiserfs volume that required a --rebuild-tree, but is currently failing to complete when I pass it --rebuild-tree. Here is the output that I receive when running it: reiserfsck 3.6.19 ...
1
vote
1answer
108 views

Test EXT3 Filesystem Integrity

Our operations team was trying to shrink an LVM logical volume, and forgot to shrink the partition sitting on top of it first. They got a bunch of errors, and made the mistake of running e2fsck right ...
2
votes
3answers
2k 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 ...
2
votes
2answers
603 views

Centos 6 unexpected inconsistency within 100% disk

I have a runing centos 6, which suddenly fail due to hd full... which cause us sever problems since several days. when i do: df -h S.ficheros Size Used Avail Use% Montado en rootfs ...
2
votes
1answer
641 views

EC2: How dangerous is it to turn off fsck for EBS volumes?

I have been tearing my hair out trying to figure out why my EC2 instances (made from my own custom AMIs) were taking many tries to come up properly. They would fail with the following error: ...
5
votes
1answer
347 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 ...
1
vote
1answer
317 views

fsck a filesystem in a file

I created a filesystem like this: dd if=/dev/zero of=disk-image count=40960 filesystem is created with this: /sbin/mkfs -t ext3 -q disk-image I then mounted and copied some test files and ...
-3
votes
1answer
2k views

CentOS 5/Linux UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Getting an error in a VM Boot that says Checking filesystems /dev/VolGroup00/LogVol00 contains a file system with errors, check forced /dev/VolGroup00/LogVol00: Inodes that were part of a corrupted ...
0
votes
4answers
11k views

Linux fsck.ext3 says “Device or resource busy” although I did not mount the disk

Edit This old question is maybe not worth reading, because the soulution is simple. I used checkdisk on the whole drive instead of on a partition of that drive, that's all. matnagel /Edit I am ...
2
votes
2answers
161 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 ...
4
votes
2answers
2k 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
3answers
2k 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 ...
1
vote
0answers
289 views

e2fsck miserably aborts: memory allocation failed on 64 bit OS and scratch directory

After an unsuccessful Virtualbox VDI drive resize following the instructions here, the primary ext4 partition became of unknown type. I fixed this with testdisk and then boot-repair, which made it be ...
2
votes
2answers
1k 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 ...
0
votes
1answer
77 views

Ubuntu 8.04 unresponsive after restart

I have a Godaddy Dedicated server running Ubuntu 8.04. When I restart the server it will randomly not come back online. I cannot access it through SSH or the web. Godaddy support has to reboot the ...
0
votes
3answers
4k views

How long does it take to fsck a volume?

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

Can't seem to fsck remote server drive with ubuntu server 10.04 LTS

I've been getting a lot of crashes on my remote dedicated server - after they occur (in all sorts of different processes) the server becomes unresponsive and I have to reboot it. They all look ...
2
votes
2answers
192 views

reduce fsck time through lvm design considerations

I need to create two 9 TB file systems and i am struggling to design it. how does fsck work under the cover? I have two options: 1. I create two 9TB LUNs at storage and create VG on them and then ...
1
vote
1answer
112 views

Do linux filesystems retain a count of how many times they have been fsck'd?

Do linux filesystems retain a count of how many times they have been fsck'd? ext2 and ext3 are of particular interest I have hundreds of systems and I would like to know how many times each ...
0
votes
1answer
448 views

Ubuntu Server live cd rescue mode can't run fsck

I have an ubuntu server virtual machine that crashed and I was forced to reset the virtual machine. When I booted, it did an automatic fsck, but I want to make sure that the filesystem is ok. I have ...
2
votes
6answers
471 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
1answer
601 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 2 3