?? Question Marks for time, permissions and size of a file?

-??????????  ? ?    ?       ?            ? shadow
----------.  1 root root  748 Jul 10 04:35 shadow-


cat: shadow: Input/output error

If you see this you are probably in big trouble, it could be a physical error or if it's a VM image that it is corrupted due to a physical error on the underlying disk/array/NAS or it could also be that somehow the image was accessed and mounted more than once concurrently.  This is almost always impossible to fix but you can always try to fsck anyway!


fsck /dev/mapper/loop5p1
fsck 1.45.6 (20-Mar-2020)
e2fsck 1.45.6 (20-Mar-2020)
/dev/mapper/loop5p1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 11383 has zero dtime.  Fix<y>? yes
Deleted inode 11387 has zero dtime.  Fix<y>? yes
Deleted inode 11388 has zero dtime.  Fix<y>? yes
Pass 2: Checking directory structure
Entry 'shadow' in /etc (13) has deleted/unused inode 11390.  Clear<y>? yes
Entry 'shadow-202007141594765348' in /etc (13) has deleted/unused inode 11386.  Clear<y>? yes
Entry 'shadow-202007141594770924' in /etc (13) has deleted/unused inode 11386.  Clear<y>? yes
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Inode 11328 ref count is 1, should be 3.  Fix<y>? yes
Pass 5: Checking group summary information
Block bitmap differences:  -(45056--47103) -(68608--70172) -(71680--73727) -(77824--77828) -(83968--84460)
Fix<y>? yes
Free blocks count wrong for group #1 (10183, counted=12231).
Fix<y>? yes
Free blocks count wrong for group #2 (11477, counted=15588).
Fix<y>? yes
Free blocks count wrong (675912, counted=682073).
Fix<y>? yes
Inode bitmap differences:  -11340 -11383 -(11387--11388)
Fix<y>? yes
Free inodes count wrong for group #1 (4671, counted=4675).
Fix<y>? yes
Free inodes count wrong (242659, counted=242665).
Fix<y>? yes

/dev/mapper/loop5p1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/mapper/loop5p1: 39015/281680 files (0.2% non-contiguous), 442791/1124864 blocks
 


Tags:

permissions, jul, input, output, vm, corrupted, underlying, disk, array, nas, accessed, mounted, concurrently, fsck, dev, mapper, mar, contains, errors, inodes, sizes, deleted, inode, dtime, directory, entry, etc, unused, connectivity, reference, ref, summary, bitmap, differences, counted, modified, contiguous,

Latest Articles

  • ssh Too many authentication failures not prompting for password
  • LightDM Mint Ubuntu Debian won't start errors Nvidia Graphics
  • WARNING: Unable to determine the path to install the libglvnd EGL vendor library config files. Check that you have pkg-config and the libglvnd development libraries installed, or specify a path with --glvnd-egl-config-path. Linux Ubuntu Mint Debian E
  • How To Upgrade Linux Mint 18.2 to 18.3 to 19.x and 20.x
  • MP3s Won't Play / ID3 Version 2.4 Issues in Cars and Other MP3 Players/CDs/DVDs Solution
  • LXC Containers LXD How to Install and Configure Tutorial Ubuntu Debian Mint
  • GlusterFS HowTo Tutorial For Distributed Storage in Docker, Kubernetes, LXC, KVM, Proxmox
  • Ubuntu Mint audio output not working pulseaudio "pulseaudio[13710]: [pulseaudio] sink-input.c: Failed to create sink input: too many inputs per sink."
  • How To Shrink Dynamically Allocated VM QEMU KVM VMware Disk Image File
  • How To Enable Linux Swapfile Instead of Partition Ubuntu Mint Debian Centos
  • 404 Not Found [IP: 151.101.194.132 80] apt update Debian 11 Bullseye Solution The repository 'http://security.debian.org bullseye/updates Release' does not have a Release file.
  • WARNING: Can't download daily.cvd from db.local.clamav.net freshclam clamav error solution
  • (firefox:9562): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Failed to execute child process "dbus-launch" (No such file or directory) Solution
  • Debian Mint Ubuntu Which Package Provides missing top, ps and w Solution
  • Vbox Virtualbox DNS NAT Network Mode NOT working
  • Docker Tutorial HowTo Install Docker, Use and Create Docker Container Images Clustering Swarm Mode Monitoring Service Hosting Provider
  • Zoom Password Error 'That passcode was incorrect' - Solution Wrong Passcode Wrong Meeting Name
  • How To Startup and Open Remote/Local Folder/Directory in Ubuntu Linux Mint automatically upon login
  • How To Reset Windows Server Password 2019, 2022, 7, 8, 10, 11 Recovery and Removal Guide Using Linux Ubuntu Mint Debian
  • How To Create OpenVPN Server for Secure Remote Corporate Access in Linux Debian/Mint/Ubuntu with client public key authentication