使用MDT部署过Server的人最头痛的大概就是存储驱动,不同服务器的存储设备可谓是千差万别。通过本文了解windows的存储驱动,可以为部署时提供更多的帮助。
 
 
Yes, in fact there are two different types:
  • Class=SCSIAdapter.  Until recently, most mass storage drivers specified class "SCSIAdapter," which doesn't mean that they are actually SCSI-based.  Drivers for many IDE/ATA and RAID controllers also fall into this class. 直到最近,绝大多数的存储驱动还是属于“SCSIAdapter”这一类,但并不意味着一定是SCSI总线的。绝大多数的IDE/ATA和RAID控制器的驱动也是这个类别
  • Class=hdc. HDC is an abbreviation for "hard disk controller."  Many newer drivers, especially for SATA-based controllers, specify this class.HDC是“Hard Disk Controller”的缩写。许多新的驱动,特别是SATA总线的控制器属于这一类
The MSDN web page at [url]http://msdn.microsoft.com/en-us/library/ms791134.aspx[/url] talks about the different classes of drivers, but doesn't get into too much detail about the differences.  For most purposes, you really shouldn't care too much either, unless you are working with products or scripts that need to know the difference.  That brings us to Configuration Manager 2007 and Microsoft Deployment Toolkit: both care about driver classes and need to take into account that there are two different types.  Unfortunately, neither one did when they were released:
MSDN里谈论了不同种类的驱动,但并没有讨论差别的细节。对于大多数情况下,你也并不需要知道太多,除非你的产品或者脚本需要知道这些差别。Configuration Manager 2007和MDT两个产品同时关心驱动的类别,且需要考虑两种不同的类型。不幸的是,无论哪一个都没有做到
  • ConfigMgr 2007 didn't include logic for class=hdc so it only detects class=SCSIAdapter.  The fix for this will be included in ConfigMgr 2007 SP1, due out very soon. ConfigMgr2007并不包含class=hdc,仅仅检测class=SCSIAdapter.这在SP1中将会被修正
  • Microsoft Deployment Toolkit 2008 did include logic for class=hdc, but one script was missed.  This script, ZTIStorageDriversSysprep.wsf, only inserts class=SCSIAdapter drivers into sysprep.inf.  A companion script, ZTIStorageDrivers.wsf, includes the correct logic, so if you are creative enough (hint: search for "hdc") you can figure out what needs to be fixed.  We'll release a KB with the official details as soon as we can.MDT2008包含检测class=hdc,但有一个脚本没有——ZTIStorageDriversSysprep.wsf,它仅仅检测了class=SCSIAdapter种类的。因此如果你足够聪明,你就会知道如何修正——我们将会很快推出一个kb来修正这个问题
If you are using newer hardware that supports SATA disks but you've never run into either of these issues, it might be because you've configured your hardware in ATA or legacy mode, instead of using AHCI mode.  Generally, I believe you should avoid ATA/legacy mode, as you lose some of the benefits of AHCI, including hot plug support (primarily beneficial with eSATA ports, [url]http://www.intel.com/support/chipsets/imst/sb/CS-012308.htm[/url]), native command queing ( [url]http://www.intel.com/support/chipsets/imst/sb/CS-012305.htm[/url]), and on some hardware, RAID array support. 
如果你在使用比较新的硬件,诸如sata硬盘,但你从来没有碰到这些问题,这可能是因为你配置了你的硬件工作在legacy模式或ata模式,而不是ahci模式。一般情况下,我相信你会关闭ata/legacy模式,因为你将失去achi模式的一些好处,包括热拔插、原生命令查询,阵列支持等等
Keep in mind though that you can't just switch from one to the other without careful planning - because ATA/legacy and AHCI modes require different drivers, Windows has to know about the new driver before making the switch.  See [url]http://support.microsoft.com/kb/922976[/url] for some details on what needs to be done for Windows Vista.  Also check out [url]http://support.microsoft.com/kb/928253[/url] if you have SATA-based optical drives.  Both of those issues are fixed in Windows Vista SP1.
记住你不能不经过仔细计划就把一种模式转换到另一种模式,因为两种模式的驱动程序是不同的,windows需要在转换之前知道新驱动。kb922976会提供vista上更多的细节,也看看KB928253,如果你有选择sata驱动的时候。这些问题在sp1中已经得到修正
Driver support for common AHCI-based mass storage controllers is included in Windows Vista SP1.  For Windows XP, though, you need to make sure that the right drivers are included in the p_w_picpath.  (That's what ConfigMgr and MDT 2008 are trying to do for you.)
vista sp1中已经提过了常见的achi模式的驱动支持。对于xp,你需要确认在镜像中有正确的驱动程序(那是ConfigMgr和MDT 2008想要为你做的)