Unable to delete ReadOnly ReFS volume on Windows 2012 Server

Hi All

I have a issue regarding read-only ReFS volume in windows Server 2012 which is mentioned below:

1. Create a ReFS volume from diskmgmt let's say V1(H:)

2.make this volume readonly by following diskpart command
DISKPART> attributes volume set readonly

Volume attributes set successfully.

DISKPART> attributes volume
Read-only              : Yes
Hidden                 : No
No Default Drive Letter: No
Shadow Copy            : No

3. when we try to delete this readonly volume, it gives error that volume is in use as mentioned below:
DISKPART> delete volume

Virtual Disk Service error:
The device is in use.


The selected volume or partition is in use.
To continue with the operation use the OVERRIDE parameter.

3. Although we can delete volume force-fully but the same case is working properly for NTFS.

So the qustions are that:
1. Is this a known issue in windows 2012?
2. Is it ok to always destroys ReFS volume forcefully in windows 2012?
3. If it's a known issue, Is Microsoft planning to provide some fix for this in windows 201
May 19th, 2015 5:32am

Hi Nilesh,

I tried and got the same result as yours.

Meanwhile the behavior did not occur when I try the same steps on Windows Server 2012 R2 system.

Personally I think Override parameter will not affect the disks but if you feel uncomfortable with keep using Override to delete a volume, at least we can remove the Readonly attribute manually with "attributes volume clear readonly" in Diskpart. After that the volume could be removed successfully.

Free Windows Admin Tool Kit Click here and download it now
May 19th, 2015 11:23pm

Hi..

is this documented somewhere for Windows 2012 Server ??

Can you share that link ?

May 20th, 2015 3:35am

Hi Nilesh,

No, just my personal opinion. I cannot confirm if it is an issue in Windows Server 2012, or it is an improvement if Windows 2012 R2. 

But "clear readonly" will work and avoid to "force-delete" the volume. 

Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 3:42am

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

Other recent topics Other recent topics