home.social

#debugfs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #debugfs, aggregated by home.social.

fetched live
  1. Uh oh, I should have used findmnt --verify --verbose to validate fstab, not mount -a. Well, I did learn something in the process.

    Using debugfs to modify files directly on the filesystem, without mounting it at all. With debugfs, the read-only (ro) flag doesn’t apply.

    #sysadmin #weekendfun #debugfs #ext4 #linux

  2. If you have a S.M.A.R.T. monitored disk and get "unreadable (pending) sectors" or "failed command: READ FPDMA QUEUED" or "Offline uncorrectable sectors" errors or such, here's how to find out which file system blocks and files are affected, and how to force the about to be failing disk to reallocate (map out) those sectors:
    smartmontools.org/wiki/BadBloc

    #SMART #smartmontools #smartd #smartctl #tune2fs #badblocks #debugfs #dd