<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Chris Gray's blog</title><subtitle type="html">I'm a Development Lead on Windows Home Server</subtitle><id>http://blogs.msdn.com/chrisgray/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/chrisgray/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2004-07-29T16:25:00Z</updated><entry><title>...finding an NTFS volume after accidentally deleting all your partitions (...go Dad...) :-)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/archive/2008/08/15/finding-an-ntfs-volume-after-accidentally-deleting-all-your-partitions-go-dad.aspx" /><id>http://blogs.msdn.com/chrisgray/archive/2008/08/15/finding-an-ntfs-volume-after-accidentally-deleting-all-your-partitions-go-dad.aspx</id><published>2008-08-16T00:58:00Z</published><updated>2008-08-16T00:58:00Z</updated><content type="html">&lt;P&gt;The other day my Dad called me on the phone wanting to know if data could be recovered from a freshly formatted disk. It seems that he formatted his primary hard disk and then accidentally plugged in the wrong power connector on his external backup disk. As silly as his actions seem how many of us back up our data (he does. daily). The problem was that he made two mistakes and as a result over 15 years worth of work were gone in an instant. 
&lt;P&gt;I'm blogging about this because his desperation got the gears turning and we were able to get all of his important data back - even after a quick format. I thought some of the more tech savvy people may get a kick out of what we did and I thought I'd take the time to plug Windows Home Server as a way to keep yourself out of this situation (hint hint .Dad :)) 
&lt;P&gt;&lt;STRONG&gt;[NOTE: I'm sure there are better ways to do this task,&amp;nbsp; I'm also sure what I'm doing isn't completely technically correct.&amp;nbsp; I'm describing what I did over one weekend because worked for me, if you've lost real data you should consider finding a professional data recovery company]&lt;/STRONG&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;B&gt;What exactly did he do?&lt;BR&gt;&lt;/B&gt;The problems started when he decided to reformat his computer with the goal of reinstalling from a backup. His backup software requires a fresh install of Windows to be completed before running restore, the idea is your provide a working copy of Windows and then the included restore software gets your computer up and running as it was before the format. His computer had one physical hard disk configured with two volumes C: and D: - C: contained all the operating system, D: contained all his data. His steps were as follows: 
&lt;P&gt;&lt;B&gt;Step 1: &lt;/B&gt;repartition the primary disk to only have one disk (C:)&lt;BR&gt;&lt;B&gt;Step 2: &lt;/B&gt;create a new partition filling the entire disk (note, once completed there is only a C:, the D: had been removed)&lt;BR&gt;&lt;B&gt;Step 3: &lt;/B&gt;format the partition NTFS&lt;BR&gt;&lt;B&gt;Step 4: &lt;/B&gt;start installing Windows&lt;BR&gt;&lt;B&gt;Step 5: &lt;/B&gt;during install call me on the phone and describe what was happening&lt;BR&gt;&lt;B&gt;Step 6: &lt;/B&gt;on my instruction he yanked the power cord in order to stop the install 
&lt;P&gt;&lt;B&gt;What he wanted:&lt;/B&gt;&lt;BR&gt;Because the external hard disk containing all the backup data had been cooked (the electronics were bad) getting data off this disk wasn't possible without paying the manufacture well over $1500 for new electronics. (.we did keep this option in our back pocket in case something went wrong, the data is worth over $1500) 
&lt;P&gt;Since the D: volume contained all the important files it's conceivable that the data is still around, even after repartitioning and formatting the C: - here's why 
&lt;P&gt;When a disk is partitioned a small piece of data (512 bytes or 1 sector) is placed on sector 0 of your hard disk. This piece of data contains a little code called the Master Boot Record (MBR) as well as the partition table. Inside the partition table are the sector numbers for each of your volumes. In my Dads case there used to be two entries in the partition table, one for the C: volume and one for the D: volume. Think of the partition table as a map where each entry represents a location "to get to your D: go to sector 122945445". Then on sector 122945445 start running the code that you see - in the case of Windows you'll likely find an NTFS boot sector (this is the next step in how Windows boots). 
&lt;P&gt;&lt;IMG height=400 src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/bootsector.jpg" width=723 mce_src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/bootsector.jpg"&gt; 
&lt;P&gt;Interestingly, the data he cares about begins at the ending of the old C: where the start of the D: volume began. There is a slight chance that because the disk is large and he yanked the power plug early that the data may still exist - even after a repartition and quick format of the C: volume. 
&lt;P&gt;This chance exists because NTFS (or really any filesystem) often won't erase all the data, just its bookkeeping data. Often this is done for performance reasons - erasing all the data on a disk can be really slow (figure 55megabytes a second - for a 500gigabyte disk you're looking at around 2.5 hours to do a full format). 
&lt;P&gt;My friend Adam says that I'm miserable at analogies and should never attempt one. but I've rehearsed this one in my head a few times so here goes J To help you understand all this pretend that your partition table is the card catalog at a public library. Contained in each card is enough information to locate the book you want within the library. In the case of your computer, the partition table can only hold four entries. but the idea is the same. Now pretend you lost your card catalog - would you panic? Probably not, you'd sure be annoyed as you'd have to spend hours rebuilding the cards. but the books would still be there and the information in those books would be preserved. 
&lt;P&gt;What my Dad effectively did was to destroy the card catalog in his library - each of his data files were right where they should be, he just didn't know where his books were. 
&lt;P&gt;The library analogy breaks down a little because the act of formatting and reinstalling Windows did in fact put some of his data in jeopardy. Think of it as destroying the first two floors of the library when the book you really care about are located on the third floor and above. The more he allowed the install to continue, the more floors were destroyed permanently. 
&lt;P&gt;&lt;B&gt;What we went hunting for:&lt;BR&gt;&lt;/B&gt;In order to rebuild his D: volume we needed to know exactly where his D: volume used to be located so we could modify the partition table. Getting this data isn't easy, the format and creation of the new partition table erased all mappings to the location of his data. We needed a way to sift through hundreds of gigabytes of data automatically looking for something that could identify the beginning of the D: volume. After banging our heads for a while we came up with the following (note there are probably better ways to do this, I'm just describing what worked for us J) 
&lt;P&gt;1. Clone the hard disk so if we goof up we'll be okay - this leaves the possibility for a professional to repair the disk and find his data &lt;BR&gt;2. Write a little program to open up the PhysicalDisk and look for an NTFS boot sector if found &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. Manually open up each sector &amp;amp; see if it points to an MFT &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b. With a sector number from #4 rebuild the partition table 
&lt;P&gt;&lt;B&gt;&lt;/B&gt;
&lt;P&gt;&lt;B&gt;Cloning the hard disk&lt;BR&gt;&lt;/B&gt;If anyone cares I can write a blog about this, I wrote a little application that inefficiently copies one disk at the sector level to another disk. I'd be happy to post the source as a rough guide if someone asks. 
&lt;P&gt;&lt;B&gt;Program to seek out an NTFS boot sector:&lt;BR&gt;&lt;/B&gt;This is where the fun begins, when NTFS creates a volume it always sticks something identifiable at the first sector that describes the size of the volume, how many sectors are in a cluster, etc. This information, along with boot code, lets your computer boot up. We wondered if there could be something that never changed that we could locate programmatically. Turns out that NFTS puts a little signature in the beginning that Windows can later use to identify the disk as NTFS (and not FAT for example). We used a slick tool that ships with WindowsXP named 'dskprobe. Its on the XP install disk in \support\tools. 
&lt;P&gt;This simple program lets you read and write sectors on a disk - &lt;B&gt;please do use caution when playing with dskprobe&lt;/B&gt;. It's dangerous if you accidentally misuse it! You can easily scramble your disk to a state where it's not usable any longer. 
&lt;P&gt;Using DskProbe on a &lt;B&gt;working happy NTFS disk for illustration. &lt;/B&gt;Once you get the idea of how everything is put together we'll create a program that looks for our lost NTFS volume 
&lt;P&gt;1. Drives-&amp;gt;Physical Drive &lt;BR&gt;2. PhysicalDrive0 (double click) &lt;BR&gt;3. "Set Active" &lt;BR&gt;4. Ok &lt;BR&gt;5. Sectors-&amp;gt;Read &lt;BR&gt;6. Starting Sector 0, Number of sectors 1 &lt;BR&gt;7. Read &lt;BR&gt;8. Notice you've got all kinds of information, this is a working partition table - save it off for later use (File-&amp;gt;SaveAs)&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;IMG height=538 src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/image003.png" width=640 mce_src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/image003.png"&gt; &lt;/P&gt;
&lt;P&gt;9. To figure out where NTFS begins view this data as a partition table (View-&amp;gt;Partition Table) 
&lt;P&gt;10. Select the partition that you care about, I'm using Partition3 on my computer (so we can see a starting sector that's not for the first volume (not the C: volume), my sample working computer has three partitions&lt;BR&gt;&lt;IMG height=538 src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/image004.png" width=640 mce_src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/image004.png"&gt; 
&lt;P&gt;11. Note that the "Relative Sector" is 131057664 (multiply this by 512 bytes per sector to figure out where it begins in bytes). In my case this is about 62.493GB from the beginning of the drive! My first two partitions are approximately 60GB and 2GB - so this adds up to about 62GB. don't worry if the numbers aren't totally what you're expecting, there is a little fudge room in there when aligning to various boundaries). &lt;B&gt;Hit the go button to see the contents of this sector&lt;/B&gt; 
&lt;P&gt;12. Flip back to the "Bytes" view (View-&amp;gt;Bytes) and see what an NTFS Boot Sector looks like 
&lt;P&gt;&lt;IMG height=538 src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/image005.png" width=640 mce_src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/image005.png"&gt; 
&lt;P&gt;13. See at the beginning you've got NTFS! 
&lt;P&gt;14. Hit View-&amp;gt;NTFS Boot sector 
&lt;P&gt;15. Pay attention here J here in a bit, when you're fixing your disk, you'll use this step to know if you've got the correct boot sector&lt;BR&gt;next to the "Clusters to MFT" button, click "Go" 
&lt;P&gt;16. This will jump your to the MFT records, click View-&amp;gt;Bytes and look for FILE - if you found it you know that you've found the MFT. This is goodness &lt;BR&gt;&lt;IMG height=611 src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/image006.png" width=640 mce_src="http://chrisgray.members.winisp.net/images//WHS%20Recovery/getting%20disk%20back/image006.png"&gt; 
&lt;P&gt;Using the below little snippet of code you can scan your disk looking for such signatures. 
&lt;BLOCKQUOTE&gt;
&lt;P&gt;#include &amp;lt;windows.h&amp;gt;&lt;BR&gt;#include &amp;lt;stdio.h&amp;gt;&lt;BR&gt;#include &amp;lt;conio.h&amp;gt; 
&lt;P&gt;int _tmain(int argc, WCHAR* argv[])&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HANDLE h = CreateFile(argv[1], GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL); 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(INVALID_HANDLE_VALUE == h) &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wprintf(L"Unable to open %s (GLE:%d)\n", argv[1], GetLastError());&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto Done;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // go into a loop reading sectors&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __int64 sectorNumber = 0;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DWORD dwBytes = 512*2*1024*10;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BYTE *pTemp = new BYTE[dwBytes];&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DWORD dwRead = 0; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(;;)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LARGE_INTEGER offset;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; offset.QuadPart = (sectorNumber * 512);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(INVALID_SET_FILE_POINTER == SetFilePointer(h, offset.LowPart, &amp;amp;offset.HighPart, FILE_BEGIN) &amp;amp;&amp;amp; NO_ERROR != GetLastError()) {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wprintf(L"Error setting file pointer to sector %I64d GLE:%d\n", sectorNumber, GetLastError());&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(0 == ReadFile(h, pTemp, dwBytes, &amp;amp;dwRead, NULL)) {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wprintf(L"Error reading sector %I64d GLE:%d\n", sectorNumber, GetLastError());&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto Done;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(dwRead != dwRead) {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wprintf(L"Short read.\n");&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto Done;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int numSectors = (dwBytes/512);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BYTE *pTemp2 = pTemp; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(int i=0; i&amp;lt;numSectors; ++i)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(0 == memcmp(pTemp2+3, "NTFS", 4)) {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wprintf(L"**HIT on Sector %I64d\n\a\a", sectorNumber+i);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pTemp2 += 512;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sectorNumber += numSectors;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&lt;P&gt;Done:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(INVALID_HANDLE_VALUE != h)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CloseHandle(h);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I know this code is a little murky to those who aren't programmers out there, since the procedure we're doing is risky I'm only including the code figuring this blog is mostly for fun. 
&lt;P&gt;&lt;B&gt;You're almost done!&lt;BR&gt;&lt;/B&gt;To wrap this project up you'll need to know where NTFS lays on the formatted disk. Run the program above to locate possibilities - use the sleuthing skills in dskprobe and hope that you can find where on disk your old volume used to be situated. You most likely will get multiple hits, you know when you've got a live one on the hook by browsing around seeking out the FILE bytes in the MFT. 
&lt;P&gt;To get your disk back, follow the steps from above where we were reading the contents but this time you're going to overwrite the index on the broken disks partition table based on the sector where NTFS was located by the program above. Write the proper sector value to the partition table, reboot (or unplug the disk), and cross your fingers! 
&lt;P&gt;Once you're up an running, should the disk show up, don't throw too big of a party - you may have serious data loss remaining. You should treat this disk as spoiled and should copy anything important to another hard disk. 
&lt;P&gt;Good luck - I know disk rebuilding is scary. After this drama with my Dad I bought him a Windows Home Server. He's still breaking computers, but with Home Server he can (.and has :)) recover from almost any problem.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8870827" width="1" height="1"&gt;</content><author><name>chrisgray</name><uri>http://blogs.msdn.com/members/chrisgray.aspx</uri></author></entry><entry><title>A brief description of the balancing algorithms used for disk balancing in Home Servers PP1 Drive Extender</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/archive/2008/07/04/a-brief-description-of-the-balancing-algorithms-used-in-power-pack-1-s-drive-extender.aspx" /><id>http://blogs.msdn.com/chrisgray/archive/2008/07/04/a-brief-description-of-the-balancing-algorithms-used-in-power-pack-1-s-drive-extender.aspx</id><published>2008-07-04T21:16:00Z</published><updated>2008-07-04T21:16:00Z</updated><content type="html">&lt;P&gt;I've been asked by a few folks to describe the Power Pack 1 algorithms for "auto-migration", duplication, and balancing. In short the algorithms are the same with a few minor adjustments made based on customer feedback from our first release and the various Power Pack betas. 
&lt;P&gt;For reference there is a document located here with more info on the pre-Power Pack 1 
&lt;P&gt;&lt;A href="http://download.microsoft.com/download/2/F/C/2FC09C20-587F-4F16-AA33-C6C4C75FB3DD/Windows_Home_Server_Drive_Extender.pdf" mce_href="http://download.microsoft.com/download/2/F/C/2FC09C20-587F-4F16-AA33-C6C4C75FB3DD/Windows_Home_Server_Drive_Extender.pdf"&gt;http://download.microsoft.com/download/2/F/C/2FC09C20-587F-4F16-AA33-C6C4C75FB3DD/Windows_Home_Server_Drive_Extender.pdf&lt;/A&gt; 
&lt;P&gt;The decision of which volume a file will be located is based on one of three questions 
&lt;OL&gt;
&lt;LI&gt;Did the file get created for the first time (auto-migration)&lt;/LI&gt;
&lt;LI&gt;Did the user ask for the file to be duplicated (duplication)&lt;/LI&gt;
&lt;LI&gt;Does enough free space one volume allow another volume to offload some files (balancing)&lt;/LI&gt;&lt;/OL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Often caused by:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;one of the servers volumes filling up&lt;/LI&gt;
&lt;LI&gt;bunch of files get deleted&lt;/LI&gt;
&lt;LI&gt;new hard disk added or removed&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;B&gt;Auto-migration:&lt;/B&gt; 
&lt;P&gt;When a file is first created it's said to be "auto-migrated"&amp;nbsp; this basically means a volume with sufficient free space was chosen to hold the file. The decision of which volume is designed to keep related files on the same volume in case of disk failure in case the folder was not chosen by the user for duplication. If you imagine a situation where your music isn't duplicated and you have a physical disk failure. You'd probably prefer to have one or two CD's go missing to having one or two songs from several albums go missing. 
&lt;P&gt;This is the algorithm Drive Extender uses to decide which volume to place your files 
&lt;BLOCKQUOTE&gt;
&lt;P&gt;i.Use the volume with the least amount of free space but greater than 10GB 
&lt;P&gt;ii.Use the volume with the most amount of free space so long as it has more space than the Primary Volume (D volume) 
&lt;P&gt;iii.Use the Primary Volume (D volume)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you play this out in your head with imaginary file copies I think you'll see how it ends up clustering files together. You'll end up filling up the volume with the least free space first and then moving to the most used filling it up next. 
&lt;P&gt;If we would have used a simple "most free" algorithm we'd get into a situation where once all volumes had the same amount of free space we'd interleave every other song/picture across several volumes. 
&lt;P&gt;&lt;B&gt;Duplication:&lt;/B&gt; 
&lt;P&gt;Auto-migration doesn't duplicate your files or balance your files, it just chooses where the file first goes. Duplication occurs (in PP1) every hour with the goal of making sure your chosen files have multiple copies. The algorithm is to inspect every file looking for change since last duplication.&amp;nbsp; If the file has changed or if the file has not yet been duplicated we create a duplicate copy using the below algorithm. 
&lt;P&gt;Duplication preferences for destination volumes 
&lt;BLOCKQUOTE&gt;
&lt;P&gt;i.Most empty non-primary volume 
&lt;P&gt;ii.Primary volume&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The algorithm here is a little different from auto-migration because it will end up interleaving between volumes. We did this because the problem of locality isn't as important since we're in the process of duplicating. 
&lt;P&gt;&lt;B&gt;Balancing:&lt;/B&gt; 
&lt;P&gt;Balancing solve the problem of how to handle disk space imbalances. Just like duplication, balancing occurs every hour in PP1. The need to balance occurs typically with addition of a new volume or when the user deletes a bunch of files. The goal of balancing is to move files off any volume that contains less than 10GB of free space. If this condition happens we say the volume has reached a "danger" level because it's possible to have a situation where files cannot be extended (imagine your outlook .pst file getting bigger and bigger over time).&amp;nbsp; &lt;STRONG&gt;[EDIT - thanks to Brett Pound at Microsoft for asking me to clarify.&amp;nbsp; I mentioned an Outlook PST file while thinking of running Outlook locally on the Home Server.&amp;nbsp; Brett kindly pointed out that using an Outlook PST file over the network is'nt a good idea.&amp;nbsp; A better example would have been pasting&amp;nbsp;in lots&amp;nbsp;of photos into a Word document or growing a video file by adding in a new video feed.]&lt;/STRONG&gt; 
&lt;P&gt;The PP1 balancing algorithm starts only when a volume contains less than 10GB of free space. When this occurs the goal is to start moving files to volumes with more space until 20GB is reached. Think of this as mowing your yard. You wait until your significant other tells you the yard is out of hand and you cut back the yard enough so it looks good and so that you don't have to do it again for a while - it's the same idea, in balancing we start moving files when the volume has less than 10GB free and we stop at 20GB so we don't have to come back for a while. 
&lt;P&gt;The algorithm for finding free space is the same as in migration with the only difference being we won't push another volume into an unhappy state in order to achieve self happiness. A quick example would be if during balancing a volume with 5 GB of free space we wont push another volume of its comfort range by making it go under 10GB. 
&lt;P&gt;Defining these numbers is tough as there are tradeoffs in all directions. If you've got huge hard disks with lots and lots of free space and gigantic files you may prefer bigger numbers (maybe 30GB and 60GB) but if you've got just two drives you may prefer smaller numbers. We used our extensive beta program to measure 10GB and 20GB as good numbers. 
&lt;P&gt;&lt;STRONG&gt;[error - apologies but I'm wrong here, these keys did not make the cut for the final release of Power Pack 1.&amp;nbsp; Maybe we can get them into the next update]&lt;/STRONG&gt; 
&lt;P&gt;&lt;STRIKE&gt;However if you understand the description above you can reconfigure the 10GB and 20GB lines with the registry keys &lt;/STRIKE&gt;
&lt;P&gt;&lt;STRIKE&gt;HKLM\Software\Microsoft\DriveExtender (both are DWORDS) &lt;/STRIKE&gt;
&lt;P&gt;&lt;STRIKE&gt;"SecondaryFreeSpaceDangerLevel" (defaults to 10) &lt;/STRIKE&gt;
&lt;P&gt;&lt;STRIKE&gt;"SecondaryFreeSpaceWarningLevel" (defaults to 20)&lt;/STRIKE&gt; 
&lt;P&gt;&lt;STRIKE&gt;both values are measured in GB&lt;/STRIKE&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8690408" width="1" height="1"&gt;</content><author><name>chrisgray</name><uri>http://blogs.msdn.com/members/chrisgray.aspx</uri></author></entry><entry><title>Home Server Recovery (4/4) : you don't want to replace the hardware, you just want your files back</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/archive/2008/07/04/home-server-recovery-4-4-you-don-t-want-to-replace-the-hardware-you-just-want-your-files-back.aspx" /><id>http://blogs.msdn.com/chrisgray/archive/2008/07/04/home-server-recovery-4-4-you-don-t-want-to-replace-the-hardware-you-just-want-your-files-back.aspx</id><published>2008-07-04T20:34:00Z</published><updated>2008-07-04T20:34:00Z</updated><content type="html">&lt;P&gt;Well, it's been quite a while since I last posted on the four ways to recover files from a Home Server should you have hardware failure. Many apologies, I've been busily working as the Development Lead for the Drive Extender bug fix. 
&lt;P&gt;The fourth scenario in the set of four scenarios is simple, your home server hardware failed and you want your files back. You've removed the volumes from your Home Server and have attached the volume to a separate PC. 
&lt;P&gt;In this scenario you're not in supported territory, the steps below may modify the state of the Home Servers hard disk causing Drive Extender to no longer recognize the file. If you'd like to be in supported territory please use one of the rebuild steps described in one of the previous postings. This post is mostly for those who like to dig and understand how their server works behind the scenes and understand that they're out of supported territory. 
&lt;P&gt;The high-level steps are simple: 
&lt;BLOCKQUOTE&gt;
&lt;P&gt;1. Gain access to your Home Servers hard disk&lt;BR&gt;2. Locate the 'DE' folder&lt;BR&gt;3. Locate your files &amp;amp; copy them onto a fresh disk&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;B&gt;Step 1: Gaining access to your Home Server hard disk&lt;/B&gt; 
&lt;P&gt;For this step your best bet is to plug the hard disk into a second computer. You can either open up the case and attach the disk directly to the motherboard or you can use a SATA/IDE to USB2 adapter. Personally I like the USB2 adapters, the idea is you hook the hard disk directly to a box that makes the drive work exactly like an external USB disk. Typically these adaptors cost around $25 (and are well worth the cost) 
&lt;P&gt;&lt;B&gt;Step 2: Locate the 'DE' folder&lt;/B&gt; 
&lt;P&gt;This part is easy, once connected to a separate PC using the USB adapter the disk will appear with a drive letter. Open an explorer window and navigate to the volume you want to recover 
&lt;P&gt;You'll need to show hidden files load Explorer and 
&lt;UL&gt;
&lt;UL&gt;
&lt;LI&gt;Tools-&amp;gt;Folder Options &lt;/LI&gt;
&lt;LI&gt;View / Show hidden files and folders&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;
&lt;P&gt;Now you'll see the 'DE' folder 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/chrisgray/WindowsLiveWriter/HomeServerRecovery44youdontwanttoreplace_90C2/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/chrisgray/WindowsLiveWriter/HomeServerRecovery44youdontwanttoreplace_90C2/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=322 alt=image src="http://blogs.msdn.com/blogfiles/chrisgray/WindowsLiveWriter/HomeServerRecovery44youdontwanttoreplace_90C2/image_thumb_2.png" width=548 border=0 mce_src="http://blogs.msdn.com/blogfiles/chrisgray/WindowsLiveWriter/HomeServerRecovery44youdontwanttoreplace_90C2/image_thumb_2.png"&gt;&lt;/A&gt; 
&lt;P&gt;From this folder you can browse and locate your files just as you'd expect to see them on the WHS. 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/chrisgray/WindowsLiveWriter/HomeServerRecovery44youdontwanttoreplace_90C2/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/chrisgray/WindowsLiveWriter/HomeServerRecovery44youdontwanttoreplace_90C2/image_4.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=296 alt=image src="http://blogs.msdn.com/blogfiles/chrisgray/WindowsLiveWriter/HomeServerRecovery44youdontwanttoreplace_90C2/image_thumb_1.png" width=551 border=0 mce_src="http://blogs.msdn.com/blogfiles/chrisgray/WindowsLiveWriter/HomeServerRecovery44youdontwanttoreplace_90C2/image_thumb_1.png"&gt;&lt;/A&gt; 
&lt;P&gt;You can copy any file/folder that you'd like. One thing you may notice is that some files may be missing. 
&lt;P&gt;A missing file is most likely because the file is located on another volume on your Home Server. To recover this file follow the same steps given above but look for your file on each volume. 
&lt;P&gt;I'm hoping the part about some of your files being on another volume makes sense? Because Drive Extender balances files between volumes it's possible some files will exist on the other volumes in the server. For a nice description of how the balancing and duplication work see my next post :) &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8690216" width="1" height="1"&gt;</content><author><name>chrisgray</name><uri>http://blogs.msdn.com/members/chrisgray.aspx</uri></author></entry><entry><title>Home Server Recovery (3/4) : You’ve built your home server but can’t find identical replacement hardware.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/archive/2007/12/23/whs-recovery-3-4-you-ve-built-your-home-server-but-can-t-find-identical-replacement-hardware.aspx" /><id>http://blogs.msdn.com/chrisgray/archive/2007/12/23/whs-recovery-3-4-you-ve-built-your-home-server-but-can-t-find-identical-replacement-hardware.aspx</id><published>2007-12-23T21:55:00Z</published><updated>2007-12-23T21:55:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;You’ve built your home server but can’t find identical replacement hardware.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;This is a similar problem to what Daniel (my brother in law) suffered.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;After purchasing a copy of Home Server Daniel installed the software on to an old desktop computer.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;He installed on to a new 500GB disk and later added an older 150GB IDE disk. Long story short the computer was declared unusable when smoke poured out the power supply.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Although much of the hardware was unusable the hard disks seemed fine – he was able to plug both the 500GB and the 150GB disks into a second computer and was able to see his data.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;I’ll leave the forensics of how to extract your data to a future post, in this post I’d like to show you how to recover your server if the drives are intact but the motherboard and various components are broken. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Goals:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2"&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Preserve all ‘data’&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso-list: l0 level2 lfo2; mso-add-space: auto"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3&gt;o&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Shared Folders&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.25in; mso-list: l0 level2 lfo2; mso-add-space: auto"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3&gt;o&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Backup database&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Risks:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2"&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;You will lose all installed software, such as addons&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2"&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;You will lose all user settings (remote access on/off), including user accounts&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Steps (I’ll have some pictures below):&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;1.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Remove the disks from your broken server&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;2.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Open the case to your new server&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;3.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Install the old disks into your new server – take care to place the disks in the same order as they were on your original system (make master/slave settings and cable order the same for IDE or port numbers for SATA controllers)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;4.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Boot and cross your fingers – if this computer reboots and launches Home Server you’re in good shape.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Just go step 9&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;5.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Should booting fail your new server differs enough from the hardware in your old server that you need to reinstall Home Server.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Do this by placing the Home Server DVD into your DVD player and rebooting.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;6.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Follow the normal steps involved with Home Server Install.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;*IT’S VERY IMPORTANT* that you choose the “Server Reinstallation” option as seen in the below figure.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;7.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Progress along in the Home Server install until it’s complete – then reboot&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;8.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Complete the Out Of Box Experience (OOBE) &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;9.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Install needed drivers – follow the guidance that the hardware manufacture gave for your servers hardware.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Typically you’ll just need network and maybe storage if you’ve got a fancy disk controller&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;The starting place: &lt;BR&gt;&lt;/B&gt;I’m first going to create a Home Server install on a server with two SATA disks. One is 300GB, the other 150GB.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;On this server I’ve performed one backup of my client computer and have created a Shared Folder named ‘Test Share’.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This share has a few files for demonstration purposes.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /&gt;&lt;v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"&gt;&lt;/v:path&gt;&lt;o:lock v:ext="edit" aspectratio="t"&gt;&lt;/o:lock&gt;&lt;/v:shapetype&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;STRONG&gt;&lt;IMG src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image001.jpg" mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image001.jpg"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;STRONG&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;1&lt;/SPAN&gt;: Server Storage before the first server broke&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;IMG style="WIDTH: 624px; HEIGHT: 439px" height=439 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image002.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image002.jpg"&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;2&lt;/SPAN&gt;: Test share (created before the server broke)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/o:p&gt;&amp;nbsp;&lt;IMG style="WIDTH: 624px; HEIGHT: 415px" height=415 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image003.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image003.jpg"&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;3&lt;/SPAN&gt;: Putting the old disks into the new server - be careful if &lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;you're not putting in screws at this point!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&amp;nbsp;&lt;IMG style="WIDTH: 624px; HEIGHT: 415px" height=415 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image004.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image004.jpg"&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;4&lt;/SPAN&gt;: Beginning the Home Server install&lt;/FONT&gt;&lt;/STRONG&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;IMG style="WIDTH: 624px; HEIGHT: 415px" height=415 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image005.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image005.jpg"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;5&lt;/SPAN&gt;: the all important step - "Server Reinstallation" - you must choose this else you will lose your data!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;IMG style="WIDTH: 624px; HEIGHT: 415px" height=415 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image006.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image006.jpg"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;6&lt;/SPAN&gt;: Install has started&lt;/FONT&gt;&lt;/STRONG&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&lt;IMG style="WIDTH: 624px; HEIGHT: 415px" height=415 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image007.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image007.jpg"&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;STRONG&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;7&lt;/SPAN&gt;: Install Complete&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;IMG style="WIDTH: 624px; HEIGHT: 442px" height=442 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image008.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image008.jpg"&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;8&lt;/SPAN&gt;: Install Drivers&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;IMG style="WIDTH: 624px; HEIGHT: 436px" height=436 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image009.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image009.jpg"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;9&lt;/SPAN&gt;: restored file share&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;s&lt;/FONT&gt;&lt;/STRONG&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&lt;IMG style="WIDTH: 486px; HEIGHT: 480px" height=480 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image010.jpg" width=486 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image010.jpg"&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;STRONG&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;10&lt;/SPAN&gt;: permissions on the folder - NOTE that we have no users as they were deleted during the recovery,&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;your shares will default to no access (so you'll have to reconfigure their settings)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;IMG style="WIDTH: 624px; HEIGHT: 436px" height=436 src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image011.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/whs%20recovery/brokenhw/image011.jpg"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;Figure &lt;SPAN style="mso-no-proof: yes"&gt;11&lt;/SPAN&gt;: restored backup database&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;IMG style="WIDTH: 624px; HEIGHT: 436px" height=436 src="http://chrisgray.members.winisp.net/images/WHS%20Recovery/brokenHW/image018.jpg" width=624 mce_src="http://chrisgray.members.winisp.net/images/WHS%20Recovery/brokenHW/image018.jpg"&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;Figure 12: restored server recovery tab&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoCaption style="MARGIN: 0in 0in 10pt"&gt;&lt;STRONG&gt;&lt;FONT face=Calibri color=#4f81bd&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6749885" width="1" height="1"&gt;</content><author><name>chrisgray</name><uri>http://blogs.msdn.com/members/chrisgray.aspx</uri></author></entry><entry><title>Home Server Recovery: (2/4) you built your own Home Server and can find identical replacement hardware </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/archive/2007/12/17/home-server-recovery-2-4-you-built-your-own-home-server-and-can-find-identical-replacement-hardware.aspx" /><id>http://blogs.msdn.com/chrisgray/archive/2007/12/17/home-server-recovery-2-4-you-built-your-own-home-server-and-can-find-identical-replacement-hardware.aspx</id><published>2007-12-18T06:38:00Z</published><updated>2007-12-18T06:38:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;If you’ve purchased or built a Home Server and now are having hardware problems *but* can find identical hardware you’ll have a relatively easy time recovering should the hard disks be okay.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This scenario is that you’ve banged something inside the computer and fried the motherboard, powersupply, or another major component.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;How do you do you recover from this?&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;First assume that after the hardware failure that you’ve got working hard disks – if you do, just put them into the new computer with identical hardware and boot up, you should be good to go!&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The idea here is that the hard disks contain all information about hardware devices and configuration.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Because the hardware is identical Home Server is unaware of any changes and as such just boots fine.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;If you’re hard disks have failed, or if you want to take the primary C: volume back to factory conditions read my next post – how to repair your home server when you’re unable to find identical replacement hardware.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6794017" width="1" height="1"&gt;</content><author><name>chrisgray</name><uri>http://blogs.msdn.com/members/chrisgray.aspx</uri></author></entry><entry><title>Home Server Recovery (1/4) : You’ve purchased an OEM device and want to go back to factory settings while preserving your data</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/archive/2007/12/17/whs-recovery-1-4-you-ve-purchased-an-oem-device-and-want-to-go-back-to-factory-settings-while-preserving-your-data.aspx" /><id>http://blogs.msdn.com/chrisgray/archive/2007/12/17/whs-recovery-1-4-you-ve-purchased-an-oem-device-and-want-to-go-back-to-factory-settings-while-preserving-your-data.aspx</id><published>2007-12-18T06:22:00Z</published><updated>2007-12-18T06:22:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;If you’ve purchased and OEM Windows Home Server, you’re in luck there are two likely scenerios and both&amp;nbsp;result in you keeping your data….&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I greatly wish Daniel (my brother in law) had an OEM device… so much so that Daniel is getting one for the holidays :)&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Calibri&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;If you believe that your old hard disks are in good shape recovery is really simple – buy a new identical Home Server, put your old hard disks in the new server, and then reboot.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If all goes well you’ll be in business in just a few minutes.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;Should the server not boot there is probably a problem on the primary C: volume.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Examples could include the OEM slightly changing the servers hardware from the time you purchased your old one, the old volume has had a software problem that has prevented booting, or perhaps you’ve installed 3’ed party software that has made the server unhappy.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;In the case where simply replacing the hard disks doesn’t work you’re still okay&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt;, recovering from a major problem on an OEM device is simple – Home Server has a technology designed to image (refresh to factory conditions) the primary hard disk from the network.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The idea is simple – at time of manufacture the OEM takes a “sysprep”ed image of the C: volume.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This image contains a copy of Windows Home Server that has been put into a special mode,&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;the mode will “personalize” itself on first boot.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;All tech jargon aside the idea is to tweak it’s settings to be customized for you while retaining the fingerprints of your OEM.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;The procedure is simple&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;1.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Press a button on the front of the device&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;2.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Drop a DVD into your *client* computer&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;3.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Follow the OEM’s instructions&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;4.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Wait for the C: volume to be brought to its factory new state&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Once reimaged your Home Server will ask for new passwords and will require you to recreate users – but it will preserve your backup database and all your files.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;By far – this is the simplest route to recovering from a major failure (you dropped the server, installed some really broken software, or just forgot your administrator password)&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6793960" width="1" height="1"&gt;</content><author><name>chrisgray</name><uri>http://blogs.msdn.com/members/chrisgray.aspx</uri></author></entry><entry><title>Recovering from hardware failure on Windows Home Server</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/archive/2007/12/05/recovering-from-hardware-failure-on-windows-home-server.aspx" /><id>http://blogs.msdn.com/chrisgray/archive/2007/12/05/recovering-from-hardware-failure-on-windows-home-server.aspx</id><published>2007-12-05T20:00:00Z</published><updated>2007-12-05T20:00:00Z</updated><content type="html">&lt;P&gt;Over the weekend I helped my brother in law (Daniel) recover from a destroyed Home Server.&amp;nbsp; His motherboard and power supply had been destroyed by accident (be careful when you're working around an open case) :)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;his problems got me thinking - recovering from hardware failure isn't difficult with Home Server,&amp;nbsp; but odds are that you'll be a little panicked and having some tips may be useful&lt;/P&gt;
&lt;P&gt;my best guess is that you'll be on one of the following situations&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;you have an OEM Home Server (like the HP MediaSmart Server)&lt;/LI&gt;
&lt;LI&gt;you built your own Home Server and can find identical replacement hardware&lt;/LI&gt;
&lt;LI&gt;you built your own Home Server but cant find identical replacement hardware&lt;/LI&gt;
&lt;LI&gt;you dont want to replace the hardware, you just want your files back&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;along the way I'll explain how some of our technologies work so you better understand some of the new ideas in Windows Home Server.&amp;nbsp; if you stumble on this little blog and would like to steer what I'm yapping about feel free to post comments :)&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6668571" width="1" height="1"&gt;</content><author><name>chrisgray</name><uri>http://blogs.msdn.com/members/chrisgray.aspx</uri></author></entry><entry><title>Discovering a nameless device -- kind of an interesting problem</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/archive/2004/07/29/201374.aspx" /><id>http://blogs.msdn.com/chrisgray/archive/2004/07/29/201374.aspx</id><published>2004-07-30T05:55:00Z</published><updated>2004-07-30T05:55:00Z</updated><content type="html">&lt;P&gt;One common problems we've encountered while making home gateways (wireless access points) is how do you discover the silly thing?&amp;nbsp; Most solutions end up shipping a preconfigured IP address or hostname on the device, some people query the DHCP server and I've even heard of people using netmon!&amp;nbsp; :P&lt;/P&gt;
&lt;P&gt;Each of these solutions has its own pro's and con's -- with a gateway its okay to have a user manual where 192.168.1.1 is the preconfigured IP address.&amp;nbsp; The user just plugs in and uses their browser to navigate to http://192.168.1.1 for configuration.&amp;nbsp; Other solutions will give a preconfigured hostname so the end user will configure by going to http://hostname.&amp;nbsp;&amp;nbsp;&amp;nbsp; I think querying the DHCP server is totally acceptable, but my mom didnt send me to college to&amp;nbsp;get that kind of&amp;nbsp;answer ;)&lt;/P&gt;
&lt;P&gt;Other solutions are to have a value burnt into the ROM/flash -- this either requires each device to be configured before it leaves the factory or for the device name to be built off something like a MAC address.&amp;nbsp; Nothing bad here, but it makes for slightly confusing documentation.&amp;nbsp; &amp;#8220;go to http://device_XYZ.. XYZ can be found on a sticker on the back of the device&amp;#8221;&amp;nbsp; its not bad, but its clunky and requires printing a little sticker. &lt;/P&gt;
&lt;P&gt;My solution to this problem was to make a little discovery utility that uses UPNP's SSDP (service descovery protocol).&amp;nbsp; the idea here is when the device boots up it sends out a little UDP packet that announces its presence to the world.&amp;nbsp; Because both WindowsCE and WindowsXP come with UPNP implementations this wasnt that tricky to setup.&amp;nbsp; I've included a little sample in WindowsCE 5.0 in the directory &lt;FONT color=#0000ff&gt;%_WINCEROOT%\public\servers\oak\samples\upnp\discoverservice. &lt;/FONT&gt;&lt;FONT color=#000000&gt;This utility isnt exactally rocket science, in fact its kind of a joke.&amp;nbsp; All it does is broadcast a little GUID that corresponds to the service that it supports with a URL for a configration webpage (known as a presentation page).&amp;nbsp;&amp;nbsp; You can find a little C# util that I wrote to listen for this here &lt;A href="http://chrisgray.members.winisp.net/files/discoverapp.zip"&gt;http://chrisgray.members.winisp.net/files/discoverapp.zip&lt;/A&gt;&amp;nbsp; -- please note that &amp;#8220;My Network Places&amp;#8221; will also listen for it if you've got UPNP installed on XP.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The idea of this util is that it would be included in a CD or something that would have an autorun.inf to launch it.&amp;nbsp; The user would plug in their totally nameless device, it would DHCP, and then it would begin broadcasting UPNP messages announcing its presence.&amp;nbsp; The XP utility would then pick up the announcment and give the option to configure the device.&lt;/P&gt;
&lt;HR&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=201374" width="1" height="1"&gt;</content><author><name>chrisgray</name><uri>http://blogs.msdn.com/members/chrisgray.aspx</uri></author></entry><entry><title>First Channel9 Video -- building a lightweight NAS device</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/chrisgray/archive/2004/07/29/201178.aspx" /><id>http://blogs.msdn.com/chrisgray/archive/2004/07/29/201178.aspx</id><published>2004-07-29T23:25:00Z</published><updated>2004-07-29T23:25:00Z</updated><content type="html">&lt;P&gt;Well, this is my first post here -- wonder if I'll get bored of it or what will happen :)&lt;/P&gt;
&lt;P&gt;anyway, Mike Hall and I put together a little video that shows the consruction of a lightweight NAS (Network Attached Storage) device running WindowsCE 5.0.&amp;nbsp; You'll see a few technologies that we've added -- the biggest is our CIFS/SMB server.&amp;nbsp; this is the server component that is used when you access a file/print share with &lt;A href="file://\\server\share"&gt;\\server\share&lt;/A&gt;.&amp;nbsp; Our server doesnt include many of the features that are included in WindowsXP or 2003 server but does have most of what you'll want.&amp;nbsp; Most notibly we dont include DFS (distributed file system), ACL's on a per-file basis, our filesystem is limited to 120GB, and the max file size we can support is 4GB.&amp;nbsp; 
&lt;P&gt;In addition to the file server you'll see a nifty little UI that we built -- the idea is that without much effort a 3'ed party can tweak our our UI (for branding etc).&amp;nbsp; You can modify the toolbars, pages -- really anything.&amp;nbsp; I hope to do either a little video or a whitepaper that describes more about this. 
&lt;P&gt;You can check out our video on MSDN's Channel9 at &lt;A href="http://channel9.msdn.com/ShowPost.aspx?PostID=15298"&gt;http://channel9.msdn.com/ShowPost.aspx?PostID=15298&lt;/A&gt;&amp;nbsp;-- please feel free to post comments here if you want features or something&lt;/P&gt;

&lt;hr&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=201178" width="1" height="1"&gt;</content><author><name>chrisgray</name><uri>http://blogs.msdn.com/members/chrisgray.aspx</uri></author></entry></feed>