Questions tagged [fsck]

a tool to check the consistency of and repair a file system for Unix-like operating systems

Fsck ("file system check") is a tool to check the consistency of and repair a file system for and Unix-like operating systems, such as and Mac .

Man page: http://www.manpagez.com/man/8/fsck/

Wikipedia: http://en.wikipedia.org/wiki/Fsck

205 questions
1
vote
1 answer

replace phases of fsck in fstab

I'm searching some way to replace fsck phases in my fstab file but only for line which contains specific path. currently fstab looks like that: /dev/mapper/vgroot-root / xfs defaults 0 0 /dev/mapper/vgroot-home /home …
MiK
  • 13
  • 2
0
votes
1 answer

`fsck` does some work, then aborts/stops. How to make it continue to run?

I have a filesystem on a LVM device which suffered a disk failure. Some data was lost (since one of the 4 disks which had data is gone). I am trying to mount this filesystem so as to recover as much data as possible (see other question). I am…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
0
votes
2 answers

EXT3: What disk checks should be run after a hard reboot or power failure?

In the event that a hard reboot is performed or a system loses power without a proper shutdown, what checks should be run to verify file-system/data integrity on ext3 partitions? I've heard of fsck, but I've also heard that ext3 makes the need for…
Nick
  • 4,433
  • 29
  • 67
  • 95
0
votes
1 answer

trouble with fsck on raid - abort or not abort

I have a problem. While I was a away, a server with a 50 TB hardware raid (I think 5) apparently for some reason kicked out two drives. A collegue just put them back in by just adding them back in the configuration utility. Everything seemed to be…
Arpton
  • 1
  • 1
0
votes
1 answer

How to force Google Compute Engine ubuntu instance to do fsck?

I have an instance in Google Compute Engine (cloud server) running ubuntu 16.04. I noticed filesystem corruption on the root filesystem as follows: ==>ls -l data/vocabulary/ ls: cannot access 'data/vocabulary/Makefile': Permission denied ls: cannot…
0
votes
1 answer

Error in My Hard Disk on Debian (OSSIM)

I have a Problem with my Debian (OSSIM), after a three days I can't create or edit any files, because of this issue: root@ossim:~$ mkdir test mkdir: cannot create directory `test': Read-only file system so I boot the OS on live mode, using ubuntu,…
Seyed M
  • 11
  • 1
  • 5
0
votes
1 answer

ext4 mysterious "No space left on device" error

Im having trouble with my ext4 filesystem. Im using this with NFS to make it available to remote machines. Now its showing a mysterious "No space left on device" error when im trying to mkdir $name but noting seems to help. If i move or cp files…
Nico
  • 35
  • 4
0
votes
1 answer

Impact of disabling automatic fsck on reboot

I have a client on cloud hosting with some sizable drives on the vps. Twice in the past year after a forced reboot the server was down for a few hours because fsck ran automatically when the server came back up. Since this is on a cloud hosting…
0
votes
1 answer

XFS fs does not mount on boot but mounts ro ok from cli

I have a server with a LSI raid controller. The server shows two devices sda and sdb. sdb is not partitioned but has a xfs fs formatted directly (i don't know why) into it. We decide to reboot it after 100+ days of working flawlessly to test a new…
panitaxx
  • 11
  • 1
0
votes
1 answer

ext4 corruption leading to unbootable disk. Partition is mountable, but grub detects unknown filesystem

I'm trying to recover from a system disk corruption issue without having to reinstall the OS, which would be super-painful currently. I'm using Ubuntu 18.04, the affected partition is ext4 and on a SSD disk. Summary: Root partition gets remounted…
0
votes
2 answers

1TB hard disk not working in linux

I installed a new 1TB internal hard disk in my linux machine after creating ext3 file system. But while booting it asks for the root password then it say's file system ext3.fsck not found. If i detach the 1TB hard disk the system boots normally.…
karthigeyan
0
votes
1 answer

linux + how to identify disk health

we have linux redhat server version 7 we are suspects that one of the disks (/dev/sdc ) in the machine HW ( dell ) is in bad state, ( and that because required to do fsck from dmesg ) but we not sure , machine is on new HW and new disks we found…
shalom
  • 451
  • 12
  • 26
0
votes
1 answer

Linux RHEL5.2 VM Won't boot - Cannot fsck to repair

I have a redhat 5.2 VM which will not boot on VMWare... I've tried logging into maintenance mode and adding a file 'forcefsck' to /, which forced a check on next boot... that didnt get me anywhere and I ended up in the same place. It's telling me…
John
  • 525
  • 3
  • 16
  • 32
0
votes
3 answers

e2fsck takes lot of time to run

I am running e2fsck on one of my disk partitions (ext4) but it seems to take eternity. It is already running now for almost 10 hours or so and it is still at 42%. The size of the partition is around 800Gigs and overall disk size(on which the…
DivKis01
  • 103
  • 5
0
votes
1 answer

Could reserved block count of zero hinder `fsck`?

I am considering setting the reserved block percentage to 0% (tune2fs -m 0 /dev/sdb1) for an ext4 partition. The partition is only used by non-privileged users anyway. Let's say I mistakenly fill up the partition to 100% and the filesystem becomes…
Ztyx
  • 1,365
  • 3
  • 13
  • 27