The tag has no wiki summary.

learn more… | top users | synonyms

5
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 ...
-1
votes
1answer
280 views

How to access a system with write permission after file system check fails?

I created three new partitions, but after a reboot, the system is being dropped to a shell: /dev/mapper/group-newpartition: clean, 11/655360 files, 276620/2621440 blocks [FAILED] An error occurred ...
-3
votes
1answer
236 views

My production server has bad blocks, now what?

My server has crashed for Nth time in a couple of months, so I decided to do a badblocks test. I have used fsck to detect and mark badblocks, and it has indeed detected some. If I am correct, this ...
1
vote
0answers
238 views

Directory index full, is this fsck result OK?

I found these in my /var/log/messages: kernel: EXT4-fs warning (device md2): ext4_dx_add_entry: Directory index full! kernel: EXT4-fs warning (device md2): ext4_dx_add_entry: Directory index full! ...
0
votes
1answer
135 views

fsck.vfat auto repair on error

I use Ubuntu 10.04 on an embedded device. I have a CF card of 2GB formatted in FAT32. From time to time, the device is powered off while data is written to the FAT partition. As a result, the ...
0
votes
0answers
58 views

bad inodes in KVM guests

I ran a script to snapshot all logical volumes from KVM guests and backup. But /var/log/messages reported these errors: Jun 02 09:57:08 server lvm[24245]: Monitoring snapshot ...
0
votes
1answer
156 views

CentOS default never fsck root partition on start up?

Most documentation or sites will say use "tune2fs -l " to check if the system will do fsck on the system partitions on next boot, in particular, should look at "Mount count" and "Maximum mount count" ...
0
votes
1answer
785 views

Dell PowerEdge R720 - Corrupted RAID

Apologies in advance for the lengthy question. We have a Dell PowerEdge R720 server with: 2 x 136GB SAS drives in RAID 1 for the OS (Ubuntu Server 12.04) 6 x 3TB SATA drives in RAID 5 for data A ...
0
votes
1answer
155 views

fsck ext4 inode error

Today while I was booting I got an error in an ext4 partition with some inodes. I just entered the root password and run fsck manually but I am a bit worried. fsck warned many times about some errors ...
1
vote
1answer
790 views

Loss of data when trying to fix ext4 “group descriptors corrupted!”

When I try to mount an existing disk, I get the message sudo mount -t ext4 /dev/sdc1 /data mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, ...
2
votes
1answer
278 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: ...
0
votes
0answers
246 views

Force filesystem check on Ubuntu Server 12.04.4 LTS

My root filesystem has errors. I have made sure that errors will be automatically corrected: root@host1 ~ » grep FSCKFIX /etc/default/rcS FSCKFIX=yes And then forced a filesystem check during ...
5
votes
1answer
240 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 ...
4
votes
1answer
3k 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 ...
0
votes
1answer
44 views

Recovery mode raid1 centos - how to?

I'm having a problem with fsck. Using cat /proc/mdstat I have this: md0 : active raid1 sda1[3] sdb1[2] 524276 blocks super 1.0 [2/2] [UU] I made a mistake when first using fsck, cos I used ...
-1
votes
3answers
246 views

What happens if fsck.ext4 -y is run on a ext3 fs and how to I recover from it

I had a mountable fs (pretty sure it was ext3), fsck.ext4 was run with -y and ended in a segmentation fault. Now it is unmountable (dmesg says it's corrupt) and identifies as a ext4 fs via the "blkid" ...
0
votes
1answer
606 views

Ubuntu server mounted in read-only? [closed]

This morning my Ubuntu server suddenly appeared in read-only mode. Google says this can happen after updates. I restarted the server and it booted with fsck errors: Inodes that were parts of a ...
3
votes
1answer
127 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) /: ...
2
votes
0answers
313 views

fsck output status displaying an odd out put after Pass 5: Checking group summary information Linux

today my server went down due to the following: Checking filesystems /dev/mapper/vg-root contains a file system with errors, check forced. /dev/mapper/vg-root: Inodes that were part of a corrupted ...
14
votes
2answers
6k 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. ...
0
votes
2answers
542 views

Strange behavior of fsck

I am using Debian 7 with two HDDs: 500Gb PATA and 750Gb SATA. blkid shows me the following: root@intel:/etc# blkid /dev/sda1: UUID="b6350c6b-5fbd-4e07-9a4b-10b600fbb64c" TYPE="swap" /dev/sda2: ...
0
votes
1answer
118 views

force fsck to fail on boot

I am working on a embedded debian linux device. Owing to the power being pulled at any time resulting in a sudden power loss, we have set FSCKFIX from "no" to "yes" in the /etc/default/rcS file. ...
3
votes
2answers
957 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 *** ...
0
votes
1answer
139 views

fsck.ext3: Unable to resolve UUID but gparted shows the correct UUID

I'm running CentOS6 on a PowerSpecG211 with a RAID level 1 array (2x2TB) and a couple of SSD's Yesterday afternoon the partition for /var ran out of space while I was doing some stuff in mysql and ...
2
votes
1answer
248 views

Difference between “fsck -y” vs “fsck -a”

What is the difference between -a and -y parameters of linux fsck? man page does not show me the difference. Thanks
-1
votes
2answers
184 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!
0
votes
1answer
1k views

FreeNAS ufs root fs bad, recover freenas-v1.db

I'm booting my FreeNAS from an USB stick. But it became bad and won't boot up. bad dir ino {X} at offset {X}: mangled entry I now attached the USB drive to a VM with FreeNAS to mount / or repair ...
0
votes
1answer
74 views

Where do ext3 inode / meta-data reside?

Just a quick question about ext3: Are inodes stored in the same area as file data, or are there separate regions on the disk reserved exclusively for meta-data and others reserved exclusively for ...
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 ...
0
votes
2answers
2k views

can i say “NO” to “Clone multiply-claimed blocks” in fsck?

I need to know if i can still mount the volume when i tell fsck "no" in that question. i dont need to repair all the files in the volume, i just need recover one single file for this event. the ...
3
votes
2answers
298 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 ...
1
vote
1answer
606 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
794 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 ...
3
votes
3answers
420 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
54 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 ...
1
vote
1answer
380 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 ...
0
votes
2answers
4k 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
227 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
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 ...
2
votes
2answers
1k 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
376 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 ...
0
votes
2answers
150 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
2k 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
168 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
309 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
254 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 ...
3
votes
1answer
218 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 ...
-3
votes
2answers
255 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 ...
1
vote
3answers
283 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
1k 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 ...