Ubuntu cant see whats in my harddrives

Error mounting /dev/sde1 at /media/vagacaelifera/Spill-Hdd: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sde1" "/media/vagacaelifera/Spill-Hdd"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sde1': 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.

This is what it says. I have 2x1tb (raid 1) and two single 2 tb drives. I cannot access any of them now:/
I cant find any solutions, so I hope some of u guys can help:-)

I had this issue as well, windows has locked the drives. I think this is because it doesn't truly shut off when you say to so the drives stay partially mounted.

2 Likes

That worked for me ;).

I'm at a loss, what is the question?
As best I can tell you posted the answer yourself:

Or am I missing something? Boot windows and shut it down properly?

If all you want is to view the contents (aka. read-only access), you can

$ sudo mount -o ro,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177 /dev/sde1 /mnt

This happens because Windows 8+ always hibernates when you shutdown unless it detects configuration changes etc. that requires reboot. You need to change the settings in Windows so that it fully shuts down.

I installed ubuntu on the drive i had windows on. So i do not have any drive with windows in it atm. Did windows lock the drives when i erased it, and installed linux instead?

Ah ok, hmm, I don't see why Windows would lock any drives that it isn't installed on but judged by the error message it looks like it did. Maybe try paragraph three under "Workaround for all versions of Windows" in the Ubuntu answers post Urworstnit3m3r linked.

Ah, I see. The drives aren't actually "locked", however, seeing as the system was hibernated, the drive is in an unwritten state, with open files. If you are sure that you wont need anything running in your old session and can live with the potential data loss of any files that were open, you can mount the drives with the remove_hiberfile option

$ sudo mount -o remove_hiberfile /dev/sde1 /mnt

once mounted you can unmount it again,

$ sudo umount /mnt

and then you should be able to mount it in the normal way.

I get this alot since I jump in between windows and ubuntu mate for my job. Go into windows and defrag any drives windows uses and do a complete windows shutdown. That'll do it. If not, make a partition thats like fat32 and save what files you need inbetween systems in that partition.

He doesn't have Windows installed anymore.