[ISSUE] b20251 b20257 b20262 b20270 b20282 b20287 Formatting a volume fails

%3CLINGO-SUB%20id%3D%22lingo-sub-1904794%22%20slang%3D%22en-US%22%3E%5BISSUE%5D%20b20251%20b20257%20b20262%20Formatting%20a%20volume%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1904794%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22K_Wester-Ebbinghaus_0-1605748465858.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F234600iCF2EAF136C290026%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22K_Wester-Ebbinghaus_0-1605748465858.png%22%20alt%3D%22K_Wester-Ebbinghaus_0-1605748465858.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22K_Wester-Ebbinghaus_1-1605748489811.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F234601iB4080BC707EBC019%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22K_Wester-Ebbinghaus_1-1605748489811.png%22%20alt%3D%22K_Wester-Ebbinghaus_1-1605748489811.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22K_Wester-Ebbinghaus_3-1605748583805.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F234603iCE1E6623BB22EAD5%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22K_Wester-Ebbinghaus_3-1605748583805.png%22%20alt%3D%22K_Wester-Ebbinghaus_3-1605748583805.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eaffected%20builds%20(tested)%3A%20b20251%2Cb20257%2Cb20262%3C%2FP%3E%3CP%3Eremotely%20via%20Server%20Manager%20from%20b20201%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Einitializing%20as%20GPT%20%2F%20reset%20%2F%20clean%20works%20fine.%3C%2FP%3E%3CP%3Ecreating%20partition%20works%20fine%3C%2FP%3E%3CP%3Eformatting%20volume%20fails%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Erepro%20steps%3A%3C%2FP%3E%3CP%3Ereset%20disk%3C%2FP%3E%3CP%3Enew%20volume%3C%2FP%3E%3CP%3Efs%20refs%20or%20ntfs%2C%20default%20settings%3C%2FP%3E%3CP%3Eformat%20will%20fail%20(see%20diskpart%20and%20Server%20Manager)%3C%2FP%3E%3CP%3Eif%20server%20manager%20is%20used%2C%20update%20cache%20will%20run%20eternally%20until%20wizard%20is%20closed%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22K_Wester-Ebbinghaus_4-1605748704795.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F234604i72F3C6A27D6E2AC1%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22K_Wester-Ebbinghaus_4-1605748704795.png%22%20alt%3D%22K_Wester-Ebbinghaus_4-1605748704795.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1904794%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EServers%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EStorage%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Evnext%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1911201%22%20slang%3D%22en-US%22%3ERe%3A%20%5BISSUE%5D%20b20251%20b20257%20b20262%20Formatting%20a%20volume%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1911201%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F289393%22%20target%3D%22_blank%22%3E%40K_Wester-Ebbinghaus%3C%2FA%3E%26nbsp%3B%20Hi%2C%20thanks%20for%20reporting%20this%20issue!%20To%20help%20with%20the%20diagnosis%2C%20can%20you%20please%20also%20try%20using%20Disk%20Management%3F%20I'd%20like%20to%20see%20if%20this%20issue%20persists%20across%20Diskpart%2C%20Server%20Manager%2C%20AND%20Disk%20Management.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1937511%22%20slang%3D%22en-US%22%3ERe%3A%20%5BISSUE%5D%20b20251%20b20257%20b20262%20Formatting%20a%20volume%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1937511%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F875404%22%20target%3D%22_blank%22%3E%40AndrewHansen%3C%2FA%3E%2C%20unfortunately%20it%20does.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1952986%22%20slang%3D%22en-US%22%3ERe%3A%20%5BISSUE%5D%20b20251%20b20257%20b20262%20b2070%20Formatting%20a%20volume%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1952986%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F53017%22%20target%3D%22_blank%22%3E%40Elden%20Christensen%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F875404%22%20target%3D%22_blank%22%3E%40AndrewHansen%3C%2FA%3E%26nbsp%3Bhi%20there%20I%20can%20confirm%20there%20is%20no%20change%20in%20b20270%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2067795%22%20slang%3D%22en-US%22%3ERe%3A%20%5BISSUE%5D%20b20251%20b20257%20b20262%20b2070%20Formatting%20a%20volume%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067795%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F875404%22%20target%3D%22_blank%22%3E%40AndrewHansen%3C%2FA%3E%26nbsp%3BI%20am%20still%20seeing%20this%20issue%20that%20i%20cannot%20format%20any%20drives%20using%20diskpart%2C%20Server%20Manager%20in%20b20270%20and%20b27282%20on%20the%20local%20machine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20now%20it%20is%20getting%20interesting.%20Using%20WAC%202012%20Preview%20this%20works%20from%20a%20remote%20machine.%20I%20still%20have%20to%20believe%20there%20is%20something%20broken%20with%20the%20local%20commands.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F548197%22%20target%3D%22_blank%22%3E%40Prasidh_Arora%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2085136%22%20slang%3D%22en-US%22%3ERe%3A%20%5BISSUE%5D%20b20251%20b20257%20b20262%20b2070%20Formatting%20a%20volume%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2085136%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F51043%22%20target%3D%22_blank%22%3E%40Mary%20Hoffman%3C%2FA%3E%26nbsp%3Bdo%20you%20know%20if%20anyone%20is%20actively%20triaging%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2088077%22%20slang%3D%22en-US%22%3ERe%3A%20%5BISSUE%5D%20b20251%20b20257%20b20262%20b2070%20Formatting%20a%20volume%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2088077%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F289393%22%20target%3D%22_blank%22%3E%40K_Wester-Ebbinghaus%3C%2FA%3E%26nbsp%3B%20Hi%2C%20apologies%20for%20the%20delay.%20We've%20investigated%20this%20a%20bit%20further.%20Can%20you%20look%20in%26nbsp%3B%E2%80%9C%5Cwindows%5Csystem32%E2%80%9D%20directory%20to%20see%20if%20the%20files%20%E2%80%9Cuntfs.dll%E2%80%9D%20and%20%E2%80%9CuReFS.dll%E2%80%9D%20exist%3F%20It%20looks%20like%20dispart%20is%20failing%20to%20load%20those%20modules.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3C%2FP%3E%0A%3CP%3EAndrew%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2089746%22%20slang%3D%22en-US%22%3ERe%3A%20%5BISSUE%5D%20b20251%20b20257%20b20262%20b2070%20Formatting%20a%20volume%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2089746%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F875404%22%20target%3D%22_blank%22%3E%40AndrewHansen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eno%20problem%2C%20holiday%2C%20covid%2C%20potentially%20more%20reasons.%20As%20long%20we%20get%20a%20solution%20I%20am%20happy.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22K_Wester-Ebbinghaus_0-1611413048631.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F248881i2627CB0E3CEC936E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22K_Wester-Ebbinghaus_0-1611413048631.png%22%20alt%3D%22K_Wester-Ebbinghaus_0-1611413048631.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22K_Wester-Ebbinghaus_1-1611413062976.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F248882iDBE20801FCCD6304%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22K_Wester-Ebbinghaus_1-1611413062976.png%22%20alt%3D%22K_Wester-Ebbinghaus_1-1611413062976.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Eeach%20match%20with%20the%20OS%20version%20b20282%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2092728%22%20slang%3D%22en-US%22%3ERe%3A%20%5BISSUE%5D%20b20251%20b20257%20b20262%20b2070%20Formatting%20a%20volume%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2092728%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F289393%22%20target%3D%22_blank%22%3E%40K_Wester-Ebbinghaus%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20the%20response.%3C%2FP%3E%0A%3CP%3EWe%20tested%20on%20the%20latest%20flighting%20insider%20build%20and%20was%20not%20able%20to%20repro%20this%20issue.%20Formatting%20volumes%20(both%20NTFS%20and%20REFS)%20via%20Disk%20Management%2C%20Server%20Manager%20and%20diskpart%20all%20work%20fine.%20Can%20you%20please%20try%20upgrading%20to%20the%20latest%20build%20and%20see%20if%20the%20issue%20persist%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

K_Wester-Ebbinghaus_0-1605748465858.pngK_Wester-Ebbinghaus_1-1605748489811.png

K_Wester-Ebbinghaus_3-1605748583805.png

 

affected builds (tested): b20251,b20257,b20262,b20270,b20282

remotely via Server Manager from b20201

 

initializing as GPT / reset / clean works fine.

creating partition works fine

formatting volume fails

 

repro steps:

reset disk

new volume

fs refs or ntfs, default settings

format will fail (see diskpart and Server Manager)

if server manager is used, update cache will run eternally until wizard is closed

 

K_Wester-Ebbinghaus_4-1605748704795.png

 

 

37 Replies

@K_Wester-Ebbinghaus  Hi, thanks for reporting this issue! To help with the diagnosis, can you please also try using Disk Management? I'd like to see if this issue persists across Diskpart, Server Manager, AND Disk Management. 

Hi @AndrewHansen, unfortunately it does.

@Elden Christensen @AndrewHansen hi there I can confirm there is no change in b20270

Hello @AndrewHansen I am still seeing this issue that i cannot format any drives using diskpart, Server Manager in b20270 and b27282 on the local machine.

 

But now it is getting interesting. Using WAC 2012 Preview this works from a remote machine. I still have to believe there is something broken with the local commands.

@Prasidh_Arora 

Hi @Mary Hoffman do you know if anyone is actively triaging this?

@K_Wester-Ebbinghaus  Hi, apologies for the delay. We've investigated this a bit further. Can you look in “\windows\system32” directory to see if the files “untfs.dll” and “uReFS.dll” exist? It looks like dispart is failing to load those modules. 

 

Thanks!

Andrew

Hi @AndrewHansen 

no problem, holiday, covid, potentially more reasons. As long we get a solution I am happy.

K_Wester-Ebbinghaus_0-1611413048631.png

 

K_Wester-Ebbinghaus_1-1611413062976.png

each match with the OS version b20282

Hi @K_Wester-Ebbinghaus,

Thanks for the response.

We tested on the latest flighting insider build and was not able to repro this issue. Formatting volumes (both NTFS and REFS) via Disk Management, Server Manager and diskpart all work fine. Can you please try upgrading to the latest build and see if the issue persist?

 

@YanranHao yes I will try. It will demand to move some VMs back and forth but that's ok. 

This is a local NvME disk where I have tried it last time. I can also double check the situation in Windows Server VM. It should give same results.  

@YanranHao this will take some more time as Ned Pyle is currently investigating an SMB related issue in b20282. 

hello@YanranHao this is the state with b20287, it is unchanged

- upgraded to b20287
- have emptied the internal NvME drive 

- reset disk via Server Manager (selected drive)

- formatted it with Server Manager (see screenshot results)

 

K_Wester-Ebbinghaus_0-1611945903460.png

 

- using WAC would work but you need to reset disk first because the disk in in an inconsistent state

K_Wester-Ebbinghaus_1-1611946838830.png

- WAC as of 2012 preview cannot initialize disks (or reset disks) that are already as GPT or MBR initialized @Prasidh_Arora,

 

- after "reset disk" in Server Manager WAC is able to initialize and format the disk properly, unlike Server Manager / diskpart etc. 

K_Wester-Ebbinghaus_3-1611947183200.png

K_Wester-Ebbinghaus_4-1611947270435.png

 

 

 

 

Hi @K_Wester-Ebbinghaus, thanks for the feedback. After you successfully formatted the volume via WAC, are you able to format the volume again (not resetting the disk, format the active volume directly) using Disk Management/Diskpart/format.com/Server Manager?

@YanranHao no. This does not work either. I have tested this weird thing on another machine and it works as intended. I noticed only one difference and I suspect that the troublemaker could be the Samsung NvME driver 3.3. I will be able to pinpoint this tomorrow. 

@K_Wester-Ebbinghaus I'm suspecting the hard disk driver too. I've tested the same repro step on non-Samsung NvME disk and did not find any problem.

@K_Wester-Ebbinghaus And you can try running "format.com /Q /FS:NTFS volume" on the volume to see if it give you more detail error information.

@YanranHao I am meanwhile in flight of build 20292. On this particular system I have the following setup
NvME disk, Samsung 3.3 NvME driver

Server Manager still gives the issue after reset and configuring the disk with the wizard.
It does not matter the FS used, so result for NTFS / ReFS is used. Also with configured Dedup VDI or no dedup same result
When I reset the disk in Server Manager and the process will stuck at formatting I am not able to use your format DOS command, as the wizard does not create a volume at all and thus no mounting point (driveletter)

 

What I could try is the following:
using server manage

initialize the disk as GPT via server manager 

diskpart 

sel dis 3

create part pri 
sel vol 4 (the raw volume)

assign letter=n
format.com /q /fs:ntfs n:
Result: this way it would work / same as with WAC remotely
I have to assume there is problem with Server Manager for no clear reason.
format gives no error opposite to Server Manager

K_Wester-Ebbinghaus_0-1613264900264.png

 

K_Wester-Ebbinghaus_1-1613264989847.png

 

@YanranHao I have no clue why Server Manager behaves this way but know it does utilize PowerShell under the hood (should).
for WAC this should be true the same way but something is different.
I will repeat the steps above and will try to leverage format-volume next and see what happens in comparison to format.com

@YanranHao I assume this is what Server Manager does as it result in the same error

K_Wester-Ebbinghaus_0-1613265935329.png

 

so let's try a combination of the previous (creation of a raw volume with diskpart) and formatting with Powershell

K_Wester-Ebbinghaus_1-1613266120529.png

 

K_Wester-Ebbinghaus_2-1613266167281.png

 

K_Wester-Ebbinghaus_3-1613266256418.png

 

 

K_Wester-Ebbinghaus_4-1613266306443.png

 

K_Wester-Ebbinghaus_5-1613266395681.png

 

Results: works



I see no relation to the used driver as both (Samsung or Standard NvME) give the same error and behaviour
1. format.com works only if I create a raw vol via diskpart and assign a letter to meet the technical requirements. Formatting is ok

2. format-volume works the same way
3. New-Volume and Server Manager give the same error. 

I have to assume that something is wrong with the new-volume cmdlet in the step to create a raw volume and assign the letter - because if manually done by diskpart this formatting is not an issue.

 

I understand you cannot reproduce this at your side, but on this system it is a consistent case and I hope we can find the reason for this insider. 

@YanranHao @AndrewHansen hi there meanwhile I have bought a new SSD 870 EVO and the behaviour is the same as with this internal NVME.

Also I am on 20295 now. It would mean a lot of work to go back and find out when this was introed and if I would see the same with 2019 LTSC. 

What can we do?

 

So can exclude finally exclude following factors imho:


- NvME driver (MS Default NvME or Samsung NvME 3.3)

- device issue

 

as the new SSD is connected via SATA3 an not NvME.

When you have time to reproduce this, can you please assure that you also have the deduplication feature installed? It does not have to be configured for the drive we want to format.