RE: Dynamic vs Basic Partitions



Walter,

I thought I was golden with that program but I actually came across a
computer that show LDM information for a basic disk. When I run it on other
comps it gives me the no LDM database for all the basic disks but this one
server does have LDM info on the basic disk. Not sure how that is possible
but I am going to need a different solution. I know it is possible because I
have other programs that run and only show basic disks on the comp.

Thanks again!

"Walter Wang [MSFT]" wrote:

Hi,

Dyanamic disks are partitioned using Logical Disk Manager (LDM)
partitioning. The LDM subsystem in Windows, which consists of user-mode and
device driver components, oversees dynamic disks. LDM maintains one unified
database that stores partitioning information for all the dynamic disks on
a system--including multipartition-volume configuration.

As far as I know, there're no API for calling LDM service.

The LDM database resides in a 1-MB reserved space at the end of each
dynamic disk. Unfortunately this database's format is not officially
documented.

Sysinternals.com has a freeware called ldmdump.exe
(http://www.sysinternals.com/Utilities/LdmDump.html) which can display the
database content.

For a basic disk, the output will be:


Logical Disk Manager Configuration Dump v1.03
Copyright (C) 2000-2002 Mark Russinovich

Disk does not have LDM database.

For a dynamic disk, the output will be:

Logical Disk Manager Configuration Dump v1.03
Copyright (C) 2000-2002 Mark Russinovich

PRIVATE HEAD:
Signature : PRIVHEAD
Version : 2.11
Disk Id : 49448001-f838-447d-836d-85002666e401
Host Id : 1b77da20-c717-11d0-a5be-00a0c91db73c
Disk Group Id : 158f43d4-430b-4c1e-b6ad-43254e9c27d8
Disk Group Name : Sha-wawang-v5Dg0
Logical disk start : 3F
Logical disk size : 9C25FE (4996 MB)
Configuration start: 9C3520
Configuration size : 800 (1 MB)
Number of TOCs : 1
TOC size : 7FE (1023 KB)
Number of Configs : 1
Config size : 5AC (726 KB)
Number of Logs : 1
Log size : DC (110 KB)

...

So as a workaround, you may use this tool to output the information and
check for string "Disk does not have LDM database" to determine whether or
not this is a basic disk.

Please reply to let me know whether or not you need further information.
Thanks.

Sincerely,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • [2.6 PATCH] LDM: Fix for Windows Vista dynamic disks
    ... with Windows Vista dynamic disks which are subtly different to Windows ... Fix the LDM driver to work with Windows Vista dynamic disks. ... LDM - Logical Disk Manager ...
    (Linux-Kernel)
  • Re: [RFC PATCH 02/17] vbus: add virtual-bus definitions
    ... +device that spans multiple VMs (consider an ethernet switch, or a shared disk ... The interface types may overlap across different ... "interfaces" correspond to device classes in the LDM. ... I can substitute either device-instance transparently with any driver ...
    (Linux-Kernel)
  • RE: Dynamic vs Basic Partitions
    ... out one by one and remove the dynamic disks from my array. ... Dyanamic disks are partitioned using Logical Disk Manager (LDM) ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.general)
  • FAILED upgrade to dynamic disk?
    ... Is the LDM database corrupt? ... I exposed two LUNs to Windows, ... After booting up the Windows host, Windows Disk Mgr recognised the two ... I have tried to remove the LUNs on the RAID ...
    (microsoft.public.win2000.file_system)
  • RE: Dynamic vs Basic Partitions
    ... Dyanamic disks are partitioned using Logical Disk Manager (LDM) ... device driver components, oversees dynamic disks. ...
    (microsoft.public.dotnet.general)