Logical Disk Manager

The Logical Disk Manager (LDM) is an implementation of a logical volume manager for Microsoft Windows NT, developed by Microsoft and Veritas Software. It was introduced with the Windows 2000 operating system, and is supported in Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows 8, Windows 10 and Windows 11. The MMC-based Disk Management snap-in (diskmgmt.msc) hosts the Logical Disk Manager. On Windows 8 and Windows Server 2012, Microsoft deprecated LDM in favor of Storage Spaces.[1]

Logical Disk Manager enables disk volumes to be dynamic, in contrast to the standard basic 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, see Basic and dynamic disks and volumes, below.)

Overview

Basic storage involves dividing a disk into primary and extended partitions.[2] This is the route that all versions of Windows that were reliant on DOS-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 supported file 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 of RAID. The main disadvantage of dynamic disks in Microsoft Windows is that they can only be recognized under certain operating systems, such as Windows 2000 or later (excluding versions such as Windows XP Home Edition, and Windows Vista Home Basic and Premium[3]), FreeBSD, or the Linux 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 support RAID5 feature of LDM.

Partition table types

ID (GUID Partition Table and MBR 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 Manager metadata 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 a CompactFlash (CF) card capable of true IDE mode connected to a PC running Windows through an IDE port or a USB to ATA 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 to PCMCIA adapter where it does not deserve this reservation.

Basic and dynamic disks and volumes

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 support multi-partition volumes; basic disks do not.
  • Windows stores basic disk partition information in the registry and dynamic disk partition information on the disk

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 since Windows 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.

Compatibility problems

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 2048 sectors per track/head and 1 track/head per cylinder (the sectors being of 512 bytes so that 2048 sectors is 1 MB).

Compatibility problems with using a 1-MB alignment boundary

  • Extended partition tables that are edited with Vista Disk Management should not be edited with Windows XP Disk Management. XP Disk Management may delete these extended partitions without warning.[11] One way to correct these mixed partition tables is to delete all partitions (reboot or reconnect drive) and use only one partition editor on the drive.
  • You may not be able to install XP[12] or Windows Server 2003[13] to partitions created with Vista Disk Management.
  • These 1 MB alignments ignore prior CHS conventions such as the regular intervals at which partitions begin and end, and the distance between the extended boot records and their logical drives.[10]
Other operating systems (perhaps DOS programs used by backup or recovery software), boot loaders, or partitioners may have problems viewing or editing partitions that do not follow a CHS alignment. (Generally, unpredictable results may come from using more than one partitioner on the same partition table without checking the alignments with tools such as Ranish Partition Manager. For example, operating system installers usually start with a partition editor so it may be important that this uses the same alignments as the previous partition editors, if all partitions are not deleted (and the computer reset) before installing the operating system. The variation in CHS geometry is almost always a different number of heads per cylinder, for example, 240 instead of 255. However, partition editors may seem to ignore this sort of geometry in some situations. "Head" and "track" mean the same thing in this context.)

Advantages of using a 1-MB alignment boundary

  • Microsoft states that on large-sector drives, also known as advanced format, there is a "performance issue" (i.e., problem) when the starting offset of the first partition is an "odd" number. This partition alignment offset also affects newer generation drives not necessarily specified as advanced format such as SSD drives. Misalignment causes severe degradation not only with random write performance, but also with sequential write performance (normally to a far lesser degree).
(Quoting Microsoft directly): "In earlier versions of Windows, the default starting offset 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 sector 0x800."[14]
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 standard CHS geometry. The hex value "800", in decimal form is 2048, so this is referring to the first MB 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" the Master 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 an Extended 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 Vista Disk Management 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).
  • Using a 1-MB alignment boundary allows safer editing of the partition table with Vista Disk Management.
Partition tables using a CHS geometry (or some mix of alignments) may prevent Vista from resizing partitions or it may produce unconventional partition tables. For example, the endings of the "EBR extended partitions" (type 0x05) may overlap other partitions, and it will leave unprecedented amounts of space between an extended boot record and its logical drive. Ranish Partition Manager does not show an error if there are more than 63 sectors between the EBR and its logical volume, so long as the EBRs and VBRs are on the first sector of any track (head). If either the VBR or the EBR are not on the first sector of a head, Ranish Partition Manager shows the "partition" in red and when the partition is highlighted, this error message appears: "Boot sector doesn't have valid information". Using the 1-MB alignment boundary will not put VBRs or EBRs on the first sector of a track (according to any standard CHS geometry) and Vista Disk Management will not use the CHS geometry of a partition table created with a different partition editor.
  • A disk that is solely partitioned with Vista Disk Management can create partitions in exact MB sizes and never leave leftover bits of space between partitions. (As long as you don't count the full 1 MB allocated for each logical partition to contain just a single sector extended boot record.)
With Vista DM, all the logical drives besides the one nearest the beginning of the extended partition (type 0x0F), usually reserve exactly one additional MB, for an extended boot record, instead of the 63 sectors (31.5 KB) that is most commonly reserved according to alignments based on a CHS geometry. If other partition editors are used on the disk then Vista DM may reserve different amounts of space for the EBRs.

See also

References

  1. ^ "Virtual Disk Service is transitioning to Windows Storage Management API (Windows)". Microsoft MSDN. March 15, 2023.
  2. ^ "How Basic Disks and Volumes Work". Microsoft TechNet. March 28, 2003. Archived from the original on April 23, 2006.
  3. ^ "Windows Vista support for large-sector hard disk drives". Microsoft. May 29, 2007. Archived from the original on July 3, 2007. Retrieved October 8, 2007.
  4. ^ "How Dynamic Disks and Volumes Work". Microsoft TechNet.
  5. ^ "VERITAS Storage Foundation for Windows: The Dynamic Disk Advantage - Comparing Dynamic Disks to Basic Disks". Symantec. Archived from the original on May 29, 2012.
  6. ^ "Veritas Storage Foundation for Windows by Symantec (PDF)" (PDF). Symantec. Archived from the original (PDF) on February 6, 2009.
  7. ^ "Microsoft Windows XP - Create a striped volume". Microsoft. Archived from the original on July 10, 2006.
  8. ^ "Basic and Dynamic Disks". Microsoft MSDN. January 26, 2022.
  9. ^ "Dynamic vs. Basic Storage in Windows 2000". Microsoft Support.
  10. ^ a b "Vista's New Partitioning Rules". Multibooters Dual and Multibooting with Vista. (Source is questionable. There is some confusion on this source page, which is clarified here.)
  11. ^ "The case of the disappearing partitions". Vista Information.
  12. ^ "You cannot install Windows XP successfully after you use Windows Vista or Windows PE 2.0 to create partitions on a hard disk". support.microsoft.com. July 23, 2009. Archived from the original on February 2, 2015. Retrieved September 4, 2022.
  13. ^ "You cannot install Windows Server 2003 successfully after you use Windows Vista or Windows PE 2.0 to create partitions on a hard disk". support.microsoft.com. June 21, 2014. Archived from the original on March 9, 2015. Retrieved September 4, 2022.
  14. ^ "Windows Vista support for large-sector hard disk drives". Microsoft Support. May 29, 2007.

Read other articles:

Golden Best -15th Anniversary-Album kompilasi karya ZardDirilis25 Oktober 2006GenreJ-PopDurasiDisc1 63:01 Disc2 59:33LabelB-GramProduserIzumi SakaiKronologi Zard Zard Best ~Request Memorial~String Module Error: Match not foundString Module Error: Match not found Golden Best ~15th Anniversary~(2006) Golden Best ~15th Anniversary~ adalah album kompilasi Zard yang dirilis untuk memperingati hari jadi Zard ke-15, sekaligus album pertama Zard yang terdiri dari 2 keping CD. Dirilis bulan Oktobe...

 

Chúa Cứu Thế vác Thập tự giáTác giảHieronymus BoschThời gianthập niên 1480Chất liệusơn dầu trên ván gỗKích thước57 cm × 32 cm (22 in × 13 in)Địa điểmBảo tàng Kunsthistorisches Chúa Cứu Thế vác Thập tự giá là một bức tranh của Hieronymus Bosch, được thực hiện vào thập niên 1480. Hiện đang được trưng bày tại Bảo tàng Kunsthistorisches, Viên, Áo. Bức Chúa Hài Đ

 

此条目或其章节有關連載中或未完結的作品。維基百科不是新聞的收集处。請留心記載正確信息,在信息相對明确之後進行編輯更新。 一拳超人 村田版漫畫第一卷封面(台版) ワンパンマン One-Punch Man 罗马字 Wan-Pan Man 類型 超級英雄、幽默、動作、戰鬥 正式譯名 一拳超人 常用譯名 一擊男、一擊超人 漫画:原作版 作者 ONE 出版社 個人出版 連載於 ONE個人網站 連載期間 2009...

Bendera pasukan Chōshū pada Perang Boshin. Domain Chōshū (長州藩code: ja is deprecated , Chōshū han) adalah sebuah domain feodal di Jepang pada zaman Edo (1603–1867).[1] Domain tersebut meliputi wilayah Prefektur Yamaguchi pada zaman sekarang. Ibu kotanya adalah Hagi. Nama Chōshū adalah tangan pendek untuk Provinsi Nagato. Domain tersebut memainkan peran utama dalam Keshogunan Tokugawa Akhir. Domain tersebut dikenal juga sebagai Domain Hagi (萩藩code: ja is deprecated ,...

 

2007 grand strategy video game This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Europa Universalis III – news · newspapers · books · scholar · JSTOR (July 2020) (Learn how and when to remove this template message) 2007 video gameEuropa Universalis IIICover art of Europa Universalis IIIDeveloper(s)Paradox Deve...

 

نينتندو دي أس لايتالشعارمعلومات عامةالنوع نظام ألعاب الفيديو المحمولالصانع نينتندو عائلة المنتج نينتندو دي أسالجيل الجيل السابعالمبيعات  القائمة ... 93٬860٬000[1] — 580٬000[2] — 4٬150٬000[3] — 9٬060٬000[4] — 17٬330٬000[5] — 21٬850٬000[6] — 28٬690٬000[7] — 34٬930٬000[8] —...

River in Pennsylvania, United States of America Black CreekLocation of mouthShow map of the United StatesBlack Creek (Susquehanna River tributary) (Pennsylvania)Show map of PennsylvaniaPhysical characteristicsSource  • locationvalley in Conyngham Township, Luzerne County, Pennsylvania • elevationbetween 840 and 860 feet (260 and 260 m) Mouth  • locationSusquehanna River in Mocanaqua, in Conyngham Township, Luzerne County, Pen...

 

For the 1970 album, see Country Girl (1970 Billie Jo Spears album). 1981 studio album by Billie Jo SpearsCountry GirlStudio album by Billie Jo SpearsReleased1981Recorded1981StudioSound EmporiumGenreCountry[1]LabelWarwickProducerAl DeLoryBillie Jo SpearsBillie Jo Spears chronology Only the Hits(1981) Country Girl(1981) BJ – Billie Jo Spears Today(1982) Country Girl is a studio album by American country artist Billie Jo Spears. It was released in 1981 via Warwick Records and c...

 

This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (October 2017) (Learn how and when to remove this template message) Order of Berthold the FirstStar of the orderTypeOrder of meritEstablished29 April 1877CountryGrand Duchy of BadenRoyal houseHouse of ZähringenRibbonRed with narrow gold stripes at each edgeMottoGERECHTIGKEIT IST MACHTCriteriaFor faithful service...

This article is about the online news magazine. For the Ottoman civil code, see Mecelle. Arabic language online news magazine The MajallaEditor-in-chiefGhassan Charbel CategoriesOnline news magazineFrequencyWeeklyCirculation86.961 (2009)PublisherSaudi Research Publishing CompanyFounded1980Final issueApril 2009 (print)CompanySaudi Research and Marketing Group (SRMG)CountryUnited Kingdom, Saudi ArabiaLanguageArabic, English and PersianWebsiteThe MajallaISSN0261-0876 The Majalla, often directly ...

 

State park in Baldwin County, Alabama, United States Meaher State ParkWetlands at Meaher State ParkLocation in AlabamaLocationSpanish Fort, Baldwin County, Alabama, United StatesCoordinates30°40′11″N 87°56′9″W / 30.66972°N 87.93583°W / 30.66972; -87.93583Area1,327 acres (5.37 km2)Elevation3 ft (0.91 m)[1]DesignationAlabama state parkEstablished1989AdministratorAlabama Department of Conservation and Natural ResourcesWebsiteMeaher State...

 

Chilean-French filmmaker Jodorowsky redirects here. For other people, see Jodorowsky (surname). In this Spanish name, the first or paternal surname is Jodorowsky and the second or maternal family name is Prullansky. Alejandro JodorowskyJodorowsky in 2011BornAlejandro Jodorowsky Prullansky (1929-02-17) 17 February 1929 (age 94)Tocopilla, ChileCitizenshipChileFranceEducationLiceo de AplicaciónAlma materUniversity of ChileOccupationsFilm directorscreenwriteractorauthorplaywrig...

Para otros usos de este término, véase Masacre (desambiguación). Véase también: Asesinato masivo La masacre de los inocentes de Rubens. Vista del instituto estadounidense Columbine, donde el 20 de abril de 1999 sucedió el tiroteo escolar más conocido: la Masacre de la Escuela Secundaria de Columbine, que acabó con 15 muertos y 24 heridos. Debido a la cultura de las armas en EE. UU., que es muy permisiva respecto a que los ciudadanos puedan comprar armas en comparación con otros país...

 

Chemical compound Trenbolone undecanoateClinical dataOther namesTrenbolone undecylate; Estra-4,9,11-trien-17β-ol-3-one 17β-undecylateRoutes ofadministrationIntramuscular injectionDrug classAndrogen; Anabolic steroid; Androgen ester; ProgestogenIdentifiers IUPAC name [(8R,9S,10R,13S,14S,17S)-10,13-dimethyl-3-oxo-1,2,6,7,8,9,11,12,14,15,16,17-dodecahydrocyclopenta[a]phenanthren-17-yl] undecanoate Chemical and physical dataFormulaC29H41O3Molar mass437.644 g·mol−13D model (JSmol)Interac...

 

Proverbs 18← chapter 17chapter 19 →The whole Book of Proverbs in the Leningrad Codex (1008 C.E.) from an old fascimile edition.BookBook of ProverbsCategoryKetuvimChristian Bible partOld TestamentOrder in the Christian part21 Proverbs 18 is the eighteenth chapter of the Book of Proverbs in the Hebrew Bible or the Old Testament of the Christian Bible.[1][2] The book is a compilation of several wisdom literature collections, with the heading in 1:1 may be intended t...

Non-profit organisation in the USA This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article contains content that is written like an advertisement. Please help improve it by removing promotional content and inappropriate external links, and by adding encyclopedic content written from a neutral point of view. (February 2014) (Learn how and when to remove this template message) This art...

 

Romanian bobsledder Iulian PăcioianuPăcioianu at IBSF World Championships 2020Personal informationNationalityRomanianBorn (1970-08-25) 25 August 1970 (age 53)Pitești, RomaniaSportSportBobsleigh Iulian Păcioianu (born 25 August 1970) is a Romanian bobsledder. He competed at the 1994, 1998 and the 2002 Winter Olympics.[1] References ^ Evans, Hilary; Gjerde, Arild; Heijmans, Jeroen; Mallon, Bill; et al. Iulian Păcioianu Olympic Results. Olympics at Sports-Reference.com. Sp...

 

Duilhac-sous-PeyrepertusecomuneDuilhac-sous-Peyrepertuse – Veduta LocalizzazioneStato Francia RegioneOccitania Dipartimento Aude ArrondissementNarbona CantoneFabrezan TerritorioCoordinate42°51′50.04″N 2°34′01.92″E / 42.8639°N 2.5672°E42.8639; 2.5672 (Duilhac-sous-Peyrepertuse)Coordinate: 42°51′50.04″N 2°34′01.92″E / 42.8639°N 2.5672°E42.8639; 2.5672 (Duilhac-sous-Peyrepertuse) Altitudine233 m s.l.m. Superficie2...

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Cereal Killer Soundtrack – news · newspapers · books · scholar · JSTOR (August 2015) (Learn how and when to remove this template message) 1993 soundtrack album by Green JellÿCereal Killer SoundtrackSoundtrack album by Green JellÿReleasedMarch 5, 1993R...

 

Questa voce o sezione sull'argomento cantanti statunitensi non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti del progetto di riferimento. Akon Nazionalità Stati Uniti GenereContemporary R&BPopDance pop Periodo di attività musicale1996 – in attività EtichettaUniversal, Akonik, SRC, Konvict Muzik, UpFront ...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!