{"id":255,"date":"2006-04-25T21:18:57","date_gmt":"2006-04-26T02:18:57","guid":{"rendered":"http:\/\/192.168.33.66\/wp\/?p=255"},"modified":"2006-04-25T21:18:57","modified_gmt":"2006-04-26T02:18:57","slug":"drive-mirror-woes","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=255","title":{"rendered":"drive mirror woes"},"content":{"rendered":"<p>http:\/\/vowe.net\/archives\/006448.html<\/p>\n<p><!--more--><\/p>\n<p>When a mirror is not a mirror<br \/>\nby Volker Weber<\/p>\n<p>Turn back the clock two years and imagine you want to run a web server for your small company, hosted in your ISP&#8217;s datacenter. You go and buy a DELL Poweredge pizza box, complete with two IDE drives. You install Windows on disk 1, make two partitions for system and data and then you tell Windows to mirror disk 1 to disk 2. Just in case one of the disks fails later on. What you don&#8217;t know yet is that IBM IC35L020AVER07 disks are not what you want in your server.<\/p>\n<p>Fast forward to Oct 23, 2005. Disk 1 dies. Server crashes. You buy two new disks, just because the other disk is also two years old now. Disks are cheap and server uptime is more important then saving a few bucks. What is the plan? You remove disk 1 and boot from disk 2. This is a mirror of disk 1, right?<\/p>\n<p>Wrong.<\/p>\n<p>Disk 1 has a MBR, one DELL service partition and two partitions you built: system and data. However, you find out that disk 2 only has three partitions. All of them &#8220;dynamic volumes&#8221;. There is no boot record, so the disk won&#8217;t boot at all. What Microsoft is not telling you:<\/p>\n<p>    Keep in mind that you cannot boot to a drive that contains only dynamic volumes. If you mirror your system drive, be sure to partition the drive first and then delete the partition and mirror it. This creates a bootable partition in the MBR.<\/p>\n<p>Nobody told you this. Windows conveniently built a mirror that won&#8217;t work. Neat, eh?<\/p>\n<p>The trouble does not stop here. You create a BartPE disk, a live Windows Boot CD, admin&#8217;s best friend. But you won&#8217;t be able to see disk 2 when disk 1 is not present. You first have to use Diskpart to break the mirror. This ain&#8217;t easy since Diskpart insists on seeing the other disk. Would you dare to break the mirror before having saved the most valuable data from the disk?<\/p>\n<p>Well, normally you would just ignore Windows, whip out your handy Linux boot disk and mount the NTFS drives to get to the data. Not with dynamic volumes though:<\/p>\n<p>    If a partition table entry of type 0x42 is present in the legacy partition table, then W2K ignores the legacy partition table and uses a proprietary partition table and a proprietary partitioning scheme (LDM or DDM). As the Microsoft KnowledgeBase writes: Pure dynamic disks (those not containing any hard-linked partitions) have only a single partition table entry (type 42) to define the entire disk. Dynamic disks store their volume configuration in a database located in a 1-MB private region at the end of each dynamic disk.<\/p>\n<p>Tune in tomorrow when the story continues.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/vowe.net\/archives\/006448.html<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-255","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=255"}],"version-history":[{"count":0,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}