This post is more than 5 years old

1 Rookie

 • 

15 Posts

180708

April 1st, 2015 03:00

snapshot error when running chkdsk on CSV

Hi. I have a WS2012R2 Hyper-V cluster using CSVs stored on EQL.

I was testing things out and you're supposed to be able to run chkdsk C:\ClusterStorage\ /scan while the CSV volume is online (not in maintenance or redirected access mode).

However, I'm getting this error:

PS C:\Users\admin> chkdsk C:\ClusterStorage\CSV1 /scan
The type of the file system is NTFS.
The parameter is incorrect.

A snapshot error occured while scanning this drive. Run an offline scan and fix.

What I've done:

 - on all cluster nodes, logged on to the vss-control volume

 - in HIT Kit, added the group in "PS Group Access", including VDS/VSS access (I've also tried adding Smart Copy access, however that shouldn't be necessary, right?)

 - ensured there's a snapshot reserved defined on the EQL volume (there was different error when I had snapshot reserve set to 0 before)

Any ideas what's the problem? There are no more details in the eventlog.

7 Technologist

 • 

729 Posts

April 1st, 2015 09:00

Ensure you run chkdsk from an elevated command prompt (run as administrator).  You may need to do what the error message is saying to run in maintenance mode

You can try to temporally disable the snapshot schedule.

Although depreciated, you can also try the PowerShell cmdlet

Repair-ClusterSharedVolume -ChkDsk –Parameters

You don't need to log into the vss-control volume and there is no risk in having the vss-control volume connected.  VSS-Control is a gateway to pass info to/from the array.  It's not a "system" volume.

-Joe

1 Rookie

 • 

15 Posts

April 2nd, 2015 03:00

Hi guys, thanks for replying.

I was running those commands in elevated prompt. Also, the deprecated Repair-ClusterSharedVolume internally just calls chkdsk, so it returned the same error.

After unregistering the HW VSS provider, the /scan ran successfully while the CSV was online. Although  not officially supported, I guess this is an acceptable workaround.

We're using DPM 2012 R2 to backup the virtual machines, so am I right assuming that I should be using this workaround only when backup isn't running, else it will fail?

1 Rookie

 • 

15 Posts

April 2nd, 2015 04:00

Thanks for the clarification Donald.

1 Message

April 7th, 2015 04:00

I see! Got it!

No Events found!

Top