04-13-2012 01:15 PM - edited 04-13-2012 01:19 PM
I replaced an older Momentous drive with this 750gb drive and SQL Server doesn't like it. Originally I restored to the new drive via backup, but It doesn't matter if I do a fresh install of SQL server on the drive; same problem. I'm running W7 on a Dell M6500 laptop and this is the second drive in the box.
The "5178" error is:
Cannot use file ...\mastlog.ldf' because it was originally formatted with sector size 4096 and is now on a volume with sector size 3072. Move the file to a volume with a sector size that is the same as or smaller than the original sector size.
Another utility "IsAdvancedFormat" also reports a physical sector size of 3072, most report the logical 512 or 4096.
Any ideas? Does this drive indeed have a physical sector size of 3072?
Solved! Go to Solution.
04-13-2012 10:04 PM
04-14-2012 05:54 AM
I think this is what you are looking for (attached).
04-14-2012 01:45 PM
04-14-2012 02:02 PM - edited 04-14-2012 02:42 PM
Thanks for your help.
The cluster size as reported by chkdsk is 4K. fsutil fsinfo ntfsinfo e: also reports "bytes per sector: 4096".
There is something about this drive that has the IsAdvancedFormat utility (http://deployment.xtremeconsulting.com/category/tr
Also of note: fsutil shows "bytes per physical sector as <no supported>". Could this be part of the problem?
04-14-2012 03:52 PM
04-14-2012 04:14 PM - edited 04-14-2012 05:21 PM
Thanks again for your help. This is becoming a multi-day headache.
I've attached the code to IsAdvancedFormat (if it helps).
My BIOS is not set to RAID. I was hoping that might be a reason for the problem.
Dell has a firmware updated available. Interestingly, Seagate does not. http://www.dell.com/support/drivers/us/en/19/Drive
I'm not going to apply Dell's update unless I can find a better reason to do so. Dell says the purpose for the update is to "Improve the read compatibility"
This seems to be a rare problem. Someone had the same problem as me a day earlier on Expert Exchange, but nothing has come of it over there: http://www.experts-exchange.com/Microsoft/Developm
Well... I just loaded Intel's Rapid Storage Technology console and it reports a physical sector size of 4092..
04-14-2012 05:55 PM
typedef struct _STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR {
ULONG Version;
ULONG Size;
ULONG BytesPerCacheLine;
ULONG BytesOffsetForCacheAlignment;
ULONG BytesPerLogicalSector;
ULONG BytesPerPhysicalSector;
ULONG BytesOffsetForSectorAlignment;
} STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR, *PSTORAGE_ACCESS_ALIGNMENT_DESCRIPTOR;
04-16-2012 12:39 PM - edited 04-16-2012 01:07 PM
I believe the problem is solved, although I don't know what did it. Thanks again for your help.
For future readers:
After taking a day off, I noticed today that a utility that had been showing 3072 as the sector size suddenly reported 4096. Seeing that something had changed with the disk, I tried to attach data files residing on the “bad” 3072 disk to my named instance of SQL server that I added for troubleshooting. And…. IT WORKED! No longer was SQL server complaining of a 3072 physical sector size any time it “touched” the disk.
My next step was to try to return back my “normal” operating environment. I still had the problem with my original default instance looking for data files it could not access. So, I completely uninstalled everything labeled “SQL Server 2012” and re-installed a default instance, with the instance files pointed at the former “3072” drive. And, IT WORKED! There were permission issues to work out, but it worked.
So, what changed with my disk issues? Good question. The last thing I did in troubleshooting was to install Intel’s “Rapid Storage Technology” app. Prior to that, from an Intel chipset web page, I asked for a scan of my system for new drivers. It said that there was nothing chipset-related to update. There was also nothing from Seagate to update. I went ahead and installed the Intel app even though supposedly it’s really only useful for managing RAID arrays, swapping drives, etc.
So, I can only assume that it was a driver issue related to reporting 3072 as the sector size. Note that some utilities reported 4096 all along. Only the “IsAdvancedFormat” app and SqlServer seemed to think the physical sector size was 3072. I also must not have rebooted enough times to get something to take after the Intel app install.
Note that along the way I found items of interest, such as http://support.microsoft.com/kb/982018 but my system was already up to date.
07-30-2012 09:22 AM
I had extactly the same issue with an ST2000DM001, installing Intel’s “Rapid Storage Technology” application fixed it. So it looks like there is a driver issue.
©2012 Seagate Technology LLC