The disk contains an unclean file system: Difference between revisions

From WickyWiki
Created page with "Category:Ubuntu Category:Ubuntu Storage Category:2015 Mounting an external disk you would also use with Windows 8, 10 or newer you might get an error that looks s..."
 
mNo edit summary
Line 5: Line 5:
Mounting an external disk you would also use with Windows 8, 10 or newer you might get an error that looks somewhat like this:
Mounting an external disk you would also use with Windows 8, 10 or newer you might get an error that looks somewhat like this:


<blockqoute>
Ubuntu error
Ubuntu error
Error mounting /dev/sdXY
Error mounting /dev/sdXY
Exited with non-zero exit status 14
Exited with non-zero exit status 14
The disk contains an unclean file system
The disk contains an unclean file system
Metadata kept in Windows cache, refused to mount
Metadata kept in Windows cache, refused to mount
</blockqoute>


The reason for this might be the Windows hibernation feature. When you shutdown Windows the services are not stopped but instead are hibernated and pick up were they left the on the next boot. Only when you choose 'restart' everything is really stopped.
The reason for this might be the Windows hibernation feature. When you shutdown Windows the services are not stopped but instead are hibernated and pick up were they left the on the next boot. Only when you choose 'restart' everything is really stopped.

Revision as of 15:35, 6 November 2015


Mounting an external disk you would also use with Windows 8, 10 or newer you might get an error that looks somewhat like this:

Ubuntu error
Error mounting /dev/sdXY
Exited with non-zero exit status 14
The disk contains an unclean file system
Metadata kept in Windows cache, refused to mount

The reason for this might be the Windows hibernation feature. When you shutdown Windows the services are not stopped but instead are hibernated and pick up were they left the on the next boot. Only when you choose 'restart' everything is really stopped.

You could disable the hibernation feature in Windows:

  1. Control Panel
  2. Hardware and Sound
  3. Power Options
  4. System Setting
  5. Uncheck "Turn on fast startup"

You could clean-up the NTFS partition from within Ubuntu:

sudo apt-get install ntfs-3g
sudo ntfsfix /dev/sdXY