infix icon indicating copy to clipboard operation
infix copied to clipboard

fsck external media that was uncleanly unmounted

Open troglobit opened this issue 11 months ago • 0 comments

Noticed the following in the log on a test system:

Jan 14 05:42:12 ix-00-00-00 kernel: scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
Jan 14 05:42:12 ix-00-00-00 kernel: sd 2:0:0:0: [sda] 16384 512-byte logical blocks: (8.39 MB/8.00 MiB)
Jan 14 05:42:12 ix-00-00-00 kernel: sd 2:0:0:0: [sda] Write Protect is off
Jan 14 05:42:12 ix-00-00-00 kernel: sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan 14 05:42:12 ix-00-00-00 kernel:  sda:
Jan 14 05:42:12 ix-00-00-00 kernel: sd 2:0:0:0: [sda] Attached SCSI disk
Jan 14 05:42:12 ix-00-00-00 media[3462]: mount -o rw,relatime,noexec,nodev,uid=0,gid=10,umask=007,shortname=mixed,utf8=1,flush /dev/sda /media/log
Jan 14 05:42:12 ix-00-00-00 media[3462]: mounted /dev/sda at /media/log for root:wheel with 770 permissions
Jan 14 05:42:12 ix-00-00-00 kernel: FAT-fs (sda): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Should mounting of external media perhaps run fsck automatically first?

troglobit avatar Jan 15 '25 16:01 troglobit