Server 2012 Deduplication causing OneNote 2010 data corruption possibly?

We had a 2008 R2 file server running as VM on 2012 host server.  This weekend we converted the underlying VHD to VHDX, then upgraded from 2008 R2 to 2012 and finally enabled deduplication on the volumes.

Now it appears that the OneNote table of contents files have become corrupted and OneNote is showing sections missing.  The actual sections are still in the same location and can be opened manually and moved but that is a little cumbersome for a large school network.  Any advice on this?

May 28th, 2013 3:59pm

A follow-up question on this.  Lets assume for troubleshooting sake that the .onetoc2 files are damaged in a given notebook.  Is there a way to force OneNote to basically re-index all the .One files in a folder and bring them back into the list of sections?

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2013 5:48pm

Hi,

This is a quick note to let you know that I am trying to involve someone familiar with this topic to further look at this issue.
May 29th, 2013 5:41am

Hi Brian,

This is a documented issue with OneNote 2010. If you set exceptions for OneNote files (.one, .onebin, .onetoc2) in the deduplication settings, then the issue will not occur. You may have to disable deduplication first, then add the exceptions and re-enable deduplication. It also does not occur when accessing the files with OneNote 2013. A fix for this issue is tentatively a part of the SP2 for Office 2010 as well and is included in the beta. (http://blogs.technet.com/b/office_sustained_engineering/archive/2013/04/08/office-2010-sp2-beta-now-available-for-download.aspx)

Thanks,
Ross

Free Windows Admin Tool Kit Click here and download it now
May 29th, 2013 5:07pm

Is this documented in a KB article somewhere so that someone like me could have found it?  Now that it has happened how do I fix it?  Right now I have hundreds of users that are having to manually rebuild OneNote notebooks since all the .onetoc2 files have been damaged?  Is there an automated way to force OneNote to rebuild .onetoc2 files so that the notebooks open properly?
May 29th, 2013 5:10pm

Hi Brian,

The .onetoc2 files are not damaged. They just do not point to the deduplicated data correctly. Once you disable deduplication on the volume, run the following command from an elevated PowerShell prompt on the server.

Start-DedupJob -Volume E: -Type Unoptimization

This will undo the deduplication that has occurred and will restore the sections in the OneNote notebooks. Then add the exceptions for the OneNote files (.one, .onebin, .onetoc2) and you can re-enable Deduplication if you prefer.

Disabling deduplication is discussed on this Forum post: http://social.technet.microsoft.com/Forums/zh-CN/winservergen/thread/482949ba-ecbe-4017-92d1-ccbd71888d80

Thanks,

Ross

Free Windows Admin Tool Kit Click here and download it now
May 29th, 2013 5:30pm

I have to unoptimize the entire volume to fix the onenote files?  Then can I reoptimize?  I have the exclusions in place for .onetoc2 and .one files. 

Thanks.

May 29th, 2013 5:41pm

Currently yes. The workaround is to unoptimize the entire volume, add the exceptions for the OneNote files, then re-enable deduplication.

Thanks,

Ross

Free Windows Admin Tool Kit Click here and download it now
May 29th, 2013 5:49pm

I have been running the unoptimize command on my 2+ TB of data with 1 million files across 4 volumes since 10:30 AM EST about 11 hours ago.  One volume has finished but the other 3 are still going.  However somehow the drives are filling up beyond what they were before I activated dedup in first place.  One example is a volume that was 750 GB, I expanded to 1000 GB so I know there was 250 GB free this past weekend.  Then I activated dedup and it optimized and completed.  In the process of unoptimizing I am under 60 GB free and it is still running?  How can unoptimizing take even more space than it started with?

Brian Hoyt

May 30th, 2013 4:35am

Here are some hard numbers

After optimization and before unoptimize began
FreeSpace    SavedSpace   OptimizedFiles     InPolicyFiles      Volume
---------    ----------   --------------     -------------      ------
544.38 GB    261.02 GB    314506             313338             E:
431.73 GB    169.66 GB    418482             418459             F:
209.7 GB     84.7 GB      168188             168180             G:
241.7 GB     131.44 GB    171926             171925             H:

Unoptimize in progress on 3 out of 4 and complete on 1
FreeSpace    SavedSpace   OptimizedFiles     InPolicyFiles      Volume
---------    ----------   --------------     -------------      ------
151.19 GB    261.02 GB    314506             313338             E:
40.32 GB     169.66 GB    418482             418459             F:
171.99 GB    131.44 GB    171926             171925             H:

so far the unoptimize process has used 200% of saved space at least?  What happens when I run out of space totally on volume?  Do I expand the drive and restart unoptimize?

Free Windows Admin Tool Kit Click here and download it now
May 30th, 2013 4:53am

Ross,

Can you confirm if the fix for this issue is resolved in the Office 2010 SP2 which is now released? I work at a school which has 900+ students who can not use OneNote since the start of the year because of this issue.

Thanks,

Jason

August 7th, 2013 10:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics