The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
17 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
28 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 ...
0
votes
1answer
21 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
115 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
58 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 ...
0
votes
1answer
49 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' ...
4
votes
1answer
93 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? ...
1
vote
2answers
53 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
300 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 ...
0
votes
2answers
216 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 ...
20
votes
3answers
9k 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
776 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
576 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
341 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
230 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
80 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
224 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 ...
0
votes
1answer
236 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, ...
2
votes
1answer
408 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: ...
5
votes
1answer
283 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
5k 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
314 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
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
146 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) /: ...
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
2answers
855 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
140 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
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 *** ...
0
votes
1answer
176 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
350 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
217 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
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 ...
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
372 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
778 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
920 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
497 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
58 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
424 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
244 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
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 ...
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
416 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
160 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 ...