Questions tagged [e2fsck]

9 questions
2
votes
1 answer

e2fsck found no errors, but S.M.A.R.T. self test fails

I have an external Freecom HDD (Samsung drive inside), connected via USB and using it's own power supply. The disk disconnects itself on random interval of time (from few hours up to a month). I tend to blame the operating system because the same…
stz184
  • 123
  • 2
1
vote
0 answers

Tried to recover a Ext4 Superblock to a CEPH disk

We have a server with Proxmox installed with Debian, it's an dedicated server (sda). The VM's are being backed up every night on a CEPH disk (sdb). After an reboot of the dedicated, the ext4 drive from the dedicated server had a broken…
Roy Zon
  • 11
  • 1
1
vote
0 answers

mounting hard drive that is passed to VM

I'm running proxmox and I was previously passing a hard drive (ext4 data drive) as iSCSI to a linux VM. Everything was good. Then I decided to pass the PCI SATA controller to the VM instead of just the hard drive. Now I am unable to mount the drive.…
sdstack
  • 111
  • 3
1
vote
0 answers

e2fsck Error writing block on ARM server

I created a 60TB thick volume and I took a snapshot on it with e2fsck. And it shows a message that I don't understand. > e2fsck -dnvftt /dev/mapper/vg1-snap10001 e2fsck 1.43.9 (8-Feb-2018) Pass 1: Checking inodes, blocks, and sizes Inode 81855343…
yayaya
  • 31
  • 3
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
3 answers

In a software RAID1, why does tune2fs -c 0 /dev/sda1 not throw an error but change is not seen in tune2fs -l /dev/sda1?

The Title pretty much says it all. Turn off mount count fsck seems to succeed: tune2fs -c 0 /dev/sda1 tune2fs -c 1 /dev/md0 But listing out via tune2fs -l /dev/sda1 shows mount count is set back to 1 for /dev/sda1 and /dev/md0. i only want automatic…
rjt
  • 568
  • 5
  • 25
0
votes
1 answer

How to have automatic file system checks for Linux Software Raid?

In a Linux Software raid, what is the best practice for periodically having the filesystems checked? With single drive or hardware raid, tune2fs -c 5 -i 1w /dev/sda1 means check the filesystem every 5 mounts or if it has been a week or more since…
rjt
  • 568
  • 5
  • 25
-2
votes
1 answer

how to know if need to run e2fsck in order to fix corrupted blocks?

We want to check the filesystem on the disks as /deb/sdc ... /dev/sdg on each Red Hat Linux machine. The target is to find what are the disks that require e2fsck ( as e2fsck -y /dev/sdb etc.) According to man page -n Open the filesystem…
shalom
  • 451
  • 12
  • 26
-3
votes
1 answer

fsck -n /dev/nandb giving errors . how to solve fsck errors

I want to know how to solve this error? help me out!! INPUT "fsck -n /dev/nandb" OUTPUT fsck from util-linux 2.25.2 e2fsck 1.42.12 (29-Aug-2014) Warning! /dev/nandb is mounted. /dev/nandb contains a file system with errors, check forced. Pass 1:…