The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
25 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 ...
19
votes
3answers
8k 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 ...
4
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. ...
0
votes
2answers
204 views

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

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
20 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
108 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
55 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
92 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
47 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
80 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
52 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. ...
0
votes
1answer
254 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 ...
5
votes
3answers
4k 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 ...
1
vote
3answers
14k 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 ...
23
votes
3answers
23k 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
747 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
563 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
334 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! ...
1
vote
4answers
8k 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 ...
16
votes
2answers
10k 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
1answer
221 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
79 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 ...
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 ...
0
votes
1answer
223 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
1k 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
1k 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
229 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
1k 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
369 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
397 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
7k 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 ...
5
votes
1answer
282 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
4k 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
68 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
310 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" ...
2
votes
3answers
10k 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 ...
0
votes
1answer
1k 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
145 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) /: ...
1
vote
4answers
4k views

skip fsck on boot on ubuntu 10.04 server

We are sitting here in front of an ubuntu 10.04 server who insists doing a lengthy checkdisk during reboot. We see one option to edit the kernel boot options line in grub to skip the check. What ...
0
votes
2answers
827 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: ...
3
votes
2answers
1k 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 *** ...
16
votes
8answers
9k 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 ...
0
votes
1answer
138 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. ...
1
vote
5answers
6k views

How to run fsck on startup after a crash without the root password?

when the Red Hat 5.x workstation of a user crashes and leaves its filesystems with errors, on the next boot, it ask for the root password to enter single mode and run fsck manually. This is annoying ...
0
votes
1answer
173 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
338 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
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 ...
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 ...