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

learn more… | top users | synonyms

6
votes
1answer
63 views

Proper way to deal with corrupt XFS filesystems

I recently had an XFS filesystem become corrupt due to a powerfail. (CentOS 7 system). The system wouldn't boot properly. I booted from a rescue cd and tried xfs_repair, it told me to mount the ...
0
votes
1answer
14 views

Ubuntu ntfsundelete on md0 software raid after fsck

System was failing and the colocation facility ran fsck -y on a raid that had some important data. The result is a lost+found folder with 2 million files in it. It is possible to get any of the ...
19
votes
8answers
11k 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 ...
3
votes
1answer
83 views

Taking an image of a failing boot drive

Ok, so my Ubuntu 12.10 install seems to have gone slightly sideways. It currently boots from a Compactflash card that I was planning on replacing soon, but as luck would have it it's gone down now. ...
0
votes
2answers
2k views

OpenVZ containers will not start after a reboot

vzctl start 192 Dump file /vz/dump/Dump.192 exists, trying to restore from it Restoring container ... Opening delta /vz/private/192/root.hdd/root.hdd Data cluster 1112 beyond EOF, vsec=47137... FATAL ...
1
vote
1answer
21 views

Portwell motherboard: Boot-time fsck finds “unexpected inconsistency” due to system time

Although this question involves an embedded motherboard, serverfault seemed to me the best stackexchange forum to post to. My colleagues and I have been investigating this weird Linux boot problem ...
2
votes
1answer
3k views

Is there a way to ignore the “fsck.ext3: Unable to resolve LABEL” error during the boot?

We have a file-cluster on servers with multiple disks, and we have created a software RAID1 over boot and / partitions, planning that if a single disk goes down, we still will be able to boot and ...
11
votes
1answer
12k views

Unable to resolve data corruption warning with fsck

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
2answers
148 views

eCryptfs headers errors

I'm getting the following error on a server where a partition is encrypted thru ecryptfs. [3440851.003561] Valid eCryptfs headers not found in file header region or xattr region, inode 22545087 ...
3
votes
4answers
22k 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 ...
7
votes
3answers
719 views

fsck on shutdown instead of startup

Usually, fsck is executed automatically at startup after every 30th reboot or so. Sometimes, it can be really slow, and can delay bootup by more than half an hour. Is there any way to run fsck at ...
6
votes
2answers
2k 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. ...
7
votes
3answers
7k 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
1
vote
1answer
97 views

Fsck finds errors in OS, but not using LiveCD

Running fsck on a booted machine yields errors on the root file system. In an attempt to fix this, I booted from a LiveCD - but fsck on the LiveCD instance doesn't find any errors at all. I also tried ...
4
votes
2answers
7k 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 ...
0
votes
1answer
19 views

what does fsck.ext3 do on a partition that contains a portion of unformatted space?

I always thought fsck operated on the filesystem level only, but recently I came across the following procedure for growing an ext3 partition: ...
0
votes
0answers
424 views

How to repair multiply-claimed blocks?

I get a lot of the following logs in dmesg: [26159.277230] EXT4-fs error (device sdb1): ext4_iget:3875: inode #394497188: comm mv: bad extended attribute block 22794025699896 [26219.914802] EXT4-fs ...
21
votes
3answers
21k 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. ...
2
votes
2answers
160 views

How to run fsck on software raid's real hard disks?

When and how should this be run? Is it better to boot from a DVD-ROM and run fsck on each real hard drive? Or can this be done automatically after X number of mounts?
0
votes
1answer
74 views

Ubuntu - Folder replaced by lost+found/ on raid1 disks

Running Ubuntu Server 12.04 LTS I have setup a RAID1 on disks sdb & sdc (md0) following strictly this tutorial which I guess is very classical. I loaded data on my disk for archive purposes. A ...
1
vote
0answers
152 views

How to add a partition to CentOS without losing data on it

we had a CentOS 6.4 server with two RAIDs. One RAID-1 and the other RAID-5 RAID-1 had multiple partitions with OS installed on it. RAID-5 had two partitions with some data on it. In order to ...
39
votes
3answers
20k 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
2answers
532 views

How can I check /dev/xvda1 if the command 'touch /forcefsck' doesn't work? [duplicate]

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. So I ...
1
vote
4answers
3k views

Slow ext4 fsck

Why fsck is so slow on ext4 filesystem? I was always using reiserfs or xfs and with those systems fsck was really fast, just few seconds. Now i decided to give a try ext4 but i'm dissapointed that ...
0
votes
1answer
57 views

After doing an fsck of a partition, the partition is now empty

I'm sorry if the title is misleading however I did not know how to ask the question in a better way. At work I had to install windows on a machine that had debian. I has three partitions one for ...
-1
votes
1answer
396 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 ...
0
votes
2answers
96 views

How to use fsck? Never have used it but have to check the filesystem

My server crashed several times with rcu_sched self-detected stall on CPU errors. Now after restart it can not repair MySQL tables, some services start, some not. What command I have to issue to ...
4
votes
1answer
114 views

serviceable ext3 partition ruined by fsck

I've got several systems with an ext3 lv / that work just fine until fsck'd — then they are unrecoverably corrupted. What hope do I have of repairing these systems, and, separately, what went wrong? ...
0
votes
1answer
184 views

How to fsck a partition that is part of a software Raid that again is part of a LVM volume group?

The faulty partition is /dev/sdb3. from /proc/mdstat: md2 : active raid1 sda3[2] 2896184639 blocks super 1.2 [2/1] [U_] says /etc/fstab: # /dev/md/2 belongs to LVM volume group 'vg0' ...
0
votes
1answer
98 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 ...
1
vote
2answers
106 views

server maintenance to prevent fsck failures

once in a while after a reboot I found fsck would fail on OS disk and booting becoming impossible on many of my servers. and then I had to reinstall OS and do data migration from the failed OS disk. ...
5
votes
3answers
5k 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 ...
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 ...
25
votes
3answers
34k 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 ...
-1
votes
1answer
1k 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
1k 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
473 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! ...
2
votes
4answers
11k views

Superblock last mount time is in the future

Yesterday, I encountered a confused problem. During booting, the system complained that the superblock last mount time is in the future and ask me to fsck. I have used Debian Squeeze for months and ...
0
votes
1answer
694 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 ...
8
votes
3answers
5k 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 ...
0
votes
1answer
361 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
2k 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 ...
2
votes
2answers
2k views

Invalid argument on fsck of a 2GB VFAT filesystem

I wanted to run fsck to repair a VFAT filesystem on a 2GB SD card, on Fedora 12. I got an 'invalid argument' error as seen below. What does it mean in this context? Is it not possible to check a ...
0
votes
1answer
522 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
3k 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, ...
3
votes
2answers
662 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
1answer
618 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: ...
3
votes
3answers
9k 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 ...
4
votes
1answer
404 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 ...
0
votes
1answer
139 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 ...