Читаем Windows® Internals, Sixth Edition, Part 2 полностью

You can use LDMDump from Sysinternals to view detailed information about the contents of the LDM database. LDMDump takes a disk number as a command-line argument, and its output is usually more than a few screens in size, so you should pipe its output to a file for viewing in a text editor—for example, ldmdump /d0 > disk.txt. The following example shows excerpts of LDMDump output. The LDM database header displays first, followed by the LDM database records that describe a 12-GB disk with three 4-GB dynamic volumes. The volume’s database entry is listed as Volume1. At the end of the output, LDMDump lists the soft partitions and definitions of volumes it locates in the database.C:\>ldmdump /d0 Logical Disk Manager Configuration Dump v1.03 Copyright (C) 2000-2002 Mark Russinovich PRIVATE HEAD: Signature : PRIVHEAD Version : 2.12 Disk Id : b5f4a801-758d-11dd-b7f0-000c297f0108 Host Id : 1b77da20-c717-11d0-a5be-00a0c91db73c Disk Group Id : b5f4a7fd-758d-11dd-b7f0-000c297f0108 Disk Group Name : WIN-SL5V78KD01W-Dg0 Logical disk start : 3F Logical disk size : 7FF7C1 (4094 MB) Configuration start: 7FF800 Configuration size : 800 (1 MB) Number of TOCs : 2 TOC size : 7FD (1022 KB) Number of Configs : 1 Config size : 5C9 (740 KB) Number of Logs : 1 Log size : E0 (112 KB) TOC 1: Signature : TOCBLOCK Sequence : 0x1 Config bitmap start: 0x11 Config bitmap size : 0x5C9 Log bitmap start : 0x5DA Log bitmap size : 0xE0 ... VBLK DATABASE: 0x000004: [000001] Name : WIN-SL5V78KD01W-Dg0 Object Id : 0x0001 GUID : b5f4a7fd-758d-11dd-b7f0-000c297f010 0x000006: [000003] Name : Disk1 Object Id : 0x0002 Disk Id : b5f4a7fe-758d-11dd-b7f0-000c297f010 0x000007: [000005] Name : Disk2 Object Id : 0x0003 Disk Id : b5f4a801-758d-11dd-b7f0-000c297f010 0x000008: [000007] Name : Disk3 Object Id : 0x0004 Disk Id : b5f4a804-758d-11dd-b7f0-000c297f010 0x000009: [000009] Name : Volume1-01 Object Id : 0x0006 Parent Id : 0x0005 0x00000A: [00000A] Name : Disk1-01 Object Id : 0x0007 Parent Id : 0x3157 Disk Id : 0x0000 Start : 0x7C100 Size : 0x0 (0 MB) Volume Off : 0x3 (0 MB) 0x00000B: [00000B] Name : Disk2-01 Object Id : 0x0008 Parent Id : 0x3157 Disk Id : 0x0000 Start : 0x7C100 Size : 0x0 (0 MB) Volume Off : 0x7FE80003 (1047808 MB) 0x00000C: [00000C] Name : Disk3-01 Object Id : 0x0009 Parent Id : 0x3157 Disk Id : 0x0000 Start : 0x7C100 Size : 0x0 (0 MB) Volume Off : 0xFFD00003 (2095616 MB) 0x00000D: [00000F] Name : Volume1 Object Id : 0x0005 Volume state: ACTIVE Size : 0x017FB800 (12279 MB) GUID : b5f4a806-758d-11dd-b7f0-c297f0108 Drive Hint : E:

LDM and GPT or MBR-Style Partitioning

Перейти на страницу:

Похожие книги