Linux LibreElec can't mount/see 4TB GPT NTFS HDD
#1
Hey there!
Since most active devs are here, I thought I have to ask the question here aswell.
I prepared 3 HDDs for a newly installed LibreElec system (installed LibreELEC-Generic.x86_64-7.90.002.img with an update to LibreELEC-Generic.x86_64-8.0-Milhouse-20160703100029-#0702-gf7cc132) on my Win10 system (another PC). All named and sorted, so it just have to be added to the HTPC and in LibreElec to the sources and everything is done. 2 of them (NTFS) are mounted within LibreElec without problems. The third one is not available at all.
I've searched and found this​, so I opened putty and entered these commands:
Code:
blkid | pastebinit
mount | pastebinit
dmesg | pastebinit
The following messages are the results:
blkid = http://sprunge.us/UaCa
mount = http://sprunge.us/haUQ
dmesg = http://sprunge.us/TNXK

So what's next? As you can see (in blkid), the troubled HDD is BesslerMovie. 
The funny thing is, if I remove the SATA cable and replug it while running, the system shows a message "Besslermovie has been mounted successfully" and shortly after that "Besslermovie has been removed". I tried different SATA cables and connectors, but still the same problem. It won't show. Only on the other PC with Windows. 
I also tried to mount it myself with
Quote:mount /dev/sdc2 /var/media/
and only got the message:
Quote:mounting /dev/sdc2 on /var/media/ failed: Invalid argument

The HTPC specs:
MB: Asus F2A85-M LE A85 RG SA
CPU: AMD A6-5400K
RAM 4GB Kingston HyperX DDR3-2100
SSD: Samsung 850 Evo SSD 64GB
3 HDDs, 2TB, 1,5TB and the problematic 4TB one

If you need any more information, just ask.
Looking forward to additional ideas and help.
Reply
#2
try mount -t ntfs-3g /dev/sdc2 /var/media

if this doesn't work either, provide the output of fdisk -l /dev/sdc
Reply
#3
(2016-07-05, 13:59)wsnipex Wrote: try mount -t ntfs-3g /dev/sdc2 /var/media
# mount -t ntfs-3g /dev/sdc2 /var/media
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sdc2': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
mount: mounting /dev/sdc2 on /var/media failed: No such device

(2016-07-05, 13:59)wsnipex Wrote: if this doesn't work either, provide the output of fdisk -l /dev/sdc
fdisk -l /dev/sdc
-sh: fdisk: not found
Reply
#4
(2016-07-05, 14:14)MasterPhW Wrote:
(2016-07-05, 13:59)wsnipex Wrote: try mount -t ntfs-3g /dev/sdc2 /var/media
# mount -t ntfs-3g /dev/sdc2 /var/media
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sdc2': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume

read-only with the 'ro' mount option.
mount: mounting /dev/sdc2 on /var/media failed: No such device

(2016-07-05, 13:59)wsnipex Wrote: if this doesn't work either, provide the output of fdisk -l /dev/sdc
fdisk -l /dev/sdc
-sh: fdisk: not found
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
I've seen that error message and googled it.
It seems some Windows stuff is blocking it for usage on linux. So I will reconnect it to the Windows PC and disable all special stuff, like fastboot. But first, I need to come back home from work. Wink
I will update this thread after I am home and tried the steps I described. Till then, thanks for the help so far!
Still kinda new in linux.
Reply
#6
Had same problem, use safe usb disconnect in windows
Reply
#7
The HDD was connected via internal SATA connectors. Afaik there's no safe disconnect available for internal HDDs, but I will also look for it.
Reply
#8
I've got it working!
Finally.
I did the following:
1. I opened the Control Panel and clicked on Power Options.
2. Clicked on "Choose what the power buttons do".
3. Clicked on "Change settings that are currently unavailable".
4. Unchecked "Turn on fast startup (recommended)"
After that I openened the command prompt (in administrator mode) and entered "powercfg /h off".
I shut down my PC, removed the HDD and it mounted in LibreElec without problems! Thanks for the input guys, I'm still a Linux noob!
Reply

Logout Mark Read Team Forum Stats Members Help
LibreElec can't mount/see 4TB GPT NTFS HDD0