Fedora Linux Support Community & Resources Center
  #16  
Old 27th May 2012, 06:05 AM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
linuxchrome
Re: The Case of the Disappearing Files (NTFS Style)

Anything that we could try or would it lead to a deadend?

From this blog, http://blogs.msdn.com/b/b8/archive/2...lth-model.aspx

It seems that microsoft is improving the NTFS filesystem so maybe that could eradicate these problems altogether.
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
  #17  
Old 27th May 2012, 07:44 AM
Jean Pierre Offline
Registered User
 
Join Date: Feb 2011
Posts: 112
linuxfedoraseamonkey
Re: The Case of the Disappearing Files (NTFS Style)

Quote:
Anything that we could try or would it lead to a deadend?
It will be difficult to do more remote testing, so I will have to install Windows 8 and check myself. This will take time, more findings welcome in the meantime. For now I recommend shutting down Windows 8 fully.
Quote:
It seems that microsoft is improving the NTFS filesystem so maybe that could eradicate these problems altogether.
This seems to be about checking and defragmenting NTFS on the fly (without unmounting), it does not mean changes to file system layout.

Last edited by Jean Pierre; 27th May 2012 at 08:35 AM.
Reply With Quote
  #18  
Old 29th May 2012, 07:53 AM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
windows_7chrome
Re: The Case of the Disappearing Files (NTFS Style)

I guess we'll close this thread then. I'll revert back to Win7.

If you do find anything, let me know. Thanks again for all the help.
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
  #19  
Old 6th June 2012, 03:01 PM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
linuxchrome
Re: The Case of the Disappearing Files (NTFS Style)

An odd thing happened today. I copied some files and downloaded some others from my dropbox into the dropbox folder. I needed to use those files in Windows right after that so I logged in and those files disappeared. However, when I logged back into Fedora, those files reappeared (And not from the dropbox sync, they were just there).

Just thought I would mention this incident if it may help.
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
  #20  
Old 6th June 2012, 08:12 PM
Jean Pierre Offline
Registered User
 
Join Date: Feb 2011
Posts: 112
linuxfedoraseamonkey
Re: The Case of the Disappearing Files (NTFS Style)

In theory, you can prevent your computer running Windows8 from hibernating, by running the command
Code:
powercfg -h off
I am not sure whether this has an effect on the fast reboot.

I have installed the Windows8 Release Preview on a virtualbox virtual computer, and I have the opposite problem : I have not been able to hibernate.

Code:
c:\Users\Jean-Pierre\Documents>powercfg -h on
Hibernation failed with the following error: The request is not supported.

The following items are preventing hibernation on this system.
        The system firmware does not support hibernation.

c:\Users\Jean-Pierre\Documents>shutdown /h
Hibernation is not enabled on this system. You must enable hibernation in order
to use the -h option.
As a consequence, I have not been able to create a mismatch between the Windows view of files and the Linux one. There is no hiberfil.sys, and I do not get the fast Windows boot.
Reply With Quote
  #21  
Old 5th July 2012, 03:48 PM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
windows_7chrome
Re: The Case of the Disappearing Files (NTFS Style)

Sorry, just noticed your update. (Did not get a notification)

I'm not sure if hibernation is supported by VirtualBox. Perhaps try the closed source version. It generally has more options.

But I noticed something weird today. I'm back on Windows 7 with Fedora 17. Apparently, due to low battery, my windows went into hibernation. I later booted up the system into fedora. Downloaded a file into my dropbox folder. Shut down the computer sometime later. Now, when I booted into Windows, dropbox on Windows started downloading the same file. So I am guessing we were right about it being that windows remembers the old state of the hard drives during hibernation (Which is also the same way Windows 8 boot is so fast.)
But other than this case, I have had no similar problems with Windows 7.

Let me try running Win8 on a VM and see if I'm able to get it to hibernate.
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
  #22  
Old 5th July 2012, 04:50 PM
Jean Pierre Offline
Registered User
 
Join Date: Feb 2011
Posts: 112
linuxfedoraseamonkey
Re: The Case of the Disappearing Files (NTFS Style)

Quote:
So I am guessing we were right about it being that windows remembers the old state of the hard drives during hibernation
This has been known for long, and ntfs-3g should detect the hibernation when mounting the Windows 7 system partition.
Quote:
(Which is also the same way Windows 8 boot is so fast.)
Probably true, though I have not been able to check it. Without the fast booting mode, I have not been able to generate an error condition. As a consequence I do not know how to detect Windows 8 being hibernated. Not having an "hiberfil.sys" is a safe condition, but having an "hiberfil.sys" does not necessarily mean an unsafe condition.

Anybody having the issue, please try disabling the fast boot option :
Code:
powercfg -h off
and report about the fast boot disabling, the presence of hiberfil.sys and what are its first four bytes.
Reply With Quote
  #23  
Old 9th July 2012, 05:31 PM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
linuxchrome
Re: The Case of the Disappearing Files (NTFS Style)

I don't think that ntfs-3g would detect the hibernation. The state is stored in the Windows root drive which may not even be mounted by the Linux Filesystem. And the mount mounts may vary from pc to pc

Also with Windows 8, you would not need to do a hibernate. Shutdown on that system is equally good. Of course, it depends on whether the hiberfile is used for shutdown and start up. How fast is your Virtual Win8 starting up?
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)

Last edited by AceRoom; 9th July 2012 at 05:33 PM.
Reply With Quote
  #24  
Old 9th July 2012, 09:28 PM
Jean Pierre Offline
Registered User
 
Join Date: Feb 2011
Posts: 112
linuxfedoraseamonkey
Re: The Case of the Disappearing Files (NTFS Style)

Quote:
I don't think that ntfs-3g would detect the hibernation. The state is stored in the Windows root drive which may not even be mounted by the Linux Filesystem.
When mounting a partition, ntfs-3g could check whether the bootable primary partition from the same device has already been mounted. If not mounted, it could temporarily mount it read-only to check for a hiberfil.sys. I am not keen on it, but if I have to, I will.
Quote:
Shutdown on that system is equally good. Of course, it depends on whether the hiberfile is used for shutdown and start up. How fast is your Virtual Win8 starting up?
I get to the login screen in 40 seconds, from a virtual Win8 (same speed for the 32 and 64 bits variants) stored on an external USB disk formatted as ntfs. This is probably only 33 seconds, as the Windows splash screen shows after 7 seconds (2.2GHZ, single core allocated to the virtual computer). This is fast enough for me....
Reply With Quote
  #25  
Old 17th September 2012, 06:33 PM
Jean Pierre Offline
Registered User
 
Join Date: Feb 2011
Posts: 112
linuxfedoraseamonkey
Re: The Case of the Disappearing Files (NTFS Style)

I have been able to confirm that files created on Linux may not be visible by Windows 8, and even be overriden by Windows 8, if its fast restart feature is activated. On fast restarting, Windows 8 apparently uses the metadata saved during its previous shutdown instead of the ones modified by Linux in the meantime.

To disable the fast restarting (and hibernation), you can issue as a Windows Administrator the command "powercfg /h off".

Unless overwritten by a newer file, the missing files can be restored by starting a "chkdsk /f" command, which will refresh the in-memory cache from the on-disk metadata.

Please note : this can happen on any internal partition, and ntfs-3g can only check the hibernation state on the Windows system partition. No check is made if the Windows system partition is not mounted.
Reply With Quote
  #26  
Old 21st September 2012, 10:18 AM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
linuxchrome
Re: The Case of the Disappearing Files (NTFS Style)

Perhaps we should file a bug report or a proposal to ntfs-3g? If this issue isn't rectified, there will be huge problems when Windows 8 officially comes out.
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
  #27  
Old 21st September 2012, 12:01 PM
Jean Pierre Offline
Registered User
 
Join Date: Feb 2011
Posts: 112
linuxfedoraseamonkey
Re: The Case of the Disappearing Files (NTFS Style)

Quote:
Perhaps we should file a bug report
I just did : fedora bugzilla #859373 (also Ubuntu #1052566 )
Quote:
or a proposal to ntfs-3g?
Good idea, waiting for a proposal....
Reply With Quote
  #28  
Old 12th January 2013, 06:09 PM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
windows_7chrome
Re: The Case of the Disappearing Files (NTFS Style)

Seems that Windows 8 offers a solution to this problem:

http://www.h-online.com/open/feature...40.html?page=2
Of course, it compromises the speedy boot.
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
  #29  
Old 12th January 2013, 06:16 PM
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 7,330
linuxfirefox
Re: The Case of the Disappearing Files (NTFS Style)

There have been reports similar to this when fast boot is enabled in Windows 8. Have you tried disabling the Fast boot (or Fast startup) option?
Reply With Quote
  #30  
Old 19th January 2013, 06:27 AM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
windows_7chrome
Re: The Case of the Disappearing Files (NTFS Style)

No, I have not. Currently, I neither have Linux nor Windows 8 installed on this laptop.

But are there any other solutions then?
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
Reply

Tags
case, disappearing, files, ntfs, style

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Strange case of disappearing permissions.. maal Using Fedora 3 22nd December 2011 07:04 AM
Installing new LaTeX style files awesomo Using Fedora 2 3rd June 2008 09:41 PM
The mysterious case of the disappearing programs Sanuk Using Fedora 16 9th July 2006 12:51 PM
New partition, files disappearing . . . Fmac Using Fedora 2 8th July 2005 10:43 AM
My Amazing Disappearing Files Cervantes Using Fedora 4 13th May 2005 01:51 AM


Current GMT-time: 12:57 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Elektrogorsk - Saoner - Dancheng Photos on Instagram