United States Patent (10) Patent N0.: US 6,711,591 B1 Rafanello Et Al
Total Page:16
File Type:pdf, Size:1020Kb
US006711591B1 (12) United States Patent (10) Patent N0.: US 6,711,591 B1 Rafanello et al. (45) Date of Patent: Mar. 23, 2004 (54) TOP-DOWN CONTROL OF MULTIPLE 5,897,661 A 4/1999 Baranovsky et al. ...... .. 711/170 LAYER AGGREGATION LOGICAL VOLUME 6,192,471 B1 * 2/2001 Pearce et al. ................ .. 713/2 MANAGEMENT DATAAND BOOT RECORD 6,366,986 B1 * 4/2002 St. Pierre et al. 711/162 6,401,183 B1 * 6/2002 Ra?Zadeh ................. .. 711/173 (75) Inventors: Benedict Michael Rafanello; Round * .t d b . Rock; TX (US); Mark A. Peloquin; C1 6 y exammer Austin, TX (US); Cuong Huu Tran; _ _ _ Austin; TX (US); Cristi Nesbitt Primary Exemmer—leffrey Gafhh Ullmann, Austin, TX (Us) Assistant Examiner—Mike Nguyen (74) Attorney, Agent, or Firm—Robert H. FrantZ; David A. (73) Assignee: International Business Machines MiIIlS, Jr Corporatlon; Armonk; NY (US) (57) ABSTRACT ( * ) Notice: subject_to any disclaimer>_ the term of this A system and method for control of data and boot records Patent 15 extended or adlusted under 35 associated with multi-layer logical volumes allows the logi U-S-C- 154(k)) by 470 days- cal volume data area containing the fake EBR to be deter ministically and efficiently accessed by using a “top down” (21) Appl. No.: 09/616,146 control methodology. Control of the logical volume manager . _ (“LVM”) data area is distributed. An LVM data area is (22) Flled' Jul‘ 13’ 2000 placed on each aggregate as well as on each partition, and (51) Im. c1.7 ............................. .. G06F 12/00 the fake EBR is placed in the LVM data area of the topmost (52) US. Cl. ..................... .. 707/200; 707/201; 707/202; aggregate The topmost aggregator Controls access to the 707/203; 707/204; 707/205; 707/206; 711/111; fake BER, and only this aggregator must provide API 711/112; 711/114; 711/162; 713/1; 713/2 functionality to aCCeSS the fake EBR. This allOWS the fake (58) Field of Search 711/161 162 EBR to be found and accessed only by new software 711/170475 707/206_206 applications which are “aware” of the fake EBR; while ’ ’ ’ ’ allowing legacy aggregators to continue to function cor (56) References Cited rectly and allowing legacy software applications to continue to interwork with legacy aggregators through their U.S. PATENT DOCUMENTS unchanged APIs. 5,790,773 A 8/1998 DeKoning et al. 395/182.04 5,796,988 A 8/1998 Naidu et al. .............. .. 395/500 27 Claims, 6 Drawing Sheets U.S. Patent Mar. 23, 2004 Sheet 1 0f 6 US 6,711,591 B1 $8MEmo @1 §§m\ Saw Em: VEQ @QEQ 2950 Vic 325 U.S. Patent Mar. 23, 2004 Sheet 3 0f 6 US 6,711,591 B1 N U.S. Patent Mar. 23, 2004 Sheet 4 0f 6 US 6,711,591 B1 Prior Art / MBR f“ P1 I” P2 I44 413 BER IF 4%-—> BER f47 f411 48 _Extend€d L2 f Partion -) EBR f49 L3 f410 \ / ?gure 4 U.S. Patent Mar. 23, 2004 Sheet 5 0f 6 US 6,711,591 B1 @0 55x223:, §§mm mo £02mEmI-.I @205mmwm1|Il|l a @825025 22:32am U.S. Patent M n S h w 6 0 6 US 6,711,591 B1 - \"\ M.$Q a mowmow M== mom _ ow §§Rm Somo mo US 6,711,591 B1 1 2 TOP-DOWN CONTROL OF MULTIPLE as the IBM OS/2 operating system provides high level LAYER AGGREGATION LOGICAL VOLUME management of the system resources, including the multi MANAGEMENT DATA AND BOOT RECORD tasking or multi-threaded scheduling and prioritiZation of the system application programs (25). Drivers (23) provide CROSS-REFERENCE TO RELATED speci?c high-level interface and control functions for spe APPLICATIONS (CLAIMING BENEFIT UNDER ci?c hardWare, such as a manufacturer and model-speci?c 35 U.S.C. 120) LAN interface card driver or CD-ReWritable (“CD-RW”) driver. This generaliZed vieW of the system also applies to This application is related to US. application Ser. No. systems on alternate, non-IBM-compatible platforms, such as Workstations, Which employ a variety of operating sys 09/561,184 ?led on Apr. 27, 2000, and to US. application 10 Ser. No. 09/616,131 ?led on Jul. 13, 2000, both by Benedict tems such as Microsoft WindoWs, UNIX or LINUX. This Michael Rafanello, et al. Both related application are com general organiZation of computer system resources and monly assigned. softWare functionality is Well understood in the art. Turning to FIG. 3, disk-based mass storage devices such FEDERALLY SPONSORED RESEARCH AND as hard disk drives, ?oppy disks and CD-ROMS are based DEVELOPMENT STATEMENT 15 physically on a rotating storage platter (30). This platter may be made of ?exible mylar, such as ?oppy disks, or more rigid This invention Was not developed in conjunction With any platters made of aluminum, glass or plastic, such as hard Federally sponsored contract. disk drives and CD-ROMS. For magnetic media, one or both sides of the platter are coated With a magnetic layer capable MICROFICHE APPENDIX 20 of recording magnetic pulses from a read/Write head. For Not applicable. optical media, data recording is made using changes in re?ectivity of a band of light, Which is then read by a INCORPORATION BY REFERENCE laser-based head. Writable and Re-Writable CD-ROM drives combine the technologies of magnetic disks and optical The related application, Ser. Nos. 09/561,184 and 09/616, 25 disks. In general, though, the organiZation of data on the disk 131, ?led on Apr. 27, 2000, and Jul. 13, 2000, respectively, is similar. The disk surfaces are divided into multiple by Benedict Michael Rafanello, et al, are incorporated concentric rings, or tracks (31). Some disk drives, such as herein by reference in their entireties, including drawings, hard disk drives, consist of multiple platters, in Which case and hereby are made a part of this application. corresponding tracks on each platter are grouped into cyl 30 inders. Each track is divided into multiple sectors (32) in BACKGROUND OF THE INVENTION Which data can be stored. 1. Field of the Invention Turning to FIG. 4, a computer disk drive (41) is repre sented as an ordered collection of sectors numbered 0 This invention relates to the arts of computer disk media, through “n”. The very ?rst sector on the hard drive, sector formatting of computer disks, organiZation of computer 35 Zero, contains the Master Boot Record (“MBR”). The MBR readable media by operating systems and device drivers, and contains partition de?nitions for the rest of the disk. TABLE the management of logical volumes of computer disks. In 1 shoWs a sample partial MBR. particular, this invention relates to improvements to the control of data and boot records stored in logical volumes When the logical volumes comprise multiple layers of aggre TABLE 1 40 gation. Partition Table for 6 GB Drive 2. Description of the Related Art Start End Length Persistent and mass data storage devices for computer Partition (cyl. side, sector) (cyl, side, sector) (sectors) systems, especially those employed in personal computers, ?rst 0, 1, 1 391, 254, 63 6297417 are Well knoWn Within the art. Many are disk-based, such as 45 ?oppy disks, removable hard disk drives (“HDD”), and second 392, 0, 1 783, 254, 63 6297480 compact-disk read only memories (“CD-ROM”). FIG. 1 shoWs a typical personal computer system (1) architecture, For the disk partitioning shoWn in TABLE 1, the MBR is Wherein a CPU (2) interfaces to a variety of I/ O devices such located in the ?rst sector on side 0 at cylinder 0 sector 1. The 50 MBR requires only one sector, but the entire track of 63 Theas a keyboardCPU (2) (3),also monitormay interface or display to a(5) number and a mouseof storage sectors is “blocked” for the use of the MBR, 62 sectors of peripherals including CD-ROM drives (7), hard disk drives side 0 cylinder 0 are left unused. (6), and ?oppy drives Typically, ?oppy disk drives The partition table has entries in it de?ning tWo types of interface to the CPU via Integrated Drive Electronics partitions: primary and extended. Conventional disk format (“IDE”) (8), but this interface may alternately be one of 55 ting schemes alloW only one extended partition (411) to be several other standard interfaces or a proprietary interface. de?ned. P1 (43) and P2 (44) are primary partitions. The The hard disk drives (6) and CD-ROM drives (7) may order and locations of the primary and extended partitions interface to the CPU (2) via an IDE or Small Computer may vary, but invariably there are entries in the partition System Interface (“SCSI”), as shoWn table of the MBR Which de?nes them. FIG. 2 shoWs a generaliZation of the hardWare, ?rmWare 60 The extended partition (411) is de?ned in the partition and softWare organiZation of a personal computer system table in the MBR as a single partition using a single entry in (20). The hardWare group (21) includes the persistent stor the MBR partition table. Basically, this entry in the MBR age devices discussed supra, as Well as other system hard just indicates to the computer operating system that inside of Ware components such as a real-time clock, keyboard this extended partition can be found other partitions and controller, display adapter, etc. Abasic input/output system 65 partition de?nitions. The operating system typically assigns (“BIOS”) (22) provides the direct ?rmWare control of these logical drive letters and/or logical volumes to these system components typically.