So, I'm trying to mount an external USB drive to /home on a Raspberry Pi 2. I thought mounting an external drive upon startup would be easy. I added a line to /etc/fstab for the new device and rebooted but I immediately got a failure message. it says "Unable to resolve 'UUID=......' and puts me in a maintenance shell. It's absolutely the correct UUID. I can mount the drive from the maintenance shell with "mount /home" no problem. What seems to be happening is that systemd times out before the external drive becomes available.
From reading a bit of the man page I thought I might be able to add "x-systemd.device-timeout=10" to the mount options in the fstab file, but subsequently trying to run "mount /home" I get the following error:
[ 370.649941] EXT4-fs (sda1): Unrecognized mount option "x-systemd.device-timeout=10" or missing value
I'm fairly sure I need to add some sort of rule to systemd that tells it to wait on my external drive, but I have no idea how to do that and google didn't seem to turn up any good results.
I've spent a few hours trying to figure this out and nothing seems to work. Any help would be appreciated. Thanks!
By the way, here's my /etc/fstab file:
proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 UUID=9bbf04b2-d381-41a6-b29b-6220c4048911 /home ext4 defaults 0 2 #UUID=9bbf04b2-d381-41a6-b29b-6220c4048911 /home ext4 defaults,x-systemd.device-timeout=10 0 2