Author Topic: Noobie question regarding recovery.  (Read 3754 times)

Offline XmemphistoX

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Noobie question regarding recovery.
« on: September 26, 2011, 12:38:02 pm »
I just built my Snapshot raid array and am the middle of creating the parity data.  I understand that when you recover the array you can always resort to the parity drive for any failed HDD's.

What happens if my main WHS drive fails?  I can replace the drive and reinstall WHS/Flexraid.  If I reconfigure the snapshot array, will I have to rebuild the complete parity data again or will it recognize the data already there?

Offline jasonwc

  • Full Member
  • ***
  • Posts: 197
  • Karma: +5/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #1 on: September 26, 2011, 01:09:22 pm »
There are two things you should do:

1) The easiest solution is to maintain backups of the server so you can just re-image your replacement OS drive and be up and running in 15 minutes. If you're using WHS 2011, you can configure a server backup from the Dashboard.  I also have used Acronis True Image 2010 to perform system backups and have never had an issue restoring.

2) Backup  FlexRAID-Config.db which contains your RAID configuration. http://wiki.flexraid.com/2011/06/24/backing-up-and-migrating-raid-configuration-data/. If you must reinstall Windows, you can simply install FlexRAID and load your configuration settings. There will be no need to recreate the parity data.

« Last Edit: September 26, 2011, 02:10:20 pm by jasonwc »
Norco RPC-4224 4U Rackmount Case (24 Hotswap Bays) | Asus P8B Workstation Motherboard (four PCI-E 16x slots @ 8x/8x/4x/4x and dual 82574L Intel server NICs) | Core i3-2100 | Supermicro AOC-SASLP-MV8 SAS Controller | Corsair TX650v2 PSU | Currently 16 TB array, 2 TB parity | WHS 2011

Offline XmemphistoX

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #2 on: September 26, 2011, 01:51:08 pm »
Thanks for the info!

Offline monkeysez

  • Full Member
  • ***
  • Posts: 101
  • Karma: +0/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #3 on: September 26, 2011, 02:59:36 pm »
Just to make sure I understand, so If I need to reinstall windows, I can install flexraid and load the config file and be good to go before the re-installation?

Offline jasonwc

  • Full Member
  • ***
  • Posts: 197
  • Karma: +5/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #4 on: September 26, 2011, 03:25:48 pm »
I'm not sure what you mean by "before the re-installation". FlexRAID is like software RAID in that you can't use it to protect your OS partition drive. Therefore, if you were reinstalling Windows, you would install FlexRAID *after* installing Windows, not before.

However, if you had a backup image of your OS, you could just restore the image and you wouldn't have to do anything further.
Norco RPC-4224 4U Rackmount Case (24 Hotswap Bays) | Asus P8B Workstation Motherboard (four PCI-E 16x slots @ 8x/8x/4x/4x and dual 82574L Intel server NICs) | Core i3-2100 | Supermicro AOC-SASLP-MV8 SAS Controller | Corsair TX650v2 PSU | Currently 16 TB array, 2 TB parity | WHS 2011

Offline monkeysez

  • Full Member
  • ***
  • Posts: 101
  • Karma: +0/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #5 on: September 26, 2011, 04:53:47 pm »
What I meant to say is that after I restore my OS can I just reinstall flexraid and load the configuration and have all my data be in place. You answered it. Thanks

Offline jasonwc

  • Full Member
  • ***
  • Posts: 197
  • Karma: +5/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #6 on: September 26, 2011, 04:58:32 pm »
Sorry for the confusion.
Norco RPC-4224 4U Rackmount Case (24 Hotswap Bays) | Asus P8B Workstation Motherboard (four PCI-E 16x slots @ 8x/8x/4x/4x and dual 82574L Intel server NICs) | Core i3-2100 | Supermicro AOC-SASLP-MV8 SAS Controller | Corsair TX650v2 PSU | Currently 16 TB array, 2 TB parity | WHS 2011

Offline XmemphistoX

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #7 on: September 27, 2011, 04:45:40 pm »
Another Q regarding recovery.

Lets say I update my snapshot now and at a later point I add an additional 20 gigs of files to my array to (DDU) Drive 2.  I don't snapshot this change and (DDU) Drive 1 fails.  So (DDU) Drive 2 and (PPU) Drive 3 are still ok.  If I restore (DDU) Drive 1, will it still be ok?

I guess a better less convoluted question would be, is restoring a bad drive dependent on the PPU drive as well is the other DDU drives?  If so, by adding files to the other DDU drives without an updated snapshot, would that cause problems for recovery?

Offline xliv

  • Global Moderator
  • Full Member
  • *****
  • Posts: 208
  • Karma: +7/-1
    • View Profile
Re: Noobie question regarding recovery.
« Reply #8 on: September 27, 2011, 05:07:01 pm »
I assume you'll get into problems, as restoring a DRU depends on you PPU and all other DRUs.

However, this says "The only things affecting FlexRAID in Snapshot mode are: deletes and edits."

So I'm actually not sure.
Server HW: ASUS P8B-E/4L + PIKE 2008 SAS | Xeon E3-1230 | 8GB DDR3 ECC 1333 [Kingston - KVR1333D3E9SK2/8G] | Intel 320 - 80 Go (OS)
Server OS: Win7 64b EN
FlexRAID 2.0 latest build, Cruise Control, 7 DRUs (6x3TB,1x2TB), 1 PPU (2x2TB)

Offline XmemphistoX

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #9 on: September 27, 2011, 05:32:33 pm »
So this is scaring me a bit.  I am constantly renaming files, pictures and such.   Perhaps I should remove pictures and small files, music mp3s also and stick it on a raid 1.  I am glad to hear that any added files should be fine, still a bit of a scare.

How often do you all update your snapshot?

Offline xliv

  • Global Moderator
  • Full Member
  • *****
  • Posts: 208
  • Karma: +7/-1
    • View Profile
Re: Noobie question regarding recovery.
« Reply #10 on: September 27, 2011, 05:45:23 pm »
In my case, it's scheduled to run every night.

But as the wiki said, renaming is not an issue, editing and deleting is. But this article is not mentionning additions, so let's wait for Brahim's confirmation to be sure.
Server HW: ASUS P8B-E/4L + PIKE 2008 SAS | Xeon E3-1230 | 8GB DDR3 ECC 1333 [Kingston - KVR1333D3E9SK2/8G] | Intel 320 - 80 Go (OS)
Server OS: Win7 64b EN
FlexRAID 2.0 latest build, Cruise Control, 7 DRUs (6x3TB,1x2TB), 1 PPU (2x2TB)

Offline SlyNine

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #11 on: September 27, 2011, 06:41:53 pm »
I'm pretty sure adding would be ok as well, Since its only looking for certain data(files) that's there to match up with the parity to recreate the failed drive and probably wouldn't care to much about additional data that's not in the meta data.

But this is JUST a guess
« Last Edit: September 27, 2011, 06:45:07 pm by SlyNine »
2600k Core I7@4.4gh(1.28 max Vcore with all power saving features enabled), 8GB Ram, 2x BluRay Drives, ZM850-HP 850W Continuous, 2x intel x25-m 120gb ssd Raid 0, 5870 Radeon 5x2TB HDDs.

200 Bluray to MKV (no reencoding plus HD Audio all done myself), 10,000 Lossless songs, 1,300 TVshows

Offline jasonwc

  • Full Member
  • ***
  • Posts: 197
  • Karma: +5/-0
    • View Profile
Re: Noobie question regarding recovery.
« Reply #12 on: September 27, 2011, 09:16:53 pm »
Brahim answered this question in another thread:

In FlexRAID's implementation of Snapshot RAID:
- adding, renaming, moving data does NOT invalidate the parity
- editing and deleting data does
- when the RAID is out of sync, you stem to lose data up to the amount of changed data (multiple parity configurations further minimize that effect)

http://openegg.org/forums/posts/list/827.page
Norco RPC-4224 4U Rackmount Case (24 Hotswap Bays) | Asus P8B Workstation Motherboard (four PCI-E 16x slots @ 8x/8x/4x/4x and dual 82574L Intel server NICs) | Core i3-2100 | Supermicro AOC-SASLP-MV8 SAS Controller | Corsair TX650v2 PSU | Currently 16 TB array, 2 TB parity | WHS 2011

Offline xliv

  • Global Moderator
  • Full Member
  • *****
  • Posts: 208
  • Karma: +7/-1
    • View Profile
Re: Noobie question regarding recovery.
« Reply #13 on: September 28, 2011, 01:39:06 am »
Thanks jasonwc.
I updated the FAQ in the wiki.
Server HW: ASUS P8B-E/4L + PIKE 2008 SAS | Xeon E3-1230 | 8GB DDR3 ECC 1333 [Kingston - KVR1333D3E9SK2/8G] | Intel 320 - 80 Go (OS)
Server OS: Win7 64b EN
FlexRAID 2.0 latest build, Cruise Control, 7 DRUs (6x3TB,1x2TB), 1 PPU (2x2TB)