My system offered to update itsef today, and the update broke my setup a little: my USB hard drive stopped mounting on boot. The system had been working well since I first set it up a few months ago. It’s now running OSMC 2017.01-1. Here’s the dmesg output:
[ 20.458065] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16). [ 20.458435] sd 0:0:0:0: [sda] 15628053167 512-byte logical blocks: (8.00 TB/7.28 TiB) [ 20.474163] sd 0:0:0:0: [sda] Write Protect is off [ 20.474202] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00 [ 20.474955] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 20.479928] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16). [ 20.547993] sda: sda1 [ 20.553435] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16). [ 20.555323] sd 0:0:0:0: [sda] Attached SCSI disk [ 20.975562] EXT4-fs (sda1): Unrecognized mount option "uid=1000" or missing value
…and here’s my /etc/fstab:
osmc@media:~$ cat /etc/fstab /dev/mmcblk0p1 /boot vfat defaults,noatime 0 0 /dev/mmcblk0p2 / ext4 defaults,noatime 0 0 /dev/sda1 /mnt/media ext4 nofail,defaults,uid=osmc,gid=osmc 0 0
Trying to mount it from the command line:
osmc@media:~$ sudo mount /mnt/media mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so.
Removing the “uid=osmc,gid=osmc” options from /etc/fstab fixed this, and the system appears to be working normally now. Output from dmesg now just says:
[ 571.885222] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Have I done the right thing to fix this? Did I originally set it up wrong? Thanks in advance for any help you can give.