Subscribe to Windows IT Pro
March 30, 2000 03:34 PM

Ask the Doctor

Windows IT Pro
InstantDoc ID #8495
Rating: (0)

SEND US YOUR TIPS AND QUESTIONS.
For answers to more of your Windows 2000 and Windows NT questions, visit our online discussion forums at http://www.win2000mag.com/support.

When I try to create an Emergency Repair Disk (ERD) for my machine, Windows NT formats the disk, then proceeds to copy the Registry files to the disk. However, at the end of the process, a message states that NT couldn't copy all the information to the disk. Why does this error happen?

This message appears when the size of the Registry on the local machine (on which you're creating the ERD) is larger than the capacity of a 3.5" disk (i.e., 1.44MB). Although the ERD-creation process compresses the Registry files that will reside on the ERD, sometimes even the compressed files don't fit. If you're using the /S option with Rdisk, try not using this option. This tip might help if the SECURITY hive is big enough to cause the Registry backup to exceed the 3.5" disk's space limitations. However, if the Registry's SOFTWARE hive (which you can't exclude) is causing the problem, you can't create a complete ERD.

In such a situation, the only way to create a copy of the Registry is to manually copy the files from the \winnt\repair folder (i.e., the source folder that NT creates the ERD from) or use the Microsoft Windows NT Server 4.0 Resource Kit's Regback utility to make a backup of the Registry. You can then put the backed-up Registry hive files (e.g., SAM, SECURITY, SOFTWARE, SYSTEM) on a different medium, such as a CD-Recordable (CD-R) drive, DVD-RAM drive, Zip drive, or another system's hard disk. However, this workaround isn't as convenient as having the ERD because NT's Repair process (which uses the ERD during recovery) asks for only the 3.5" disk version of the ERD during the Setup Repair process.

Windows NT Service Pack 4 (SP4) and later contain the Setprfdc utility, which you use to assign a preferred domain controller for a site, without using an LMHOSTS file. We're using one domain, with backup domains across the country. We need to be sure that Windows 95 machines are also using the local BDC to authenticate the local users, but we don't want to use LMHOSTS files. What can we do?

The Setprfdc utility is NT-centric. You can use other methods to control the secure channel establishment and domain controller validation, including #PRE and #DOM tags in the workstation's LMHOSTS file. However, you mention that you don't want to use this method, so you might consider an alternative approach such as setting M-node resolution on the Win95 clients (e.g., through a DHCP scope option or a config.pol system policy file to modify the corresponding Registry option related to the WINS node type).

By default, a client sends a broadcast to establish a secure channel with a domain controller and authenticate a logon. However, clients don't wait very long for a response. Because of this impatience, a client will often end up using WINS to discover a domain controller, a process that might return the address of a domain controller located across a slow WAN link. However, if you set M-node name resolution—which uses broadcasts first and point-to-point name server resolution second (i.e., the opposite of the default H-node type for WINS-enabled clients)—the client will wait longer for a reply. Therefore, a BDC on the local LAN segment will be more likely to respond to the client authentication request. (For more information about this topic, see the Microsoft article "Secure Channel Manipulation with TCP/IP" at http://support.microsoft.com/support/kb/articles/q181/1/71.asp.) Note one caveat regarding M-node resolution: The increased broadcast traffic that this setting causes makes it more appropriate for smaller branch-office LANs than larger LAN segments with many machines.

I understand that if a primary disk fails, Windows NT's drive mirroring (i.e., RAID 1) capability automatically fails over the system to the shadow disk. However, when one of my servers recently experienced a primary disk failure, the system failed to boot. I reconfigured the shadow disk as the primary disk, but the system still wouldn't boot. When I tried to recreate the boot sector by installing NT on the shadow disk (which I jumpered to be the primary disk), NT told me the disk was a member of a fault-tolerant disk set and wouldn't let me perform the installation. Are these bugs in NT or in my disk subsystem?

The behavior you describe falls more squarely into the category of feature than bug—at least as far as Microsoft is concerned. This feature is an important but highly misunderstood NT behavior, so I'm devoting a good portion of this month's column to your question.

First, I'd be willing to bet that your failed system used IDE disks instead of SCSI. If the disks were SCSI, they probably weren't on SCSI IDs 0 and 1 or they weren't numbered consecutively. I'm not sure about your scenario, so I'll start with the IDE scenario. NT's software-based RAID 1 fault tolerance (which NT's ftdisk.sys driver provides) allows automatic failover only on SCSI disk controllers and only under certain circumstances—specifically, when the primary and shadow disks are on IDs 0 and 1, respectively. Although you might assume that a similar event occurs on IDE disks that you've configured as master (i.e., primary) and slave (i.e., shadow) on the same channel, such is not always the case. IDE devices aren't logically independent, as SCSI devices are. On IDE devices, a master/slave relationship exists between disks on the same channel. The ability of the system to properly recognize the slave typically depends on the presence and proper operation of the master disk. If the master disk isn't present or isn't functioning properly, the slave disk won't be able to function. As a result, to satisfy IDE's physical configuration requirements, you might need to replace the failed primary disk or re-jumper the slave disk as an IDE master (or standalone/single) disk.

General limitations in NT's software-based disk mirroring might also be causing your problems. Microsoft doesn't officially support or recommend using software-based RAID in NT to mirror the boot partition—only the data on that partition—or the ability of the system to boot. Although failover might work, many scenarios exist in which it won't work, as you've experienced. Your problems are common because NT's disk mirroring doesn't mirror the primary disk's Master Boot Record (MBR) partition table entries. On an x86-compatible system, this on-disk code is responsible for locating and passing control to the boot sector on the currently active partition. Unfortunately, the MBR is also an essential element of the boot process, so you won't be able to boot from a disk without it. (An exception exists: When the shadow disk was at one time a bootable disk that had a similar disk-partitioning scheme as the primary disk, the shadow disk might have the required MBR code necessary to boot from that disk. However, if you mirrored onto a shadow disk that was originally a clean disk, you're probably out of luck.)

Related Content:

ARTICLE TOOLS

Comments
  • Lane J. Abrams
    12 years ago
    Aug 08, 2000

    In Tricks and Traps: Ask the Doctor (May 2000), Sean Daily describes what to do if the Emergency Repair Disk (ERD) is too big for a 3.5" (1.44MB) disk. This article was very timely for me because one of my systems recently had this problem. What the article doesn't discuss is how to use any of the solutions. Microsoft needs to make the repair process ask for a location, rather than require the repair to be on a 3.5" disk. Then, users could put the ERD anywhere--­on a 3.5" disk, a CD-Recordable (CD-R) disc, or hard disk.

  • Sean Daily
    12 years ago
    Aug 08, 2000

    I read Douglas Toombs' "Unlimited Storage" (June 2000) about how to use Windows 2000 Server's Remote Storage Service (RSS), and I have a couple questions about devices that RSS supports. How does Microsoft define removable storage device? Does RSS consider a USB-based hard disk system to be a removable storage device?


    --Sean Daily

  • Carl Campos
    12 years ago
    Jul 11, 2000

    Setup Mirrored IDE Drives - If you, like me, are unfortunate enough to have to setup IDE disks in an NT software mirror, there is a way around the shadow disk not booting when the primary disk fails. As the article states, the shadow disk does not contain the correct MBR entries when it is mirrored as a clean (unformatted and unpartitioned) disk. However, there is a workaround to this issue. When you install the new IDE disk, create, format and delete a 100MB partition on the disk using Disk Administrator. Then mirror your existing drive to the new one. This process writes the MBR entries to the new drive and allows it to boot NT. You are still stuck with re-jumpering your IDE drives when the master fails, but your machine should boot from the shadow drive without any extra assistance. As always, make sure to test this procedure before putting it into production.

  • Nat Creamer
    12 years ago
    Jun 19, 2000

    I've run across the problem of the ERD files being too big to fit on the floppy. It is interesting to learn how to get around this problem by backing up the registry hive files on a different medium. But since you point out that it's not a convenient work around because NT asks only for the floppy's, what good is it? Is there any way of directing the request to the other media during the repair process?

  • Brian Gochnauer
    12 years ago
    May 17, 2000

    MS Raid 1 failover doesn't usually work correctly, does this apply to Raid 5 as well?

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.