Jump to content



Photo

Making the Hot Spare Kick In in Storage Spaces

windows server 2012 storage spaces

  • Please log in to reply
13 replies to this topic

#1 Fahim S.

Fahim S.

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 15-April 02
  • OS: Windows 8.1 Update 1 / Chrome OS 37
  • Phone: Google Nexus 4

Posted 04 September 2012 - 21:29

Playing with Storage Spaces to work out if it is the tech for me.

This is what I did:
1) I created a Storage Space containing 4 250GB disks, of which 3 were set as data stores and 1 as a hot spare.
2) I created a parity fixed virtual disk (500GB or so) which spanned the 3 data store disks.
3) I created a volume in the virtual disk, formatted and made it my 'D' drive.
4) I copied my entire collection of FLAC files into the volume.
5) I pulled one of the disks, Server Manager reported the virtual disk with a 'warning: incomplete' - the volume itself reports itself as 'healthy'

I would now expect the hot spare to kick in to replace the disk I pulled to put myself back in a consistent state (albeit without a hot spare).
However, nothing has happened, so questions:

1) How long before the hot spare kicks in?
2) Is it meant to kick in automatically or am I meant to do something? If I am meant to do something, what is it?

This is on Server 2012 RC, so if this is a bug, do let me know...

Thanks to anyone that can help....


#2 theyarecomingforyou

theyarecomingforyou

    Tiger Trainer

  • Tech Issues Solved: 2
  • Joined: 07-August 03
  • Location: Terra Prime Profession: Jaded Sceptic
  • OS: Windows 10 Preview
  • Phone: Galaxy Note 3 with Galaxy Gear

Posted 04 September 2012 - 21:34

It should kick in automatically, although I'm not sure how long it takes. There is a command you can use to automatically trigger a rebuild.

#3 OP Fahim S.

Fahim S.

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 15-April 02
  • OS: Windows 8.1 Update 1 / Chrome OS 37
  • Phone: Google Nexus 4

Posted 04 September 2012 - 21:39

That's what I thought too, and that the kick off would be pretty quick. However, it has been sitting there like that for about 2 hours.

There doesn't seem to be any disk activity on the machine either - so it doesn't seem to be doing it in the background...

#4 Tony.

Tony.

    Neowinian Senior

  • Joined: 10-February 05
  • Location: Liverpool, UK
  • OS: Windows 7

Posted 04 September 2012 - 21:53

By any chance did you pull the hot spare out?

#5 Tony.

Tony.

    Neowinian Senior

  • Joined: 10-February 05
  • Location: Liverpool, UK
  • OS: Windows 7

Posted 04 September 2012 - 22:04

Just to addon. There is a Repair command in powershell that can trigger a repair, but, from what I read, the drives will resync eventually.

#6 OP Fahim S.

Fahim S.

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 15-April 02
  • OS: Windows 8.1 Update 1 / Chrome OS 37
  • Phone: Google Nexus 4

Posted 05 September 2012 - 09:18

By any chance did you pull the hot spare out?


Nope - definitely did not pull out the hot spare as the disk is still showing as being online, whereas the one I did pull, marked as a Data Store is marked with a comms error.

I did not get a chance to check this morning if it had decided to resync - will check when I get home from work tonight - by which time it would have been a good 20 hours...

I know there are commands that can be run, but they don't appear to do anything - or when doing the same thing from the Server Manager.

Will report back later...

#7 OP Fahim S.

Fahim S.

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 15-April 02
  • OS: Windows 8.1 Update 1 / Chrome OS 37
  • Phone: Google Nexus 4

Posted 05 September 2012 - 20:53

Over 24 hours later and still no rebuild!
What's the point of a hot spare if it doesn't automatically use it :-(

Anyone have any ideas?

#8 Tony.

Tony.

    Neowinian Senior

  • Joined: 10-February 05
  • Location: Liverpool, UK
  • OS: Windows 7

Posted 05 September 2012 - 20:58

Over 24 hours later and still no rebuild!
What's the point of a hot spare if it doesn't automatically use it :-(

Anyone have any ideas?


There must be a reason why it didn't happen. :s Erm, try doing it manually and try again?

#9 n_K

n_K

    Neowinian Senior

  • Tech Issues Solved: 3
  • Joined: 19-March 06
  • Location: here.
  • OS: FreeDOS
  • Phone: Nokia 3315

Posted 05 September 2012 - 21:03

Can you still access any/all the data on the drive? If not then it's not rebuilding because the array is completely dead.

#10 OP Fahim S.

Fahim S.

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 15-April 02
  • OS: Windows 8.1 Update 1 / Chrome OS 37
  • Phone: Google Nexus 4

Posted 05 September 2012 - 21:54

There must be a reason why it didn't happen. :s Erm, try doing it manually and try again?

I am rapidly coming to the conclusion that it may be my only choice.

Can you still access any/all the data on the drive? If not then it's not rebuilding because the array is completely dead.

Have absolutely no problems accessing any of the data on the volume.

#11 ]SK[

]SK[

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 12-October 04
  • Location: Nottingham, UK
  • OS: Windows 8.1
  • Phone: Nexus 5

Posted 19 April 2013 - 10:42

An aged post but did you get to the bottom of this?

I've been trying this in a ESXi VM and find the same thing. When deleting the drive Windows sees it has lost connectivity to one of the disks and reports Warning: Degraded but the hot spare is never used.

#12 cybertimber2008

cybertimber2008

    Neowinian Senior

  • Joined: 02-December 08

Posted 19 April 2013 - 12:52

This topic might get closed, but here goes:
It seems from the TechNet article (http://technet.micro...y/jj899886.aspx) that it might be in the "disabled" state under Disconnected Disks.

Setting | Behavior
Auto | If a hot spare is available in the storage pool follow the Enabled logic. Otherwise, follow the Disabled logic.
Enabled | Mark the disk as Failed, replace it with a hot spare, and then retry the operation
Disabled | Wait for the disk to reconnect or for an administrator to take action (do not use any available hot spares) Posted Image

Note
If an entire enclosure is disconnected, no action is taken even when set to Auto or Enabled because the system has likely lost more disks than can be replaced by hot spares.



#13 ]SK[

]SK[

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 12-October 04
  • Location: Nottingham, UK
  • OS: Windows 8.1
  • Phone: Nexus 5

Posted 19 April 2013 - 13:16

Looks like its already set to auto...

RetireMissingPhysicalDisks : Auto

#14 Mikeattak

Mikeattak

    Resident One Post Wonder

  • Joined: 22-April 13

Posted 22 April 2013 - 13:40

On a "drive-pull" event detected by Windows, the hot spare will be used, and resync will start, if you write data on a volume that is using the affected virtualdisk.