Hard drive sleeping and not seen

  • Libreelec 11.0.1 seems to be failing to see its internal hard drive after I remotely connect to update files from a windows 7 PC; dont think this happened with previous libreelec builds? The drive seems to be going into a windows sleep mode, and I have to temporarily connect it physically to a windows PC to shut it down rathter than sleep.

    Is there an SSH way to force it to wake? (I'm not very Linux literate!)

  • Windows always makes hard drives unusable for other operating systems when it goes to sleep or shuts down using techniques called 'Windows Fast Boot or Power Saver'.

    I don't know if this happens to you using samba access from Windows to your LibreELEC hard drive, if this is the case then unmount the drive when you're done.

  • That certainly seems what has happened, but although I can see librelec system from windows, I can't see the hard drive, and Libreelec cant see it either. Is there a way I can force Libreelec via SSH to mount the drive, or do I have to do as I've previously doen, physically wake the drive by connecting it to a windows system?

  • Sure. Its running on an old AT3IONT-I Delux mini ITX mother board runing Libreelec 11.0.2 on a 500G SSD. Video is stored on a new 1T Seagate Baracuda hard drive formatted NTFS.

    Connecting to it to update the video files from a windows 7 PC using Samba on a local network, using AlwaySync .

    Most of the time I complete the updates and switch off the windows PC before switching off the LE system. Most of the time its fine, occasionally when I reboot the LE system the hard drive is gone. I have to pug it into a windows machine, see the drive, then shut down. All is fine from then.

    This has worked fine with pervious issues of LE

    Hope thast helps

  • If you read this post it will give you a general sense of what is going on here. Generally when it comes to file systems and formatting, Windows and Linux they don’t play well. ext HDs not mounted after 11.01 update

    No doubt you’ll read some have had no issues with mixing the two but personally I believe it’s best resolving Linux issues with Linux based solutions.

    Firstly look at what partitioning you use on your hard drive and consider using ext4 if you have not already done so. I tend to find that is the most suitable partitioning system to use with LE when it comes to hard disks.

    Search the forum for more references to this and be guided by this accordingly. Unplugging a disk to attach it to a Windows system to make it readable again is hardly ideal, is it.

  • the thread about HDs not mounting looks very similar; I've not had the issue before 11.0.0. Not sure that ext4 will allow my windows PC to update the files on the LE machine; that is a prime requisit. I need to did deeper though to get a reliable solution. For some reason my PC doesnt want to format other that NTFS so I may need to search around for other free formatting utilities.

  • the thread about HDs not mounting looks very similar; I've not had the issue before 11.0.0. Not sure that ext4 will allow my windows PC to update the files on the LE machine; that is a prime requisit. I need to did deeper though to get a reliable solution. For some reason my PC doesnt want to format other that NTFS so I may need to search around for other free formatting utilities.

    If you wanna format a hard disk for use in Linux, use Linux. Use Linux Live USB. Here’s the details. Once created you can boot it from your Windows PC’s USB port. Even better create a dual boot Windows PC with Linux on its own partition https://www.linuxliveusb.com/

  • I dont think thats a way forward for me; I use windows on a PC to encode DVDs and then transfer them to a LE media player by the TV over a local network, hence the reason for windows to access LE.

  • If your Kodi machine is on a LAN and you've enabled SAMBA you should be able to use samba from the Windows 7 pc to transfer files. I currently have 2 RPI3Bs (one for TVHeadend and the other for videos) running LE9.2.8 and I can access the 6TB NTFS HDD using samba and the portion of the microSD card that is EXT4 formatted (eg Recordings).

    I'm in the process of moving to an RPi4 and did have a bit of trouble with samba on version 11 and had to use FileZilla which worked fine. My latest experiments with the v12 nightly also work fine with samba.

  • I dont think thats a way forward for me; I use windows on a PC to encode DVDs and then transfer them to a LE media player by the TV over a local network, hence the reason for windows to access LE.

    Handbrake for Linux. Will encode anything you throw at it. There’s nothing in Windows that can’t be quickly and reliably replicated in Linux when it comes to an HTPC setup. Honestly you should try it. Start with the Live USB I outlined above and you’ll see. All you need is a USB stick and you’re good to go.