I have a problem and that is that my external HDD (external power supply) is not mounting correctly. I can mount it over SSH in a normal way but it is not automounting after a reboot.
fstab
/dev/mmcblk0p1 /boot vfat defaults,noatime 0 0
/dev/mmcblk0p2 / ext4 defaults,noatime 0 0
UUID=7818F8D618F893FA /mnt/usbstorage ntfs nofail,uid=osmc,gid=osmc 0 0
fdisk -l
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 499711 497664 243M c W95 FAT32 (LBA)
/dev/mmcblk0p2 501760 15564799 15063040 7.2G 83 Linux
Disk /dev/sda: 14.9 GiB, 16008609792 bytes, 31266816 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7d0a56ab
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 31264767 31262720 14.9G 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 372.6 GiB, 400088457216 bytes, 781422768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbb5aa8b1
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 781400063 781398016 372.6G 7 HPFS/NTFS/exFAT
Another issue is that once it is mounted then it spins down after a while, is it an issue that the drive is running when the PI is not running or is there a way i can access the hard drive from time to time so that it does not go to sleep ?