Is the USN journal disabled by default?

梦想与她 提交于 2020-01-07 06:20:22

问题


In my backup application I am using USN journal to check changes to the volume. By default USN is disabled or enabled? In this link (old article)it was mentioned like "By default, an NTFS volume will have its Change Journal disabled" .I didn't get much information about it in any website. Is it really disabled on NTFS drive or Is it based on OS? It's important to me because I use it in my application.


回答1:


It's generally on in Windows XP, Vista, 7, 8, Server 2003, Server 2008, and Server 2012. But, I've seen it off in each and every one of these version, so you can't rely on it just being on. I've seen articles and q/a where users are told to delete it to save space. You can query whether it's off or on here.

You can turn it off and on (or grow it) here.

The article you've referenced is an oldie but a goody. Windows 2000 was the brave new world when that was written.

There is also a tool called fsUtil available in Windows XP,Vista, 7, 8, Server 2003, Server 2008, and Server 2012 that will let you query the USN journal, turn it off/on, and grow it from the command line.




回答2:


I think it's disabled by default, because it consumes resources, and if nobody needs the journal, then it would be a waste. Anyway, the real answer is that you can't depend on this knowledge. It may be dependent on many of things. Even if there is a default, any user may have enabled/disabled the journal manually. If you depend on the journal, then you have to check if it's enabled, and if not, then enable it.



来源:https://stackoverflow.com/questions/27184283/is-the-usn-journal-disabled-by-default

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!