This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources. Find sources: "Logical Disk Manager" – news ·newspapers ·books ·scholar ·JSTOR(July 2008) (Learn how and when to remove this message) |
TheLogical Disk Manager (LDM) is an implementation of alogical volume manager forMicrosoft Windows NT, developed byMicrosoft andVeritas Software. It was introduced with theWindows 2000 operating system, and is supported inWindows XP,Windows Server 2003,Windows Vista,Windows 7,Windows 8,Windows 10 andWindows 11. TheMMC-basedDisk Management snap-in (diskmgmt.msc) hosts the Logical Disk Manager. On Windows 8 andWindows Server 2012, Microsoft deprecated LDM in favor ofStorage Spaces.[1]
Logical Disk Manager enables disk volumes to bedynamic, in contrast to the standardbasic volume format. Basic volumes and dynamic volumes differ in their ability to extend storage beyond one physical disk. Basic partitions are restricted to a fixed size on one physical disk. Dynamic volumes can be enlarged to include more free space - either from the same disk or another physical disk. (For more information on the difference, seeBasic and dynamic disks and volumes, below.)
Basic storage involves dividing a disk into primary and extendedpartitions.[2] This is the route that all versions of Windows that were reliant onDOS-handled storage took, and disks formatted in this manner are known as basic disks. Dynamic storage involves the use of a single partition that covers the entire disk, and the disk itself is divided into volumes or combined with other disks to form volumes that are greater in size than one disk itself. Volumes can use any supportedfile system.
Basic disks can be upgraded to dynamic disks; however, when this is done the disk cannot easily be downgraded to a basic disk again. To perform a downgrade, data on the dynamic disk must first be backed up onto some other storage device. Second, the dynamic disk must be re-formatted as a basic disk (erasing all data). Finally, data from the backup must be copied back over to the newly re-formatted basic disk.
Dynamic disks provide the capability for software implementations ofRAID. The main disadvantage of dynamic disks in Microsoft Windows is that they can only be recognized under certain operating systems, such asWindows 2000 or later (excluding versions such asWindows XP Home Edition, andWindows Vista Home Basic and Premium[3]),FreeBSD, or theLinux kernel starting with version 2.4.8.
Dynamic disks under Windows are provided with the use of databases stored on disk(s). The volumes are referred to as dynamic volumes. It is possible to have 2000 dynamic volumes per dynamic disk, but the maximum recommended by Microsoft is 32.
Only server versions of Windows (Windows Server) can supportRAID5 feature of LDM.
| ID (GUID Partition Table andMBR Partition Table) | Description |
|---|---|
| GPT:5808C8AA-7E8F-42E0-85D2-E1E90434CFB3 MBR: None1 | "metadata" partition. The area of the disc that is used for holding configuration data that describe the volumes that LDM manages. |
| GPT:AF9B60A0-1431-4F62-BC68-3311714A69AD MBR:0x42 | "data" partition. The area of the disc that is used for holding LDM volumes themselves. |
^1 On a disk partitioned with the MBR Partition Table scheme, the Logical Disk Managermetadata are not stored in a partition, but are stored in a 1 MB area at the end of the disk that is not assigned to any partition.[4] The disc partitioning tools in Windows 2000 up to Windows 10 will not use that area for disk partitions, but the tools in other operating systems might. The aforementioned reservation of 1 MB would only occur on a disk which is identified by Windows as a "Local Disk" as opposed to a "Removable Disk". Thus aCompactFlash (CF) card capable of trueIDE mode connected to a PC running Windows through an IDE port or a USB toATA bridge, a mobile HDD enclosure case for instance, would get this reservation in contrast to one being connected through a normal USB card reader or a passive 16-bit CF toPCMCIA adapter where it does not deserve this reservation.
Dynamic disk is a proprietary format of Microsoft developed together with Veritas.[5][6] A basic volume is a volume stored on a basic disk, while a dynamic volume is a volume stored on a dynamic disk. Basic volumes and dynamic volumes differ in ability to extend storage beyond one physical disk. The basic partitions are confined to one disk and their size is fixed. Dynamic volumes allow to adjust size and to add more free space either from the same disk or another physical disk. Striped volumes (RAID 0) and spanned volumes (SPAN) are dynamic volumes using space on different physical disks. In Windows XP, spanned volume can use a maximum of 32 physical disks.[7]
The main differences between basic and dynamic disks are:[8][9]
Dynamic disks allow more flexible configuration without the need to restart the system.Some space at the end of the disk is reserved by the setup program of Windows with a kernel version of 5.x lest the disk would be upgraded to a dynamic one. The amount that is reserved is one cylinder or 1 MB, whichever is greater. One cylinder depending on drive geometry and translation can be up to 8 MB (to be precise, 512 bytes/sector × 63 sectors/head × 255 heads/cylinder = 8225280 bytes = 7.844 MiB) which account for a remaining 8 MB free space once Windows setup is used to create a partition. Coincidentally,Solaris 11 leaves exactly this amount of space at the beginning of a disk. Furthermore, this is not true sinceWindows Vista which always leaves 1 MB that is aligned to 2048 sector boundaries at the end of a local disk for the purpose of dynamic disk.
Disk Management in Windows Vista creates partitions according to a 1-MB alignment boundary, ignoring the previous conventions called"drive geometry" or "CHS".[10] In other words, Vista's Disk Management acts like it is using a non-standard CHS geometry of 2048sectors pertrack/head and 1 track/head per cylinder (the sectors being of512 bytes so that 2048 sectors is1 MB).
In earlier versions of Windows, the default startingoffset for the first partition on a hard disk drive was sector
0x3F. Because this starting offset was an odd number, it could cause performance issues on large-sector drives because of misalignment between the partition and the physical sectors. In Windows Vista, the default starting offset will generally be sector0x800.
The "starting offset" refers to the sectors before the partition. "3F" is a hexadecimal value; in decimal that is "63". This is the size of one head (or "track") in terms of a standardCHS geometry. The hex value "800", in decimal form is 2048, so this is referring to the firstMB of space, from the start of the disk. Because a 1-MB alignment boundary is used by the Vista partitioner(s),1 MB is "reserved for" theMaster boot record (MBR), instead of the traditional 63 sectors (31.5 KB). Note that the MBR is only one sector in size, but many software packages use these 63 sectors of "free space" (or any "free space" preceding the partition) for their purposes. 63 sectors is the minimum space that should be reserved for the MBR or anExtended Boot Record(EBR).What this means is that, if there were no partitions on a disk when it was booted, a partition was created using standard CHS geometry (as would be used by most partition editors such as DOS fdisk, Linux fdisk, Ranish Partition Manager, or an XP installation disk), and this partition was created at the start of the disk, then the partition will start on the 2nd head. The partition could not begin at the first sector because the MBR located there, so instead it starts the partition on the second head. When primary partitions are created anywhere else (following typical CHS geometry alignment) they start at the beginning of a cylinder.If a computer is booted with no partitions defined, and the first partition is created with the Vista installation disk, it will instead use the 1-MB alignment. (The partitioner on the Vista installation disk follows the 1-MB alignment just as Disk Management in Windows Vista does.) By following a 1-MB alignment, all partitions will have an even numbered offset (so long as no other partitioner is used on the drive).