?? 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? yes
Deleted inode 11387 has zero dtime. Fix? yes
Deleted inode 11388 has zero dtime. Fix? yes
Pass 2: Checking directory structure
Entry 'shadow' in /etc (13) has deleted/unused inode 11390. Clear? yes
Entry 'shadow-202007141594765348' in /etc (13) has deleted/unused inode 11386. Clear? yes
Entry 'shadow-202007141594770924' in /etc (13) has deleted/unused inode 11386. Clear? yes
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Inode 11328 ref count is 1, should be 3. Fix? yes
Pass 5: Checking group summary information
Block bitmap differences: -(45056--47103) -(68608--70172) -(71680--73727) -(77824--77828) -(83968--84460)
Fix? yes
Free blocks count wrong for group #1 (10183, counted=12231).
Fix? yes
Free blocks count wrong for group #2 (11477, counted=15588).
Fix? yes
Free blocks count wrong (675912, counted=682073).
Fix? yes
Inode bitmap differences: -11340 -11383 -(11387--11388)
Fix? yes
Free inodes count wrong for group #1 (4671, counted=4675).
Fix? yes
Free inodes count wrong (242659, counted=242665).
Fix? 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

  • Microsoft Teams Linux - Calendar Doesn't Work Missed Meetings!
  • Scanner not working in Linux Ubuntu Fedora Mint Debian over the network? Use sane-airscan!
  • How To Boot, Install and Run Windows 2000 on QEMU-KVM
  • bash cannot execute permission denied
  • Huion and Wacom Tablets How To Install in Linux Mint / Ubuntu and make the stylus work properly
  • ffmpeg how to cut certain parts of video out
  • ffmpeg how to concat and join two video clips
  • mencoder instead of ffmpeg to join or concatenate video files with different audio streams
  • Linux How To Stop Missing Drive from Halting Boot Process in fstab
  • How To Replace Audio Track of Video using ffmpeg
  • qemu-img convert formats vdi vmdk raw qcow2
  • Linux and Windows Dual Boot Crazy Time Issues
  • dynagen / dynamips 100% high CPU usage solution - how to set the idlepc value
  • How To Setup a Cisco CME (Cisco Manager Express) Virtual Router under Linux using dynamips and dynagen
  • Linux Mint Ubuntu Debian CentOS Dual Boot Install Issues
  • Linux Mint Ubuntu Debian Centos RHEL no sound solution
  • Linux Mint/Debian/Ubuntu/Centos Installer black grub screen and blank screen after trying to boot installer or main OS
  • Linux Mint Dual Boot Install Avoid Wiping our your Main C: drive /dev/sda MBR and EFI
  • QEMU-KVM soundhw deprecated how to enable sound in QEMU 4.x series
  • Virtualbox Error Cannot register the hard disk because a hard disk with UUID already exists solution