WO2014091629A1 - Storage-device management program, and management method for electronic device and storage device - Google Patents

Storage-device management program, and management method for electronic device and storage device Download PDF

Info

Publication number
WO2014091629A1
WO2014091629A1 PCT/JP2012/082560 JP2012082560W WO2014091629A1 WO 2014091629 A1 WO2014091629 A1 WO 2014091629A1 JP 2012082560 W JP2012082560 W JP 2012082560W WO 2014091629 A1 WO2014091629 A1 WO 2014091629A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
hdd
disk
storage
storage device
Prior art date
Application number
PCT/JP2012/082560
Other languages
French (fr)
Japanese (ja)
Inventor
福生 高尾
Original Assignee
富士通株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 富士通株式会社 filed Critical 富士通株式会社
Priority to PCT/JP2012/082560 priority Critical patent/WO2014091629A1/en
Priority to JP2014551825A priority patent/JPWO2014091629A1/en
Publication of WO2014091629A1 publication Critical patent/WO2014091629A1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1262Formatting, e.g. arrangement of data block or words on the record carriers with more than one format/standard, e.g. conversion from CD-audio format to R-DAT format

Definitions

  • the present invention relates to a storage device management program, an electronic device, and a storage device management method.
  • the disclosed technique aims to switch and use areas to which different disk formats are applied in the same storage device.
  • the storage device management program uses a region of the first region to which the first disk format is applied and the second region to which the second disk format is applied, which is included in the storage unit of the storage device. And a region changing step for changing a physical position reference in the storage unit, which is accessed by the control unit of the storage device, based on the selected region.
  • FIG. 1 is a schematic diagram showing an example of a disk configuration of a computer adopting the MBR method.
  • FIG. 2 is a schematic diagram showing an example of a disk configuration of a computer adopting the GPT method.
  • FIG. 3 is a schematic diagram illustrating an example of a disk configuration according to the embodiment.
  • FIG. 4 is a diagram illustrating an example of a hardware configuration of the electronic device according to the embodiment.
  • FIG. 5 is an example of a functional block diagram of the HDD.
  • FIG. 6 is an example of a functional block diagram of the flash ROM.
  • FIG. 7 is a diagram showing an example of a menu screen related to the disk allocation process.
  • FIG. 8 is a diagram illustrating an example of a processing flow of activation processing.
  • FIG. 1 is a schematic diagram showing an example of a disk configuration of a computer adopting the MBR method.
  • FIG. 2 is a schematic diagram showing an example of a disk configuration of a computer adopting the GPT method.
  • FIG. 9 is a diagram illustrating an example of a boot menu.
  • FIG. 10A is a schematic diagram showing the entire HDD.
  • FIG. 10B is a diagram for explaining the HDD whose firmware has been rewritten.
  • FIG. 10C is a diagram for explaining the HDD whose firmware has been rewritten.
  • FIG. 11 is a diagram illustrating an example of a processing flow of activation processing.
  • FIG. 12 is a diagram illustrating an example of a boot menu.
  • FIG. 13 is a diagram illustrating an example of the processing flow of the startup process.
  • FIG. 14 is a diagram illustrating an example of normal disk access processing.
  • FIG. 15 is a diagram illustrating an example of a disk access process according to the embodiment.
  • a method for managing the partition of the HDD for example, a method using a master boot record (MBR) (hereinafter referred to as an MBR method), a GUID partition table (GPT: Globally Unique Identifier) Partition Table ) (Hereinafter referred to as GPT method). If the partition management method is different, the HDD format (disk format) is also different.
  • MBR master boot record
  • GPT Globally Unique Identifier Partition Table
  • FIG. 1 is a schematic diagram showing an example of a disk configuration of a computer adopting the MBR method.
  • the disk configuration of FIG. 1 includes an MBR, a partition table, an OS recovery environment, a reserved area by the system, a system drive in which the OS is installed, and a work drive partitioned for data.
  • the partition table may be included in the MBR.
  • the HDD may not include some of the above-described components such as an OS recovery environment and a work drive.
  • the HDD may include three or more basic areas such as a system drive and a work drive, and may include an extension area in the basic area.
  • the MBR present at the head of the disk is a boot program (for example, IPL (Initial Program Load), boot loader, bootstrap loader) that is read by the BIOS (Basic Input / Output System) or UEFI (Unified Extensible Firmware Interface) after the computer is started. (Hereinafter also referred to as a boot program).
  • the MBR includes a partition table that holds information representing logical partitions of the HDD, and a disk signature.
  • the partition table includes a start flag (active flag) indicating whether to start from the partition, a partition start position and end position in the CHS (Cylinder Head Sector) method, a partition start sector number and a partition Includes information such as capacity.
  • the boot program loads the boot sector of the partition whose activation flag is active in the partition table to the memory, and passes control. Thereafter, the OS is started by chain loading, kernel loading, or the like. That is, a program existing in the boot sector of the corresponding partition loads the OS boot program into the memory, and the OS boot program starts the OS installed in the partition.
  • FIG. 2 shows an example of a disk configuration of a computer adopting the GPT method.
  • the serial numbers assigned to the cylinders, heads, and sectors of the CHS system or the serial numbers assigned to the sectors of the LBA system increase from the left side to the right side.
  • 2 includes an MBR, a first GPT entry, an OS recovery environment, a reserved area by the system, a system drive in which the OS is installed, a work drive partitioned for data, and a second GPT entry. It is out.
  • the HDD may not include some of the above components such as an OS recovery environment and a work drive. Further, there may be two or more system drives or work drives.
  • the MBR existing at the head of the disk includes information indicating that the disk is formatted by the GPT method.
  • the HDD has partition configuration information called a first GPT entry after the MBR.
  • the GPT entry holds a GUID (Globally Unique Identifier) representing each partition.
  • the second GPT entry exists for backup, and when the computer finds inconsistencies in the two GPT entries, it copies the contents of the second GPT entry to the first GPT entry.
  • the UEFI displays a boot menu held in NVRAM (Non Volatile RAM), and the OS boot program of the system partition starts the OS installed in the selected partition.
  • NVRAM Non Volatile RAM
  • the GPT method has an MBR for so-called backward compatibility. This is to prevent an accident in which, for example, the computer cannot recognize the existence of data by the GPT method and the HDD is determined to be unused and the contents are erased.
  • the MBR is not used at startup in the GPT method. In other words, the purpose is not to mix the MBR method and the GPT method in one HDD.
  • the conventional boot method indicates that the entire HDD has a disk format based on one of the partition management methods. It is assumed. Therefore, for example, when a dual boot system is constructed with an OS that supports only one partition management method and an OS that supports only the other partition management method, it can be realized using physically different HDDs. However, it cannot be realized by providing a plurality of areas in one HDD.
  • FIG. 3 shows an example of a disk configuration according to this embodiment.
  • the left end represents the head of the disk, and the serial numbers assigned to the cylinders, heads and sectors of the CHS system or the serial numbers assigned to the sectors of the LBA system increase toward the right side.
  • the disk configuration in FIG. 3 includes a first area and a second area. That is, the disk configuration of FIG. 3 includes the MBR format disk configuration shown in FIG. 1 and the GPT format disk configuration shown in FIG. Therefore, the first area and the second area are different in partition management system and disk format.
  • the disk configuration in FIG. 3 includes an MBR system area and a GPT system area.
  • the MBR area includes an MBR, a partition table, an OS recovery environment, a reserved area by the system, a system drive in which the OS is installed, and a work drive partitioned for data.
  • the GPT area includes an MBR, a first GPT entry, an OS recovery environment, a system reserved area, a system drive in which the OS is installed, a work drive partitioned for data, and a second GPT entry.
  • the partition table may be included in the MBR. In the example of FIG. 3, for convenience, the boundary between the MBR region and the GPT region is indicated by a broken line.
  • the HDD may not include some components such as an OS recovery environment and a work drive. Further, there may be two or more system drives or work drives.
  • the MBR system area and the GPT system area shown in FIG. 3 are switched as two virtual disks (hereinafter also referred to as virtual disks) after the computer is started.
  • the firmware for booting the computer such as BIOS and UEFI, rewrites the firmware of the HDD.
  • the computer can recognize either the MBR system area or the GPT system area (hereinafter also referred to as a virtual disk). In other words, the computer can switch between areas included in the same storage device and to which different disk formats are applied.
  • the computer stores an OS that supports the MBR method and an OS that supports the GPT method in one HDD, and can realize multi-boot. Further, the computer may allocate 2.2 TB or less of the HDD having a capacity exceeding 2.2 TB to the MBR system area, and allocate the rest to the area using another system. Even when the computer wants to use both the HDD having the capacity exceeding 2.2 TB and the MBR system, the capacity of the HDD can be used without waste.
  • a specific hardware configuration and details of processing to be executed will be described.
  • FIG. 4 illustrates an example of a hardware configuration of a computer (also referred to as an electronic device) according to this embodiment.
  • a computer 1 in FIG. 4 is a general PC (Personal Computer), and includes a CPU 11, a north bridge (Chipset (North Bridge)) 12, a graphic board slot (Graphic) 13, a memory slot (Memory) 14, A south bridge (Chipset (South Bridge)) 15, an HDD 16, a flash ROM (Flash ROM) 17, a user I / F (Interface) 18, an NVRAM 19, and a complementary metal oxide semiconductor (CMOS) 20 are included.
  • the north bridge 12 is connected to the CPU 11, the graphic board slot 13, the memory slot 14, and the south bridge 15 by a bus.
  • the south bridge 15 is connected to the north bridge 12, HDD 16, flash ROM 17, user I / F 18, NVRAM 19, and CMOS 20 via a bus.
  • the CPU 11 is connected to each piece of hardware included in the computer 1 via a chipset, and performs processing for operating the BIOS, UEFI, and OS.
  • the north bridge 12 controls the CPU 11, the graphic board connected to the graphic board slot 13, the memory connected to the memory slot 14, and the like.
  • the graphic board slot 13 outputs video to a display or the like via the graphic board.
  • the memory 14 temporarily holds data processed by the CPU 11, for example.
  • the south bridge 15 controls the HDD 16, the flash ROM 17, the user I / F 18, the NVRAM 19, and the CMOS 20.
  • the HDD 16 is a general auxiliary storage device, and includes a disk for storing data (also referred to as a platter), a magnetic head for reading and writing data on the disk, an HDD controller for storing firmware for controlling the operation of the HDD, and the like.
  • the flash ROM 17 stores BIOS or UEFI that performs processing for rewriting the firmware of the HDD in the present embodiment.
  • the BIOS or UEFI is read by the CPU 11 after the computer is started.
  • the user I / F 18 is a port connected to a keyboard, a mouse, and the like, and accepts user operations.
  • the NVRAM 19 is a non-volatile RAM that holds a UEFI boot menu and the like.
  • the CMOS 20 is a storage area that is readable and writable from the BIOS and UEFI, and holds hardware setting information. In the present embodiment, the CMOS 20 also holds virtual disk setting data and information used for rewriting HDD firmware.
  • the hardware configuration as described above is an example, and the south bridge 15 may be further connected to a PCI slot, an optical drive device, a USB port, a LAN port, a sound port, or the like. Further, the CPU 11 or the chip set can also serve as a graphic controller. Further, for example, a hardware configuration in which the CPU 11 and the memory slot 14 are connected by a bus without including a chip set corresponding to the north bridge may be employed.
  • the HDD 16 includes a control unit 161 and a storage unit 162.
  • the controller 161 is an HDD controller, for example, and includes a microcontroller that stores firmware.
  • the storage unit 162 includes a disk (platter) for storing information and a magnetic header for reading and writing information.
  • the control unit 161 controls the magnetic head of the storage unit 162 to read information on the disk and write information on the disk.
  • the firmware of the control unit 161 receives an I / O request to the disk via the OS or driver software, and corresponds to an address included in the request (for example, an offset indicating a relative position from a predetermined reference position). Then, access is made to a physical position (for example, an actual sector) of the storage unit 162 on the disk.
  • the flash ROM 17 holds BIOS or UEFI.
  • the BIOS or UEFI includes an area rewriting unit 171 and a boot processing unit 172.
  • the area rewriting unit 171 accepts selection of a virtual disk to be operated based on a user operation, and updates the firmware stored in the control unit 161 of the HDD 16 according to the selected virtual disk.
  • the boot processing unit 172 performs normal boot processing. That is, the boot processing unit 172 performs chain loading.
  • the CPU 11 causes the computer 1 to function as the area rewriting unit 171 and the boot processing unit 172 by executing BIOS or UEFI that is firmware held in the flash ROM 17.
  • FIG. 7 shows an example of a BIOS or UEFI menu screen for performing disk allocation processing.
  • the screen shown in FIG. 7 is represented by a rectangle that represents the total capacity of the HDD in the length in the horizontal axis direction and an arrow that indicates bidirectional in the horizontal axis direction, and is a partition that divides the HDD into virtual disk 1 and virtual disk 2 A symbol and an “OK” button for determining setting contents are displayed.
  • the user can specify the area to be allocated to each virtual disk, for example, by moving the separator symbol left and right with the mouse. For example, a numerical value indicating the capacity of each virtual disk may be input. Further, the number of virtual disks may be three or more.
  • the CPU 11 causes the CMOS 20 or the NVRAM 19 that is a writable area of the BIOS or the UEFI to hold the setting.
  • the CMOS 20 or the NVRAM 19 holds data indicating the start position and capacity of each region.
  • the HDD is divided into a virtual disk 1 and a virtual disk 2 at a position of 500 GB from the top. Therefore, the start position of the virtual disk 1 is the head of the HDD, the capacity of the virtual disk 1 is 500 GB, the start position of the virtual disk 2 is the position of 500 GB from the head of the HDD, and the virtual disk
  • the information indicating that the capacity of 2 is 1000 GB is held. Further, a signature for specifying the HDD may be held so that the HDD can be specified.
  • an entry that UEFI displays in the startup menu at the time of booting may be recorded in NVRAM. For example, the entry includes a GUID corresponding to the GPT entry of the HDD.
  • Harddisk Signature represents the signature of the HDD.
  • the signature allows the computer to identify the HDD.
  • the HDD may be identified using, for example, DISK0, DISK1,... Using the port number to which the storage device is connected.
  • Start of “VirtualDisk1” and “VirtualDisk2” represents the start position of the virtual disk 1 and virtual disk 2
  • Size represents the capacity.
  • FIG. 8 shows an example of the processing flow of the startup process executed by the BIOS.
  • the BIOS is activated based on a predetermined process (FIG. 8: S1).
  • CPU11 reads BIOS by the existing starting procedure. Specifically, the CPU 11 initializes an internal cache, a register, and the like, reads a predetermined memory address, and reads a BIOS.
  • the BIOS the subject of the operation performed by the CPU 11 based on the BIOS is referred to as the BIOS, the area rewriting unit 171 or the boot processing unit 172.
  • the BIOS boot processing unit 172 initializes the hardware (S2).
  • the BIOS detects, initializes, and sets peripheral devices (graphics, memory, user I / F, HDD, other ports, etc.).
  • the BIOS executes POST (Power On Self ⁇ ⁇ ⁇ Test) to enable the peripheral device.
  • POST Power On Self ⁇ ⁇ ⁇ Test
  • the boot processing unit 172 displays a boot menu on a display or the like connected via the graphic board (S3).
  • the boot menu is a menu that allows the user to select a boot drive that stores a program for starting the system and a device (for example, a CD / DVD / BD drive) that reads a boot medium that stores the program for starting the system. is there.
  • the boot processing unit 172 displays an entry indicating a virtual disk, an optical media drive connected to the computer 1, and the like, which are held in the CMOS 20 in the area setting process described above as options. For example, a boot menu as shown in FIG. 9 is displayed. In the example of FIG. 9, “1.Drive0 HDD: MHZ2160BH virtual HDD1”, “2.Drive0 HDD: MHZ2160BH virtual HDD2”, “3.CD/DVD Drive: DVD-RAM UJ892AS” and “4.NETWORK: The option “GE Slot 00C8 V1363” is displayed.
  • the computer 1 accepts a boot menu selection from the user via the user I / F, and the BIOS boot processing unit 172 determines which option has been selected.
  • the boot processing unit 172 determines whether the virtual disk 1 is selected by the user (S4). If it is determined that the virtual disk 1 is selected (S4: YES), the BIOS area rewriting unit 171 rewrites the control unit 161 of the HDD 16 (S5). Here, the area rewriting unit 171 rewrites the firmware held in the control unit 161 using the virtual disk setting data held in the CMOS 20.
  • the physical position reference when the control unit 161 of the HDD 16 accesses the storage unit 162 is changed. That is, the control unit 161 of the HDD 16 shifts information indicating a physical position reference when accessing the storage unit 162 based on the I / O request.
  • the area rewriting unit 171 may further change information indicating the capacity of the storage unit 162 accessible by the control unit 161.
  • the virtual disk setting data held in the CMOS 20 is data indicating the starting position and capacity of the virtual disk set in advance by the user in the area setting process.
  • FIG. 10A is a schematic diagram showing the entire HDD divided into the virtual disk 1 and the virtual disk 2.
  • a numerical value written outside the rectangle representing the HDD represents the number of bytes from the head of the HDD.
  • the numerical values in FIG. 10A indicate the actual number of physical bytes.
  • FIG. 10B is a diagram for explaining the HDD in which the virtual disk 1 is selected in the boot menu and the firmware is rewritten.
  • the address indicating the start position of the HDD is associated with the physical position indicating the start position of the area to which the virtual disk 1 is allocated.
  • the address 0x0 indicating the start position of the virtual disk 1 is the 0x0 byte in the actual HDD (FIG. 10A). That is, when the virtual disk 1 is selected, the magnitude of shifting the physical access destination is zero.
  • the size of the entire HDD is rewritten to the size of the virtual disk 1.
  • the size of the virtual disk 1 is 0x7C00000000 bytes.
  • the OS recognizes the area allocated to the virtual disk 1 in the actual HDD as the entire HDD.
  • FIG. 10C is a diagram for explaining the HDD in which the virtual disk 2 is selected and the firmware is rewritten.
  • the address indicating the start position of the HDD is associated with the physical address indicating the start position of virtual disk 2 by rewriting the firmware of the HDD.
  • the address 0x0 indicating the start position of the virtual disk 2 is the 0x7D00000000 byte in the actual HDD (FIG. 10A).
  • the HDD control unit 161 accesses the position where the address (offset) specified in the I / O request to the disk is shifted by + 0x7D00000000 bytes.
  • the size of the entire HDD is rewritten to the size of the virtual disk 2.
  • the size of the virtual disk 2 is 0xFA00000000 bytes.
  • the OS recognizes the area allocated to the virtual disk 2 in the actual HDD as the entire HDD.
  • the computer 1 recognizes the HDD again (S6). Thereby, the computer 1 recognizes the virtual disk 1 as the entire HDD. Thereafter, the process proceeds to S10.
  • the boot processing unit 172 determines whether the virtual disk 2 is selected by the user (S7).
  • the area rewriting unit 171 rewrites the control unit 161 of the HDD 16 (S8).
  • S8 the same process as S5 is performed.
  • the physical start position (address) of the HDD and the size of the HDD are changed in the firmware.
  • the computer 1 recognizes the HDD again (S9).
  • the process of S9 is the same as the process of S6. Thereafter, the process proceeds to S10.
  • the computer 1 After S6 or S9, or when it is determined in S7 that the virtual disk 2 has not been selected (S7: NO), the computer 1 starts a normal boot sequence (S10).
  • the OS installed in the virtual disk 1 or the virtual disk 2 is activated by the existing boot sequence.
  • the process proceeds to S10 via an arrow from “S7: NO”, and booting from the optical medium is started according to a normal boot sequence. Is done.
  • FIG. 11 is an example of a processing flow of activation processing executed by the BIOS or UEFI. Note that the processing of S21 to S30 in FIG. 11 is basically the same as the processing of S1 to S10 in FIG.
  • UEFI is different from BIOS in that an entry (also referred to as a boot entry) held in the NVRAM 19 of the computer 1 is displayed on the startup menu.
  • a boot menu as shown in FIG. 12 is displayed on the display or the like.
  • the screen displays “1.Drive0 HDD: MHZ2160BH virtual HDD1”, “2.Drive0 HDD: 2MHZ2160BH virtual HDD2”, “3.CD/DVD Drive: JDVD-RAM ⁇ UJ892AS ”,“ 4.NETWORK: The options “GE Slot 00C8 V1363” and “5. Boot Manager” are displayed.
  • the process proceeds to S31 in FIG. Then, the UEFI boot processing unit 172 executed by the CPU 11 determines whether the user has selected a UEFI boot entry in the boot menu (S31). When it is determined that the UEFI boot entry has been selected (S31: YES), the boot processing unit 172 has the GUID stored in association with the selected boot entry in the GPT entry of any virtual disk. (S32). Here, the boot processing unit 172 reads the GUID stored in association with the entry selected by the user among the boot entries held in the NVRAM 19, and the read GUID is a virtual that employs the GPT method. A search is performed to determine whether the disk exists in the GUID partition table (for example, the first GPT entry in FIG. 3).
  • the process returns to S23 of FIG.
  • the UEFI area rewriting unit 171 rewrites the control unit 161 of the HDD 16 (S33).
  • the area rewriting unit 171 rewrites the firmware held in the control unit 161 of the HDD 16 using the virtual disk setting data held in the NVRAM 19 or the CMOS 20.
  • the virtual disk setting data stored in the NVRAM 19 or the CMOS 20 is data set in advance by the user in the area setting process.
  • the process of S33 is the same as the process described with reference to FIGS. 10A to 10C. That is, the UEFI area rewriting unit 171 identifies the GPT in which the boot entry selected by the user exists, and performs the same processing as S25 or S28 assuming that the virtual disk having the GPT is selected. Thereafter, the computer 1 recognizes the HDD 16 again (S34). This step is the same as the processing of S16, S19, and the like. Thereafter, the processing returns to FIG. 11 through the connector C, and the computer 1 starts a normal boot sequence (S30).
  • each virtual disk has an OS installed in advance
  • the process for installing the OS can also be performed according to the conventional procedure after performing the area selection process as described above.
  • FIG. 14 shows an example of normal disk access processing. That is, FIG. 14 shows an example of using the HDD firmware without rewriting. Note that details of the process may differ depending on the OS, but such a process is an existing one.
  • the application requests data writing by a system call to the OS (kernel) (FIG. 14: S101).
  • the OS system service receives the system call
  • the I / O manager requests the file system driver to write data at the specified offset in the file (S102).
  • the file system driver converts the relative offset of the file into the relative offset of the volume (S103).
  • the I / O manager calls the disk driver and requests data writing to the relative offset of the volume (S104).
  • the disk driver converts the relative offset of the volume into the relative offset of the disk, and requests data writing to the HDD (S105).
  • the HDD converts the relative offset of the disk into a physical position and controls the magnetic head to write data on the platter.
  • the data write request from the application to the OS (FIG. 15: S201) and the data write request from the OS to the HDD (S202 to S205) are the same as S101 to S105 in FIG.
  • the HDD firmware that receives the request converts (shifts) the physical position specified in the data write request in accordance with the virtual disk selected by the user, and controls the magnetic head to perform the converted position on the platter.
  • the data is written in (S206).
  • the virtual disk in the HDD can be switched while processing at the application and OS level is the same as the conventional one. That is, it is possible to manage areas to which different disk formats are applied in the same storage device. That is, in the same storage device, it is possible to switch and use areas having different partition management methods such as the MBR method and the GPT method.
  • an OS that supports a certain partition management method and an OS that supports another partition management method can be stored in different areas of the same storage device.
  • a configuration that can be realized for the first time by using a plurality of storage devices can be realized by a single storage device, there is an effect of downsizing the device and an effect of reducing costs.
  • a storage device having a capacity exceeding the upper limit can be used without waste.
  • each virtual disk is the same as the conventional one, for example, existing software can be used as it is for the software installed at the BIOS level.
  • security software executed at the BIOS level and software that remotely erases data in the storage device can be installed for each virtual disk. Therefore, in combination with the present embodiment, for example, if it is predetermined that a part of a plurality of virtual disks is used for business, only a part of the area can be deleted when the computer is lost. . Further, the OS stored in the other virtual disk can be operated while encryption is enabled for one virtual disk. According to these aspects, the security effect can be enhanced.
  • recovery software that does not operate unless the partition configuration is the same as that at the time of factory shipment may be applied. For example, if the partition configuration by a partition in one virtual disk is not the same as that at the time of shipment from the factory, the operation may not be performed. It may be.
  • the case where there is one physical HDD is shown.
  • a mode in which the above virtual disk is provided in at least one HDD may be used.
  • One HDD can also be provided with three or more virtual disks.
  • ⁇ Computer-readable recording medium> A program for causing a computer or other machine or device (hereinafter, a computer or the like) to realize any of the above functions can be recorded on a recording medium that can be read by the computer or the like.
  • the function can be provided by causing a computer or the like to read and execute the program of the recording medium.
  • a computer-readable recording medium is a recording medium that stores information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from a computer or the like.
  • Examples of such recording media that can be removed from a computer or the like include, for example, a memory such as a flexible disk, a magneto-optical disk, a CD-ROM, a CD-R / W, a DVD, a Blu-ray disc, a DAT, an 8 mm tape, and a flash memory There are cards.
  • a recording medium fixed to a computer or the like there are a hard disk, a ROM (read only memory) and the like.

Abstract

This storage-device management program causes a computer to execute: a step for receiving a region selection from a first region to which a first disk format included in the storage unit of a storage device is applied, and a second region to which a second disk format is applied; and a region-changing step for changing the standard for the physical location in the storage unit accessed by the control unit of the storage device, on the basis of the selected region.

Description

記憶装置の管理プログラム、電子装置及び記憶装置の管理方法Storage device management program, electronic device, and storage device management method
 本発明は、記憶装置の管理プログラム、電子装置及び記憶装置の管理方法に関する。 The present invention relates to a storage device management program, an electronic device, and a storage device management method.
 ユーザが、1つの記憶装置(例えば、ハードディスクドライブ(HDD:Hard Disk Drive))を、論理的な領域であるパーティションに分割し、仮想的な複数の記憶装置として利用できるようにする技術が存在する。また、ユーザが、複数のパーティションの各々に異なるオペレーティングシステム(OS:Operating System,基本ソフト)をインストールしておき、起動するOSを選択できるようにする技術も存在する。 There is a technique that allows a user to divide a single storage device (for example, a hard disk drive (HDD)) into partitions that are logical areas and use it as a plurality of virtual storage devices. . There is also a technology that allows a user to install a different operating system (OS: Operating System, basic software) in each of a plurality of partitions and select an OS to be started.
特開2002-108568号公報JP 2002-108568 A 特開2000-181633号公報JP 2000-181633 A
 ところで、HDDのパーティションを管理する方式(換言すれば、HDDのディスクフォーマット)には、複数の規格がある。しかし、従来の手法では、コンピュータは、同一のHDDにおいて異なるディスクフォーマットが適用された領域を併用、例えば、切り替えて利用することができないという問題があった。 Incidentally, there are a plurality of standards for the method of managing the partition of the HDD (in other words, the disk format of the HDD). However, in the conventional method, there is a problem that the computer cannot use, for example, by switching an area to which a different disk format is applied in the same HDD.
 そこで、開示の技術は、同一の記憶装置において、異なるディスクフォーマットが適用された領域を切り替えて利用できるようにすることを目的とする。 Therefore, the disclosed technique aims to switch and use areas to which different disk formats are applied in the same storage device.
 開示の技術の一側面は、記憶装置の管理プログラムである。記憶装置の管理プログラムは、記憶装置の記憶部に含まれる第1のディスクフォーマットが適用された第1の領域と、第2のディスクフォーマットが適用された第2の領域とのうち、使用する領域の選択を受け付けるステップと、選択された領域に基づいて、記憶装置の制御部がアクセスする、記憶部における物理的な位置の基準を変更する領域変更ステップとをコンピュータに実行させる。 One aspect of the disclosed technology is a storage device management program. The storage device management program uses a region of the first region to which the first disk format is applied and the second region to which the second disk format is applied, which is included in the storage unit of the storage device. And a region changing step for changing a physical position reference in the storage unit, which is accessed by the control unit of the storage device, based on the selected region.
 開示の技術によれば、同一の記憶装置において、異なるディスクフォーマットが適用された領域を切り替えて利用できるようなる。 According to the disclosed technology, it is possible to switch and use areas to which different disk formats are applied in the same storage device.
図1は、MBR方式を採用したコンピュータのディスク構成の一例を表す模式図である。FIG. 1 is a schematic diagram showing an example of a disk configuration of a computer adopting the MBR method. 図2は、GPT方式を採用したコンピュータのディスク構成の一例を表す模式図である。FIG. 2 is a schematic diagram showing an example of a disk configuration of a computer adopting the GPT method. 図3は、実施の形態によるディスク構成の一例を表す模式図である。FIG. 3 is a schematic diagram illustrating an example of a disk configuration according to the embodiment. 図4は、実施の形態に係る電子装置のハードウェア構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a hardware configuration of the electronic device according to the embodiment. 図5は、HDDの機能ブロック図の一例である。FIG. 5 is an example of a functional block diagram of the HDD. 図6は、フラッシュROMの機能ブロック図の一例である。FIG. 6 is an example of a functional block diagram of the flash ROM. 図7は、ディスク割り当て処理に係るメニュー画面の一例を示す図である。FIG. 7 is a diagram showing an example of a menu screen related to the disk allocation process. 図8は、起動処理の処理フローの一例を示す図である。FIG. 8 is a diagram illustrating an example of a processing flow of activation processing. 図9は、ブートメニューの一例を示す図である。FIG. 9 is a diagram illustrating an example of a boot menu. 図10Aは、HDD全体を示す模式的な図である。FIG. 10A is a schematic diagram showing the entire HDD. 図10Bは、ファームウェアが書き換えられたHDDを説明するための図である。FIG. 10B is a diagram for explaining the HDD whose firmware has been rewritten. 図10Cは、ファームウェアが書き換えられたHDDを説明するための図である。FIG. 10C is a diagram for explaining the HDD whose firmware has been rewritten. 図11は、起動処理の処理フローの一例を示す図である。FIG. 11 is a diagram illustrating an example of a processing flow of activation processing. 図12は、ブートメニューの一例を示す図である。FIG. 12 is a diagram illustrating an example of a boot menu. 図13は、起動処理の処理フローの一例を示す図である。FIG. 13 is a diagram illustrating an example of the processing flow of the startup process. 図14は、通常のディスクアクセス処理の一例を示す図である。FIG. 14 is a diagram illustrating an example of normal disk access processing. 図15は、実施の形態に係るディスクアクセス処理の一例を示す図である。FIG. 15 is a diagram illustrating an example of a disk access process according to the embodiment.
 以下、図面を参照して、一実施形態に係る電子装置について説明する。以下の実施形態の構成は例示であり、本電子装置は実施形態の構成には限定されない。 Hereinafter, an electronic device according to an embodiment will be described with reference to the drawings. The configuration of the following embodiment is an exemplification, and the electronic apparatus is not limited to the configuration of the embodiment.
[従来のパーティション管理方式]
 HDDのパーティションを管理する方式には、例えば、マスタブートレコード(MBR:Master Boot Record)を利用する方式(以下、MBR方式と呼ぶ)や、GUIDパーティションテーブル(GPT:GUID(Globally Unique Identifier) Partition Table)を利用する方式(以下、GPT方式と呼ぶ)等がある。そして、パーティション管理方式が異なれば、HDDの形式(ディスクフォーマット)も異なる。 
[Conventional partition management method]
As a method for managing the partition of the HDD, for example, a method using a master boot record (MBR) (hereinafter referred to as an MBR method), a GUID partition table (GPT: Globally Unique Identifier) Partition Table ) (Hereinafter referred to as GPT method). If the partition management method is different, the HDD format (disk format) is also different.
 図1は、MBR方式を採用したコンピュータのディスク構成の一例を表す模式図である。図1の模式図では、左側から右側に向かって、CHS方式のシリンダ、ヘッド及びセクタに振られた通し番号又はLBA(Logical Block Addressing)方式のセクタに振られた通し番号が増加していくものとする。図1のディスク構成は、MBR、パーティションテーブル、OSの回復環境、システムによる予約済み領域、OSがインストールされたシステムドライブ、データ用にパーティション分割されたワークドライブを含んでいる。なお、パーティションテーブルは、MBRに含まれる場合もある。また、HDDは、OSの回復環境やワークドライブ等、上記構成要素の一部を含まない場合もある。また、HDDは、システムドライブやワークドライブのような基本領域を3つ以上含む場合もあり、基本領域の中に拡張領域を含む場合もある。 FIG. 1 is a schematic diagram showing an example of a disk configuration of a computer adopting the MBR method. In the schematic diagram of FIG. 1, it is assumed that the serial numbers assigned to the cylinders, heads, and sectors of the CHS system or the serial numbers assigned to the sectors of the LBA (Logical Block Addressing) system increase from the left side to the right side. . The disk configuration of FIG. 1 includes an MBR, a partition table, an OS recovery environment, a reserved area by the system, a system drive in which the OS is installed, and a work drive partitioned for data. The partition table may be included in the MBR. Further, the HDD may not include some of the above-described components such as an OS recovery environment and a work drive. In addition, the HDD may include three or more basic areas such as a system drive and a work drive, and may include an extension area in the basic area.
 ディスクの先頭に存在するMBRは、BIOS(Basic Input/Output System)又はUEFI(Unified Extensible Firmware Interface)がコンピュータの起動後に読み込むブート用のプログラム(例えば、IPL(Initial Program Load)、ブートローダ、ブートストラップローダとも呼ばれる。以下、ブートプログラムとも呼ぶ)を含む。また、MBRは、HDDの論理的な区画を表す情報を保持するパーティションテーブル、及びディスクのシグネチャを含む。また、パーティションテーブルは、そのパーティションから起動させるか否かを示す起動フラグ(アクティブフラグ)、CHS(Cylinder Head Sector)方式におけるパーティションの開始位置及び終了位置、LBA方式におけるパーティションの開始セクタ番号及びパーティションの容量等の情報を含む。そして、ブートプログラムは、パーティションテーブルにおいて起動フラグがアクティブを示すパーティションのブートセクタをメモリにロードし、制御を渡す。その後、チェインロード、カーネルロード等によりOSが起動される。すなわち、該当するパーティションのブートセクタに存在するプログラムがOS起動プログラムをメモリにロードし、OS起動プログラムが当該パーティションにインストールされたOSを起動させる。 The MBR present at the head of the disk is a boot program (for example, IPL (Initial Program Load), boot loader, bootstrap loader) that is read by the BIOS (Basic Input / Output System) or UEFI (Unified Extensible Firmware Interface) after the computer is started. (Hereinafter also referred to as a boot program). The MBR includes a partition table that holds information representing logical partitions of the HDD, and a disk signature. The partition table includes a start flag (active flag) indicating whether to start from the partition, a partition start position and end position in the CHS (Cylinder Head Sector) method, a partition start sector number and a partition Includes information such as capacity. Then, the boot program loads the boot sector of the partition whose activation flag is active in the partition table to the memory, and passes control. Thereafter, the OS is started by chain loading, kernel loading, or the like. That is, a program existing in the boot sector of the corresponding partition loads the OS boot program into the memory, and the OS boot program starts the OS installed in the partition.
 図2に、GPT方式を採用したコンピュータのディスク構成の一例を示す。図2に示す模式図においても、左側から右側に向かって、CHS方式のシリンダ、ヘッド及びセクタに振られた通し番号、又はLBA方式のセクタに振られた通し番号が増加していく。そして、図2のディスク構成は、MBR、第1GPTエントリ、OSの回復環境、システムによる予約済み領域、OSがインストールされたシステムドライブ、データ用にパーティション分割されたワークドライブ、第二GPTエントリを含んでいる。なお、HDDは、OSの回復環境やワークドライブ等、上記構成要素の一部を含まない場合もある。また、システムドライブ又はワークドライブは、2つ以上含まれる場合もある。 FIG. 2 shows an example of a disk configuration of a computer adopting the GPT method. Also in the schematic diagram shown in FIG. 2, the serial numbers assigned to the cylinders, heads, and sectors of the CHS system or the serial numbers assigned to the sectors of the LBA system increase from the left side to the right side. 2 includes an MBR, a first GPT entry, an OS recovery environment, a reserved area by the system, a system drive in which the OS is installed, a work drive partitioned for data, and a second GPT entry. It is out. Note that the HDD may not include some of the above components such as an OS recovery environment and a work drive. Further, there may be two or more system drives or work drives.
 ディスクの先頭に存在するMBRは、当該ディスクがGPT方式でフォーマットされていることを示す情報を含む。この情報を、MBRを前提としたディスクユーティリティが読み取ることで、例えばディスクユーティリティが当該ディスクを未使用であると判断してしまうような事態が防止される。また、HDDは、MBRの後に、第一GPTエントリと呼ばれる区画構成情報を有する。GPTエントリは、各パーティションを表すGUID(Globally Unique Identifier)を保持している。また、GPTエントリはディスク内に2つ存在する。第二GPTエントリはバックアップのために存在し、コンピュータは2つのGPTエントリに不整合を発見すると、第二GPTエントリの内容を第一GPTエントリにコピーする。GPT方式の場合は、例えば、UEFIがNVRAM(Non Volatile RAM)に保持されているブートメニューを表示し、システムパーティションのOS起動プログラムが、選択されたパーティションにインストールされているOSを起動させる。 The MBR existing at the head of the disk includes information indicating that the disk is formatted by the GPT method. When this information is read by a disk utility based on MBR, for example, a situation where the disk utility determines that the disk is unused is prevented. Further, the HDD has partition configuration information called a first GPT entry after the MBR. The GPT entry holds a GUID (Globally Unique Identifier) representing each partition. There are two GPT entries in the disk. The second GPT entry exists for backup, and when the computer finds inconsistencies in the two GPT entries, it copies the contents of the second GPT entry to the first GPT entry. In the case of the GPT method, for example, the UEFI displays a boot menu held in NVRAM (Non Volatile RAM), and the OS boot program of the system partition starts the OS installed in the selected partition.
[OSによるサポート]
 OSの仕様上、異なるOS(又は同一のOSの異なるバージョン)ではサポートしているパーティション管理方式も相違する場合がある。例えば、Windows(登録商標)では、64ビット版(x64版)のうち特定のバージョン以降は、EFI(Extensible Firmware Interface)を利用してGPT方式のHDDからの起動が可能である。しかし、Windowsの32ビット版(x86版)の場合は、一部のバージョンでGPT方式のパーティションへのアクセスが可能であるが、GPT方式のHDDからの起動はできない。また、UNIX(登録商標)系のOSの場合は、EFIだけでなくBIOSを利用してGPT方式のHDDからの起動が可能なバージョンも存在する。
[Support by OS]
Depending on the OS specifications, different OSs (or different versions of the same OS) may support different partition management methods. For example, in Windows (registered trademark), a specific version or later of a 64-bit version (x64 version) can be booted from a GPT type HDD using an EFI (Extensible Firmware Interface). However, in the case of the 32-bit version (x86 version) of Windows, a GPT type partition can be accessed in some versions, but it cannot be started from a GPT type HDD. In the case of a UNIX (registered trademark) OS, there is a version that can be booted from a GPT-type HDD using BIOS as well as EFI.
 また、上でも説明したように、GPT方式はいわゆる後方互換のためにMBRを有している。これは、例えば、コンピュータがGPT方式によるデータの存在を認識できずに、HDDが未使用であると判断され、内容が消去されてしまうような事故を防ぐためのものである。そして、MBRは、GPT方式では起動時に使用されない。すなわち、MBR方式とGPT方式を1つのHDDに混在させることを目的としたものではなく、規格上、従来のブート手法では、HDD全体が、いずれかのパーティション管理方式に基づくディスクフォーマットであることを前提としている。したがって、例えば、一方のパーティション管理方式しかサポートしていないOSと他方のパーティション管理方式しかサポートしていないOSとでデュアルブートシステムを構築する場合、物理的に異なるHDDを用いて実現することは可能でも、1つのHDDに複数の領域を設けて実現することはできない。 Also, as described above, the GPT method has an MBR for so-called backward compatibility. This is to prevent an accident in which, for example, the computer cannot recognize the existence of data by the GPT method and the HDD is determined to be unused and the contents are erased. The MBR is not used at startup in the GPT method. In other words, the purpose is not to mix the MBR method and the GPT method in one HDD. According to the standard, the conventional boot method indicates that the entire HDD has a disk format based on one of the partition management methods. It is assumed. Therefore, for example, when a dual boot system is constructed with an OS that supports only one partition management method and an OS that supports only the other partition management method, it can be realized using physically different HDDs. However, it cannot be realized by providing a plurality of areas in one HDD.
[MBRのサイズに基づくHDD容量の制限]
 パーティション管理方式には、パーティションテーブルのサイズに起因して、管理することができる記憶容量の上限に差異がある。例えば、2ビットのLBAを用いる場合、MBRで管理できるセクタ数は3232である。例えば一般的なPC/AT互換機のようにセクタ長が512バイトであれば、管理できる容量の上限は約2.2(512*232)TB(Terabyte)になる。よって、物理的には2.2TBを超える容量を有するHDDを用いる場合であっても、MBR方式のディスクフォーマットを採用すると、使用できる容量が2.2TB以下に制限される。このような容量の壁の問題は、MBR方式に限らず存在する。
[Limitation of HDD capacity based on MBR size]
In the partition management system, there is a difference in the upper limit of the storage capacity that can be managed due to the size of the partition table. For example, when using a 2-bit LBA, the number of sectors that can be managed by MBR is 32 32. For example, if the sector length is 512 bytes as in a general PC / AT compatible machine, the upper limit of the capacity that can be managed is about 2.2 (512 * 2 32 ) TB (Terabyte). Therefore, even when an HDD having a capacity exceeding 2.2 TB is physically used, the usable capacity is limited to 2.2 TB or less when the MBR disk format is adopted. The problem of such a capacity wall is not limited to the MBR method.
[本実施の形態による領域管理方式]
 図3に、本実施の形態によるディスク構成の一例を示す。図3でも、左端がディスクの先頭を表し、右側に向かって、CHS方式のシリンダ、ヘッド及びセクタに振られた通し番号、又はLBA方式のセクタに振られた通し番号が増加していくものとする。そして、図3のディスク構成は、第1の領域と第2の領域とを含む。すなわち、図3のディスク構成は、図1に示したMBR方式のディスク構成と、図2に示したGPT方式のディスク構成とを含む。よって、第1の領域と第2の領域とは、パーティション管理方式及びディスクフォーマットが異なっている。
[Area management method according to this embodiment]
FIG. 3 shows an example of a disk configuration according to this embodiment. Also in FIG. 3, the left end represents the head of the disk, and the serial numbers assigned to the cylinders, heads and sectors of the CHS system or the serial numbers assigned to the sectors of the LBA system increase toward the right side. The disk configuration in FIG. 3 includes a first area and a second area. That is, the disk configuration of FIG. 3 includes the MBR format disk configuration shown in FIG. 1 and the GPT format disk configuration shown in FIG. Therefore, the first area and the second area are different in partition management system and disk format.
 具体的には、図3のディスク構成は、MBR方式の領域と、GPT方式の領域とを含む。MBR方式の領域は、MBR、パーティションテーブル、OSの回復環境、システムによる予約済み領域、OSがインストールされたシステムドライブ、及びデータ用にパーティション分割されたワークドライブを含む。GPT方式の領域は、MBR、第1GPTエントリ、OSの回復環境、システムによる予約済み領域、OSがインストールされたシステムドライブ、データ用にパーティション分割されたワークドライブ、及び第二GPTエントリを含む。なお、パーティションテーブルは、MBRに含まれる場合もある。また、図3の例では、便宜上、MBR方式の領域とGPT方式の領域との境界を破線で表している。また、HDDは、OSの回復環境やワークドライブ等、一部の構成要素を含まない場合もある。また、システムドライブ又はワークドライブは、2つ以上含まれる場合もある。 Specifically, the disk configuration in FIG. 3 includes an MBR system area and a GPT system area. The MBR area includes an MBR, a partition table, an OS recovery environment, a reserved area by the system, a system drive in which the OS is installed, and a work drive partitioned for data. The GPT area includes an MBR, a first GPT entry, an OS recovery environment, a system reserved area, a system drive in which the OS is installed, a work drive partitioned for data, and a second GPT entry. The partition table may be included in the MBR. In the example of FIG. 3, for convenience, the boundary between the MBR region and the GPT region is indicated by a broken line. The HDD may not include some components such as an OS recovery environment and a work drive. Further, there may be two or more system drives or work drives.
 本実施の形態では、図3に示したMBR方式の領域とGPT方式の領域とが、仮想的な2つのディスク(以下、仮想ディスクとも呼ぶ)としてコンピュータの起動後に切り替えられる。そして、本実施の形態では、BIOS、UEFI等といった、コンピュータのブート用のファームウェアが、HDDが有するファームウェアを書き換える。HDDのファームウェアを書き換えることで、コンピュータは、MBR方式の領域及びGPT方式の領域(以下、仮想ディスクとも呼ぶ)のいずれかを認識できるようになる。すなわち、コンピュータは、同一の記憶装置に含まれる、異なるディスクフォーマットが適用された領域を切り替えることができるようになる。 In the present embodiment, the MBR system area and the GPT system area shown in FIG. 3 are switched as two virtual disks (hereinafter also referred to as virtual disks) after the computer is started. In this embodiment, the firmware for booting the computer, such as BIOS and UEFI, rewrites the firmware of the HDD. By rewriting the firmware of the HDD, the computer can recognize either the MBR system area or the GPT system area (hereinafter also referred to as a virtual disk). In other words, the computer can switch between areas included in the same storage device and to which different disk formats are applied.
 よって、例えば、コンピュータは、1つのHDDにMBR方式をサポートするOSとGPT方式をサポートするOSとを格納し、マルチブートを実現することができるようになる。また、コンピュータは、2.2TBを超える容量のHDDのうち、2.2TB以下をMBR方式の領域に割り当て、残りを他の方式による領域に割り当てるようにしてもよい。コンピュータは、2.2TBを超える容量のHDDとMBR方式との両者を利用したい場合であっても、HDDの容量を無駄なく利用することができる。以下、具体的なハードウェアの構成及び実行される処理の詳細を説明する。 Therefore, for example, the computer stores an OS that supports the MBR method and an OS that supports the GPT method in one HDD, and can realize multi-boot. Further, the computer may allocate 2.2 TB or less of the HDD having a capacity exceeding 2.2 TB to the MBR system area, and allocate the rest to the area using another system. Even when the computer wants to use both the HDD having the capacity exceeding 2.2 TB and the MBR system, the capacity of the HDD can be used without waste. Hereinafter, a specific hardware configuration and details of processing to be executed will be described.
[本実施の形態のハードウェア構成]
 図4に、本実施の形態に係るコンピュータ(電子装置とも呼ぶ)のハードウェア構成の一例を示す。図4のコンピュータ1は、一般的なPC(Personal Computer)であり、CPU11と、ノースブリッジ(Chipset(North Bridge))12と、グラフィックボードスロット(Graphic)13と、メモリスロット(Memory)14と、サウスブリッジ(Chipset(South Bridge))15と、HDD16と、フラッシュROM(Flash ROM)17と、ユーザI/F(Interface)18と、NVRAM19と、CMOS(Complementary Metal Oxide Semiconductor)20とを含む。そして、ノースブリッジ12は、CPU11、グラフィックボードスロット13、メモリスロット14及びサウスブリッジ15とバスで接続されている。また、サウスブリッジ15は、ノースブリッジ12、HDD16、フラッシュROM17、ユーザI/F18、NVRAM19、及びCMOS20とバスで接続されている。
[Hardware configuration of this embodiment]
FIG. 4 illustrates an example of a hardware configuration of a computer (also referred to as an electronic device) according to this embodiment. A computer 1 in FIG. 4 is a general PC (Personal Computer), and includes a CPU 11, a north bridge (Chipset (North Bridge)) 12, a graphic board slot (Graphic) 13, a memory slot (Memory) 14, A south bridge (Chipset (South Bridge)) 15, an HDD 16, a flash ROM (Flash ROM) 17, a user I / F (Interface) 18, an NVRAM 19, and a complementary metal oxide semiconductor (CMOS) 20 are included. The north bridge 12 is connected to the CPU 11, the graphic board slot 13, the memory slot 14, and the south bridge 15 by a bus. The south bridge 15 is connected to the north bridge 12, HDD 16, flash ROM 17, user I / F 18, NVRAM 19, and CMOS 20 via a bus.
 CPU11は、チップセットを介してコンピュータ1が有するハードウェアの各々と接続され、BIOSやUEFI、OSを稼働させる処理等を行う。ノースブリッジ12は、CPU11、グラフィックボードスロット13に接続されるグラフィックボード、メモリスロット14に接続されるメモリ等を制御する。グラフィックボードスロット13は、グラフィックボードを介してディスプレイ等に映像を出力する。メモリ14は、例えばCPU11が処理するデータを一時的に保持する。 The CPU 11 is connected to each piece of hardware included in the computer 1 via a chipset, and performs processing for operating the BIOS, UEFI, and OS. The north bridge 12 controls the CPU 11, the graphic board connected to the graphic board slot 13, the memory connected to the memory slot 14, and the like. The graphic board slot 13 outputs video to a display or the like via the graphic board. The memory 14 temporarily holds data processed by the CPU 11, for example.
 また、サウスブリッジ15は、HDD16、フラッシュROM17、ユーザI/F18、NVRAM19、及びCMOS20を制御する。HDD16は、一般的な補助記憶装置であり、データを記憶するディスク(プラッタとも呼ぶ)、ディスクにデータを読み書きする磁気ヘッド、HDDの動作を制御するファームウェアを記憶したHDDコントローラ等を有する。フラッシュROM17は、本実施の形態におけるHDDのファームウェアを書き換える処理等を行うBIOS又はUEFIを記憶している。BIOS又はUEFIは、コンピュータの起動後、CPU11によって読み出される。ユーザI/F18は、キーボードやマウス等と接続されるポートであり、ユーザの操作を受け付ける。NVRAM19は、UEFIのブートメニュー等を保持する不揮発性のRAMである。CMOS20は、BIOSやUEFIから読み書き可能な記憶領域であり、ハードウェアの設定情報を保持する。本実施の形態では、CMOS20は、仮想ディスクの設定データや、HDDのファームウェアを書き換えるために用いる情報も保持する。 The south bridge 15 controls the HDD 16, the flash ROM 17, the user I / F 18, the NVRAM 19, and the CMOS 20. The HDD 16 is a general auxiliary storage device, and includes a disk for storing data (also referred to as a platter), a magnetic head for reading and writing data on the disk, an HDD controller for storing firmware for controlling the operation of the HDD, and the like. The flash ROM 17 stores BIOS or UEFI that performs processing for rewriting the firmware of the HDD in the present embodiment. The BIOS or UEFI is read by the CPU 11 after the computer is started. The user I / F 18 is a port connected to a keyboard, a mouse, and the like, and accepts user operations. The NVRAM 19 is a non-volatile RAM that holds a UEFI boot menu and the like. The CMOS 20 is a storage area that is readable and writable from the BIOS and UEFI, and holds hardware setting information. In the present embodiment, the CMOS 20 also holds virtual disk setting data and information used for rewriting HDD firmware.
 以上のようなハードウェア構成は一例であり、サウスブリッジ15が、PCIスロット、光学ドライブ装置、又はUSBポート、LANポート、サウンドポート等とさらに接続されるようにしてもよい。また、CPU11又はチップセットがグラフィックコントローラの役割を兼ねるようにすることもできる。また、例えば、ノースブリッジに相当するチップセットを含まず、CPU11とメモリスロット14とをバスで接続するようなハードウェア構成を採用することもできる。 The hardware configuration as described above is an example, and the south bridge 15 may be further connected to a PCI slot, an optical drive device, a USB port, a LAN port, a sound port, or the like. Further, the CPU 11 or the chip set can also serve as a graphic controller. Further, for example, a hardware configuration in which the CPU 11 and the memory slot 14 are connected by a bus without including a chip set corresponding to the north bridge may be employed.
 次に、図5を用いてHDD16の機能の詳細を説明する。図5に、HDD16の機能ブロック図の一例を示す。HDD16は、制御部161と記憶部162とを有する。制御部161は、例えばHDDコントローラであり、ファームウェアを記憶するマイクロコントローラを含む。また、記憶部162は、情報を記憶するディスク(プラッタ)と、情報を読み書きする磁気ヘッダとを有する。制御部161は、記憶部162の磁気ヘッドを制御し、ディスクの情報を読み出したりディスクに情報を書き込んだりする。また、制御部161のファームウェアは、OSやドライバソフトを介してディスクへのI/O要求を受け、要求に含まれるアドレス(例えば、所定の基準位置からの相対的な位置を表すオフセット)に対応する、記憶部162のディスク上における物理的な位置(例えば、実際のセクタ)に対するアクセスを行う。 Next, details of the functions of the HDD 16 will be described with reference to FIG. FIG. 5 shows an example of a functional block diagram of the HDD 16. The HDD 16 includes a control unit 161 and a storage unit 162. The controller 161 is an HDD controller, for example, and includes a microcontroller that stores firmware. The storage unit 162 includes a disk (platter) for storing information and a magnetic header for reading and writing information. The control unit 161 controls the magnetic head of the storage unit 162 to read information on the disk and write information on the disk. The firmware of the control unit 161 receives an I / O request to the disk via the OS or driver software, and corresponds to an address included in the request (for example, an offset indicating a relative position from a predetermined reference position). Then, access is made to a physical position (for example, an actual sector) of the storage unit 162 on the disk.
 次に、図6を用いてフラッシュROM17の詳細を説明する。図6に示すように、フラッシュROM17には、BIOS又はUEFIが保持されている。そして、BIOS又はUEFIは、領域書換部171とブート処理部172とを有する。領域書換部171は、ユーザの操作に基づいて機動する仮想ディスクの選択を受け付け、選択された仮想ディスクに応じてHDD16の制御部161に記憶されているファームウェアを更新する。ブート処理部172は、通常のブート処理を行う。すなわち、ブート処理部172は、チェインロードを行う。なお、CPU11が、フラッシュROM17に保持されているファームウェアであるBIOS又はUEFIを実行することにより、コンピュータ1を領域書換部171やブート処理部172として機能させる。 Next, details of the flash ROM 17 will be described with reference to FIG. As shown in FIG. 6, the flash ROM 17 holds BIOS or UEFI. The BIOS or UEFI includes an area rewriting unit 171 and a boot processing unit 172. The area rewriting unit 171 accepts selection of a virtual disk to be operated based on a user operation, and updates the firmware stored in the control unit 161 of the HDD 16 according to the selected virtual disk. The boot processing unit 172 performs normal boot processing. That is, the boot processing unit 172 performs chain loading. The CPU 11 causes the computer 1 to function as the area rewriting unit 171 and the boot processing unit 172 by executing BIOS or UEFI that is firmware held in the flash ROM 17.
[領域設定処理]
 次に、ユーザが仮想ディスクの領域を設定する処理を説明する。ユーザは、予め仮想ディスクの有効領域(例えば、開始位置及び容量)を設定しておく。なお、BIOSやUEFI等の機能として、このような設定を行う処理を用意しておけば、ユーザはBIOS又はUEFI等のメニューに基づいて設定処理を行うことができるようになる。
[Area setting processing]
Next, processing for setting the virtual disk area by the user will be described. The user sets the effective area (for example, the start position and capacity) of the virtual disk in advance. If a process for performing such setting is prepared as a function such as BIOS or UEFI, the user can perform the setting process based on a menu such as BIOS or UEFI.
 図7に、ディスク割り当て処理を行うBIOS又はUEFIのメニュー画面の一例を示す。図7に示す画面には、HDDの全容量を横軸方向の長さで表す長方形と、横軸方向の双方向を示す矢印で表され、HDDを仮想ディスク1及び仮想ディスク2に分割する区切記号と、設定内容を決定する「OK」ボタンとが表示されている。ユーザは、例えばマウスで区切記号を左右に移動させ、各仮想ディスクに割り当てる領域を指定することができる。なお、例えば各仮想ディスクの容量を示す数値を入力させるようにしてもよい。また、仮想ディスクの数は3以上であってもよい。 FIG. 7 shows an example of a BIOS or UEFI menu screen for performing disk allocation processing. The screen shown in FIG. 7 is represented by a rectangle that represents the total capacity of the HDD in the length in the horizontal axis direction and an arrow that indicates bidirectional in the horizontal axis direction, and is a partition that divides the HDD into virtual disk 1 and virtual disk 2 A symbol and an “OK” button for determining setting contents are displayed. The user can specify the area to be allocated to each virtual disk, for example, by moving the separator symbol left and right with the mouse. For example, a numerical value indicating the capacity of each virtual disk may be input. Further, the number of virtual disks may be three or more.
 図7の画面において「OK」ボタンが押下されると、CPU11は、BIOS又はUEFIが書き込み可能な領域であるCMOS20又はNVRAM19に設定を保持させる。CMOS20又はNVRAM19は、例えば、各領域の開始位置及び容量を示すデータが保持される。 When the “OK” button is pressed on the screen of FIG. 7, the CPU 11 causes the CMOS 20 or the NVRAM 19 that is a writable area of the BIOS or the UEFI to hold the setting. For example, the CMOS 20 or the NVRAM 19 holds data indicating the start position and capacity of each region.
 図7の例では、HDDは先頭から500GBの位置で、仮想ディスク1及び仮想ディスク2に分割されている。よって、仮想ディスク1の開始位置がHDDの先頭であること、及び仮想ディスク1の容量が500GBであること、並びに仮想ディスク2の開始位置がHDDの先頭から500GBの位置であること、及び仮想ディスク2の容量が1000GBであることを示す情報が保持される。さらに、HDDを特定するためのシグネチャを保持し、HDDを特定できるようにしてもよい。また、UEFIがNVRAMにブート時の起動メニューに表示するエントリを記録しておくようにしてもよい。当該エントリは、例えばHDDのGPTエントリと対応するGUIDを含むようにする。 In the example of FIG. 7, the HDD is divided into a virtual disk 1 and a virtual disk 2 at a position of 500 GB from the top. Therefore, the start position of the virtual disk 1 is the head of the HDD, the capacity of the virtual disk 1 is 500 GB, the start position of the virtual disk 2 is the position of 500 GB from the head of the HDD, and the virtual disk The information indicating that the capacity of 2 is 1000 GB is held. Further, a signature for specifying the HDD may be held so that the HDD can be specified. In addition, an entry that UEFI displays in the startup menu at the time of booting may be recorded in NVRAM. For example, the entry includes a GUID corresponding to the GPT entry of the HDD.
 より具体的には、例えば、以下のような情報が保持される。
<仮想ディスクの設定データ例>
Harddisk Signature:5289EC1F
VirtualDisk1 Start:0x000000000000 Size:0x007CFFFFFFFF
VirtualDisk2 Start:0x007d00000000 Size:0x00F9FFFFFFFF
More specifically, for example, the following information is held.
<Example of virtual disk configuration data>
Harddisk Signature: 5289EC1F
VirtualDisk1 Start: 0x000000000000 Size: 0x007CFFFFFFFF
VirtualDisk2 Start: 0x007d00000000 Size: 0x00F9FFFFFFFF
 「Harddisk Signature」は、HDDのシグネチャを表している。シグネチャにより、コンピュータは、HDDを特定することができる。なお、記憶装置が接続されているポートの番号を用いて、例えばDISK0,DISK1・・・のようにHDDを識別できるようにしてもよい。また、「VirtualDisk1」及び「VirtualDisk2」の「Start」は、仮想ディスク1及び仮想ディスク2の開始位置を表しており、「Size」は容量を表している。 “Harddisk Signature” represents the signature of the HDD. The signature allows the computer to identify the HDD. Note that the HDD may be identified using, for example, DISK0, DISK1,... Using the port number to which the storage device is connected. Further, “Start” of “VirtualDisk1” and “VirtualDisk2” represents the start position of the virtual disk 1 and virtual disk 2, and “Size” represents the capacity.
[領域選択処理の実施例1]
 次に、本実施の形態におけるコンピュータ1の起動処理について説明する。図8に、BIOSが実行する起動処理の処理フローの一例を示す。まず、例えばユーザによってコンピュータ1の電源が投入されると、所定の処理に基づいてBIOSが起動される(図8:S1)。ここでは、既存の起動手順により、CPU11がBIOSを読み込む。具体的には、CPU11は、内部のキャッシュやレジスタ等の初期化を行い、所定のメモリアドレスを読み出し、BIOSを読み込む。以下、BIOSに基づいてCPU11が行う動作の主体を、BIOS又は領域書換部171若しくはブート処理部172と表す。
[Example 1 of Region Selection Processing]
Next, the startup process of the computer 1 in the present embodiment will be described. FIG. 8 shows an example of the processing flow of the startup process executed by the BIOS. First, for example, when the computer 1 is turned on by a user, the BIOS is activated based on a predetermined process (FIG. 8: S1). Here, CPU11 reads BIOS by the existing starting procedure. Specifically, the CPU 11 initializes an internal cache, a register, and the like, reads a predetermined memory address, and reads a BIOS. Hereinafter, the subject of the operation performed by the CPU 11 based on the BIOS is referred to as the BIOS, the area rewriting unit 171 or the boot processing unit 172.
 そして、BIOSのブート処理部172は、ハードウェアを初期化する(S2)。本ステップでは、例えばBIOSが周辺機器(グラフィック、メモリ、ユーザI/F、HDD、その他のポート等)の検出、初期化及び設定を行う。具体的には、BIOSがPOST(Power On Self Test)を実行し、周辺機器を使用可能にする。 Then, the BIOS boot processing unit 172 initializes the hardware (S2). In this step, for example, the BIOS detects, initializes, and sets peripheral devices (graphics, memory, user I / F, HDD, other ports, etc.). Specifically, the BIOS executes POST (Power On Self に す る Test) to enable the peripheral device.
 そして、ブート処理部172は、グラフィックボードを介して接続されたディスプレイ等にブートメニューを表示する(S3)。なお、ブートメニューとは、システムを起動させるプログラムを格納した起動ドライブや、システムを起動させるプログラムを格納したブートメディアを読み出す装置(例えば、CD/DVD/BDドライブ等)をユーザに選択させるメニューである。 Then, the boot processing unit 172 displays a boot menu on a display or the like connected via the graphic board (S3). The boot menu is a menu that allows the user to select a boot drive that stores a program for starting the system and a device (for example, a CD / DVD / BD drive) that reads a boot medium that stores the program for starting the system. is there.
 ここでは、ブート処理部172は、上で説明した領域設定処理においてCMOS20に保持した、仮想ディスクを示すエントリや、コンピュータ1に接続されている光学メディアドライブ等を選択肢として表示する。例えば、図9に示すようなブートメニューが表示される。図9の例では、画面に、「1.Drive0 HDD: MHZ2160BH 仮想HDD1」、「2.Drive0 HDD: MHZ2160BH 仮想HDD2」、「3.CD/DVD Drive: DVD-RAM UJ892AS」及び「4.NETWORK: GE Slot 00C8 V1363」という選択肢が表示されている。 Here, the boot processing unit 172 displays an entry indicating a virtual disk, an optical media drive connected to the computer 1, and the like, which are held in the CMOS 20 in the area setting process described above as options. For example, a boot menu as shown in FIG. 9 is displayed. In the example of FIG. 9, “1.Drive0 HDD: MHZ2160BH virtual HDD1”, “2.Drive0 HDD: MHZ2160BH virtual HDD2”, “3.CD/DVD Drive: DVD-RAM UJ892AS” and “4.NETWORK: The option “GE Slot 00C8 V1363” is displayed.
 その後、コンピュータ1は、ユーザI/Fを介してユーザからブートメニューの選択を受け付け、BIOSのブート処理部172は、いずれの選択肢が選択されたか判断する。まず、ブート処理部172は、ユーザにより仮想ディスク1が選択されたか判断する(S4)。そして、仮想ディスク1が選択されたと判断された場合(S4:YES)、BIOSの領域書換部171はHDD16の制御部161を書き換える(S5)。ここでは、領域書換部171が、CMOS20に保持されている仮想ディスクの設定データを用いて、制御部161に保持されているファームウェアを書き換える。 Thereafter, the computer 1 accepts a boot menu selection from the user via the user I / F, and the BIOS boot processing unit 172 determines which option has been selected. First, the boot processing unit 172 determines whether the virtual disk 1 is selected by the user (S4). If it is determined that the virtual disk 1 is selected (S4: YES), the BIOS area rewriting unit 171 rewrites the control unit 161 of the HDD 16 (S5). Here, the area rewriting unit 171 rewrites the firmware held in the control unit 161 using the virtual disk setting data held in the CMOS 20.
 具体的には、HDD16の制御部161が記憶部162にアクセスする際の、物理的な位置の基準を変更する。すなわち、HDD16の制御部161がI/O要求に基づいて記憶部162にアクセスする際の、物理的な位置の基準を示す情報をシフトさせる。また、領域書換部171は、制御部161がアクセス可能な記憶部162の容量を示す情報をさらに変更するようにしてもよい。なお、CMOS20に保持されている仮想ディスクの設定データとは、領域設定処理において予めユーザが設定した、仮想ディスクの開始位置及び容量を示すデータである。 Specifically, the physical position reference when the control unit 161 of the HDD 16 accesses the storage unit 162 is changed. That is, the control unit 161 of the HDD 16 shifts information indicating a physical position reference when accessing the storage unit 162 based on the I / O request. The area rewriting unit 171 may further change information indicating the capacity of the storage unit 162 accessible by the control unit 161. The virtual disk setting data held in the CMOS 20 is data indicating the starting position and capacity of the virtual disk set in advance by the user in the area setting process.
 ここで、図10A~図10Cを用いて、HDDのファームウェアを書き換え、アドレスに対応する実際の物理的なアクセス先をシフトさせる処理について説明する。図10Aは、仮想ディスク1及び仮想ディスク2に分割されたHDD全体を示す模式的な図である。HDDを表す長方形の外側に記載された数値は、HDDの先頭からのバイト数を表している。図10Aの数値は、実際の物理的なバイト数を示している。 Here, a process of rewriting the HDD firmware and shifting the actual physical access destination corresponding to the address will be described with reference to FIGS. 10A to 10C. FIG. 10A is a schematic diagram showing the entire HDD divided into the virtual disk 1 and the virtual disk 2. A numerical value written outside the rectangle representing the HDD represents the number of bytes from the head of the HDD. The numerical values in FIG. 10A indicate the actual number of physical bytes.
 図10Bは、ブートメニューにおいて仮想ディスク1が選択され、ファームウェアが書き換えられたHDDを説明するための図である。仮想ディスク1が選択された場合、HDDのファームウェアを書き換えることにより、HDDの開始位置を示すアドレスは、仮想ディスク1が割り当てられた領域の開始位置を示す物理的な位置と対応付けられる。図10Bの例では、仮想ディスク1の開始位置を示すアドレス0x0は、実際のHDD(図10A)における0x0バイト目である。すなわち、仮想ディスク1が選択された場合に、物理的なアクセス先をシフトさせる大きさは0である。 FIG. 10B is a diagram for explaining the HDD in which the virtual disk 1 is selected in the boot menu and the firmware is rewritten. When the virtual disk 1 is selected, by rewriting the firmware of the HDD, the address indicating the start position of the HDD is associated with the physical position indicating the start position of the area to which the virtual disk 1 is allocated. In the example of FIG. 10B, the address 0x0 indicating the start position of the virtual disk 1 is the 0x0 byte in the actual HDD (FIG. 10A). That is, when the virtual disk 1 is selected, the magnitude of shifting the physical access destination is zero.
 また、HDD全体のサイズは、仮想ディスク1のサイズに書き換えられる。図10Bの例では、仮想ディスク1のサイズは0x7C00000000バイトである。以上のように、ファームウェアを書き換えることで、OSは、実際のHDDのうち仮想ディスク1に割り当てられた領域を、HDDの全体であると認識するようになる。 Also, the size of the entire HDD is rewritten to the size of the virtual disk 1. In the example of FIG. 10B, the size of the virtual disk 1 is 0x7C00000000 bytes. As described above, by rewriting the firmware, the OS recognizes the area allocated to the virtual disk 1 in the actual HDD as the entire HDD.
 図10Cは、仮想ディスク2が選択され、ファームウェアが書き換えられたHDDを説明するための図である。仮想ディスク2が選択された場合、HDDのファームウェアを書き換えることにより、HDDの開始位置を示すアドレスは、仮想ディスク2の開始位置を示す物理的なアドレスと対応付けられる。図10Cの例では、仮想ディスク2の開始位置を示すアドレス0x0は、実際のHDD(図10A)における0x7D00000000バイト目である。すなわち、HDDのファームウェアを書き換えることにより、HDDの制御部161は、ディスクへのI/O要求において指定されたアドレス(オフセット)を+0x7D00000000バイトだけシフトさせた位置にアクセスするようになる。 FIG. 10C is a diagram for explaining the HDD in which the virtual disk 2 is selected and the firmware is rewritten. When virtual disk 2 is selected, the address indicating the start position of the HDD is associated with the physical address indicating the start position of virtual disk 2 by rewriting the firmware of the HDD. In the example of FIG. 10C, the address 0x0 indicating the start position of the virtual disk 2 is the 0x7D00000000 byte in the actual HDD (FIG. 10A). In other words, by rewriting the firmware of the HDD, the HDD control unit 161 accesses the position where the address (offset) specified in the I / O request to the disk is shifted by + 0x7D00000000 bytes.
 また、HDD全体のサイズは、仮想ディスク2のサイズに書き換えられる。図10Cの例では、仮想ディスク2のサイズは0xFA00000000バイトである。以上のように、ファームウェアを書き換えることで、OSは、実際のHDDのうち仮想ディスク2に割り当てられた領域を、HDDの全体であると認識するようになる。 Also, the size of the entire HDD is rewritten to the size of the virtual disk 2. In the example of FIG. 10C, the size of the virtual disk 2 is 0xFA00000000 bytes. As described above, by rewriting the firmware, the OS recognizes the area allocated to the virtual disk 2 in the actual HDD as the entire HDD.
 図8の説明に戻り、BIOSの領域書換部171がHDD16の制御部161を書き換えた後、コンピュータ1はHDDの再認識を行う(S6)。これにより、コンピュータ1は、仮想ディスク1をHDDの全体であるものと認識する。その後、処理はS10へ遷移する。 Returning to the description of FIG. 8, after the BIOS area rewriting unit 171 rewrites the control unit 161 of the HDD 16, the computer 1 recognizes the HDD again (S6). Thereby, the computer 1 recognizes the virtual disk 1 as the entire HDD. Thereafter, the process proceeds to S10.
 一方、S4において仮想ディスク1が選択されていないと判断された場合(S4:NO)、ブート処理部172は、ユーザによって仮想ディスク2が選択されたか判断する(S7)。そして、仮想ディスク2が選択されたと判断された場合(S7:YES)、領域書換部171はHDD16の制御部161を書き換える(S8)。S8では、S5と同様の処理が行われる。なお、図10Cに示したように、ファームウェアにおいて、HDDの物理的な開始位置(アドレス)及びHDDのサイズが変更される。その後、コンピュータ1はHDDの再認識を行う(S9)。S9の処理も、S6の処理と同様である。その後、処理はS10へ遷移する。 On the other hand, when it is determined in S4 that the virtual disk 1 is not selected (S4: NO), the boot processing unit 172 determines whether the virtual disk 2 is selected by the user (S7). When it is determined that the virtual disk 2 is selected (S7: YES), the area rewriting unit 171 rewrites the control unit 161 of the HDD 16 (S8). In S8, the same process as S5 is performed. As shown in FIG. 10C, the physical start position (address) of the HDD and the size of the HDD are changed in the firmware. Thereafter, the computer 1 recognizes the HDD again (S9). The process of S9 is the same as the process of S6. Thereafter, the process proceeds to S10.
 S6若しくはS9の後、又はS7において仮想ディスク2が選択されていないと判断された場合(S7:NO)、コンピュータ1は通常のブートシーケンスを開始する(S10)。ここでは、既存のブートシーケンスにより、例えば、仮想ディスク1又は仮想ディスク2にインストールされたOSが起動される。また、例えば、ユーザがブートメニューにおいて光学ドライブからの起動を選択した場合は、処理は「S7:NO」からの矢印を介してS10に遷移し、通常のブートシーケンスに従って光学メディアからのブートが開始される。 After S6 or S9, or when it is determined in S7 that the virtual disk 2 has not been selected (S7: NO), the computer 1 starts a normal boot sequence (S10). Here, for example, the OS installed in the virtual disk 1 or the virtual disk 2 is activated by the existing boot sequence. For example, when the user selects activation from the optical drive in the boot menu, the process proceeds to S10 via an arrow from “S7: NO”, and booting from the optical medium is started according to a normal boot sequence. Is done.
[領域選択処理の実施例2]
 図8では、BIOSによる起動について説明したが、UEFIを含む処理について、図11~13を用いて説明する。図11は、BIOS又はUEFIが実行する起動処理の処理フローの一例である。なお、図11のS21~S30の処理は、基本的に図8のS1~S10の処理と同様であるため説明を省略する。
[Example 2 of area selection processing]
Although the activation by the BIOS has been described in FIG. 8, processing including UEFI will be described with reference to FIGS. FIG. 11 is an example of a processing flow of activation processing executed by the BIOS or UEFI. Note that the processing of S21 to S30 in FIG. 11 is basically the same as the processing of S1 to S10 in FIG.
 UEFIは、コンピュータ1のNVRAM19に保持されているエントリ(ブートエントリとも呼ぶ)が起動メニューに表示する点で、BIOSとは異なる。S23では、例えば図12に示すようなブートメニューがディスプレイ等に表示される。図12の例では、画面に、「1.Drive0 HDD: MHZ2160BH 仮想HDD1」、「2.Drive0 HDD: MHZ2160BH 仮想HDD2」、「3.CD/DVD Drive: DVD-RAM UJ892AS」、「4.NETWORK: GE Slot 00C8 V1363」及び「5. Boot Manager」という選択肢が表示されている。 UEFI is different from BIOS in that an entry (also referred to as a boot entry) held in the NVRAM 19 of the computer 1 is displayed on the startup menu. In S23, for example, a boot menu as shown in FIG. 12 is displayed on the display or the like. In the example of FIG. 12, the screen displays “1.Drive0 HDD: MHZ2160BH virtual HDD1”, “2.Drive0 HDD: 2MHZ2160BH virtual HDD2”, “3.CD/DVD Drive: JDVD-RAM」 UJ892AS ”,“ 4.NETWORK: The options “GE Slot 00C8 V1363” and “5. Boot Manager” are displayed.
 また、S27において仮想ディスク2が選択されていないと判断された場合(S27:NO)、処理は接続子Aを介して図13のS31に遷移する。そして、CPU11に実行されるUEFIのブート処理部172は、ユーザがブートメニューにおいてUEFIのブートエントリを選択したか判断する(S31)。UEFIのブートエントリが選択されたと判断された場合(S31:YES)、ブート処理部172は選択されたブートエントリに関連付けて記憶されているGUIDが、いずれかの仮想ディスクが有するGPTエントリに存在するか判断する(S32)。ここでは、ブート処理部172は、NVRAM19に保持されているブートエントリのうちユーザに選択されたエントリに関連付けて記憶されているGUIDを読み出し、読み出されたGUIDが、GPT方式が採用された仮想ディスクのGUIDパーティションテーブル(例えば、図3の第1GPTエントリ)に存在するか検索する。 If it is determined in S27 that the virtual disk 2 is not selected (S27: NO), the process proceeds to S31 in FIG. Then, the UEFI boot processing unit 172 executed by the CPU 11 determines whether the user has selected a UEFI boot entry in the boot menu (S31). When it is determined that the UEFI boot entry has been selected (S31: YES), the boot processing unit 172 has the GUID stored in association with the selected boot entry in the GPT entry of any virtual disk. (S32). Here, the boot processing unit 172 reads the GUID stored in association with the entry selected by the user among the boot entries held in the NVRAM 19, and the read GUID is a virtual that employs the GPT method. A search is performed to determine whether the disk exists in the GUID partition table (for example, the first GPT entry in FIG. 3).
 該当するGUIDが存在しないと判断された場合(S32:NO)、処理は接続子Bを介して図11のS23に戻る。一方、該当するGUIDがGPTエントリに存在すると判断された場合(S32:YES)、UEFIの領域書換部171はHDD16の制御部161を書き換える(S33)。ここでは、領域書換部171が、NVRAM19又はCMOS20に保持されている仮想ディスクの設定データを用いて、HDD16の制御部161に保持されているファームウェアを書き換える。具体的には、HDD16へのI/O要求に対して、制御部161が実際にアクセスする物理的な位置をシフトさせる。なお、NVRAM19又はCMOS20に保持されている仮想ディスクの設定データとは、領域設定処理において予めユーザが設定したデータである。 If it is determined that the corresponding GUID does not exist (S32: NO), the process returns to S23 of FIG. On the other hand, when it is determined that the corresponding GUID exists in the GPT entry (S32: YES), the UEFI area rewriting unit 171 rewrites the control unit 161 of the HDD 16 (S33). Here, the area rewriting unit 171 rewrites the firmware held in the control unit 161 of the HDD 16 using the virtual disk setting data held in the NVRAM 19 or the CMOS 20. Specifically, in response to an I / O request to the HDD 16, the physical position where the control unit 161 actually accesses is shifted. The virtual disk setting data stored in the NVRAM 19 or the CMOS 20 is data set in advance by the user in the area setting process.
 S33の処理は、図10A~図10Cを用いて説明した処理と同様である。すなわち、UEFIの領域書換部171は、ユーザによって選択されたブートエントリが存在するGPTを特定し、当該GPTを有する仮想ディスクが選択されたものとして、S25又はS28と同様の処理を行う。その後、コンピュータ1はHDD16の再認識を行う(S34)。本ステップは、S16やS19等の処理と同様である。その後、処理は接続子Cを介して図11に戻り、コンピュータ1は通常のブートシーケンスを開始する(S30)。 The process of S33 is the same as the process described with reference to FIGS. 10A to 10C. That is, the UEFI area rewriting unit 171 identifies the GPT in which the boot entry selected by the user exists, and performs the same processing as S25 or S28 assuming that the virtual disk having the GPT is selected. Thereafter, the computer 1 recognizes the HDD 16 again (S34). This step is the same as the processing of S16, S19, and the like. Thereafter, the processing returns to FIG. 11 through the connector C, and the computer 1 starts a normal boot sequence (S30).
 なお、各仮想ディスクには予めOSがインストールされているものとして説明したが、OSをインストールする処理についても、上記のような領域選択処理を行った後、従来の手順に従って行うことができる。 Although it has been described that each virtual disk has an OS installed in advance, the process for installing the OS can also be performed according to the conventional procedure after performing the area selection process as described above.
[OS起動後のディスクアクセス]
 次に、OS上で起動するアプリケーションがHDDへファイルを書き込む処理について説明する。まず、図14に、通常のディスクアクセス処理の一例を示す。すなわち、図14は、HDDのファームウェアを書き換えることなく使用する場合の例である。なお、OSにより処理の詳細は異なる場合があるが、このような処理は既存のものである。
[Disk access after OS startup]
Next, processing for writing a file to the HDD by an application started on the OS will be described. First, FIG. 14 shows an example of normal disk access processing. That is, FIG. 14 shows an example of using the HDD firmware without rewriting. Note that details of the process may differ depending on the OS, but such a process is an existing one.
 まず、アプリケーションが、OS(カーネル)へのシステムコールにより、データの書き込みを要求する(図14:S101)。そして、OSのシステムサービスがシステムコールを受け取ると、I/Oマネージャがファイルシステムドライバに、ファイル内の指定されたオフセットへのデータの書き込みを要求する(S102)。そして、ファイルシステムドライバは、ファイルの相対オフセットをボリュームの相対オフセットに変換する(S103)。また、I/Oマネージャはディスクドライバを呼び出し、ボリュームの相対オフセットへのデータ書き込みを要求する(S104)。ディスクドライバは、ボリュームの相対オフセットをディスクの相対オフセットに変換し、HDDへデータ書き込みを要求する(S105)。そして、HDDは、ディスクの相対オフセットを物理的な位置に変換し、磁気ヘッドを制御してプラッタ上にデータを書き込む。 First, the application requests data writing by a system call to the OS (kernel) (FIG. 14: S101). When the OS system service receives the system call, the I / O manager requests the file system driver to write data at the specified offset in the file (S102). Then, the file system driver converts the relative offset of the file into the relative offset of the volume (S103). Also, the I / O manager calls the disk driver and requests data writing to the relative offset of the volume (S104). The disk driver converts the relative offset of the volume into the relative offset of the disk, and requests data writing to the HDD (S105). Then, the HDD converts the relative offset of the disk into a physical position and controls the magnetic head to write data on the platter.
 次に、本実施の形態における領域選択処理を行った後のディスクアクセスについて、図15を用いて説明する。図15に示す処理のうち、アプリケーションからOSへのデータ書き込み要求(図15:S201)、及びOSからHDDへのデータ書き込み要求(S202~S205)は、図14のS101~S105と同様である。そして、要求を受けたHDDのファームウェアは、ユーザによって選択された仮想ディスクに応じてデータ書き込み要求で指定された物理位置を変換(シフト)し、磁気ヘッドを制御してプラッタ上の変換後の位置にデータを書き込む(S206)。図14及び図15からわかるように、本実施の形態によれば、アプリケーション及びOSレベルの処理は従来通りのまま、HDD内の仮想ディスクを切り替えることができる。すなわち、同一の記憶装置において、異なるディスクフォーマットが適用された領域を管理することができるようになっている。すなわち、同一の記憶装置において、MBR方式やGPT方式のようにパーティションを管理する方式が異なる領域を切り替えて使用することができる。 Next, disk access after performing the area selection processing in the present embodiment will be described with reference to FIG. In the processing shown in FIG. 15, the data write request from the application to the OS (FIG. 15: S201) and the data write request from the OS to the HDD (S202 to S205) are the same as S101 to S105 in FIG. The HDD firmware that receives the request converts (shifts) the physical position specified in the data write request in accordance with the virtual disk selected by the user, and controls the magnetic head to perform the converted position on the platter. The data is written in (S206). As can be seen from FIGS. 14 and 15, according to the present embodiment, the virtual disk in the HDD can be switched while processing at the application and OS level is the same as the conventional one. That is, it is possible to manage areas to which different disk formats are applied in the same storage device. That is, in the same storage device, it is possible to switch and use areas having different partition management methods such as the MBR method and the GPT method.
 また、あるパーティション管理方式をサポートするOSと、他のパーティション管理方式をサポートするOSとを、同一の記憶装置の異なる領域にそれぞれ格納することができるようになる。すなわち、従来は複数の記憶装置を用いることで初めて実現できるような構成を、1つの記憶装置によって実現することができるため、装置を小型化させる効果や、コストを低減させる効果がある。 Also, an OS that supports a certain partition management method and an OS that supports another partition management method can be stored in different areas of the same storage device. In other words, since a configuration that can be realized for the first time by using a plurality of storage devices can be realized by a single storage device, there is an effect of downsizing the device and an effect of reducing costs.
 また、例えばMBR方式では2.2TBを超えるサイズの記憶領域を管理できないように、あるパーティション管理方式では扱うことのできる記憶領域の容量に上限があるような場合でも、上限を超える容量の記憶装置のうち、上限以内の領域をあるパーティション管理方式による仮想ディスクに割り当て、残りの領域を他のパーティション管理方式による仮想ディスクに割り当てれば、上限を超える容量の記憶装置を無駄なく利用することができる。 Further, for example, even when there is an upper limit on the capacity of a storage area that can be handled by a certain partition management system so that a storage area of a size exceeding 2.2 TB cannot be managed by the MBR system, a storage device having a capacity exceeding the upper limit Of these, if an area within the upper limit is allocated to a virtual disk using a partition management method and the remaining area is allocated to a virtual disk using another partition management method, a storage device with a capacity exceeding the upper limit can be used without waste. .
 また、各仮想ディスク内の構成は従来どおりであるため、例えばBIOSレベルで実装するソフトウェアについては既存のものがそのまま利用できる。例えば、BIOSレベルで実行されるセキュリティソフトウェアや、リモートで記憶装置のデータを消去するようなソフトウェアを、仮想ディスクごとに実装することができる。よって、本実施の形態と組み合わせることにより、例えば複数の仮想ディスクのうち一部を業務で使用するように予め定めておけば、コンピュータの紛失時には一部の領域のみ削除することができるようになる。また、一方の仮想ディスクについては暗号化を有効にしたまま、他方の仮想ディスクに格納されているOSを稼動させることもできる。これらの態様によれば、セキュリティ効果を高めることができる。 Also, since the configuration in each virtual disk is the same as the conventional one, for example, existing software can be used as it is for the software installed at the BIOS level. For example, security software executed at the BIOS level and software that remotely erases data in the storage device can be installed for each virtual disk. Therefore, in combination with the present embodiment, for example, if it is predetermined that a part of a plurality of virtual disks is used for business, only a part of the area can be deleted when the computer is lost. . Further, the OS stored in the other virtual disk can be operated while encryption is enabled for one virtual disk. According to these aspects, the security effect can be enhanced.
 また、ユーザデータの誤消去を防止するために、工場出荷時と同様の区画構成でなければ動作しないようなリカバリソフトウェアを適用するようにしてもよい。例えば、一方の仮想ディスク内のパーティションによる区画構成が工場出荷時と同様でなければ動作しないようにしてもよいし、HDD内の仮想ディスクによる区画構成が工場出荷時と同様でなければ動作しないようにしてもよい。 Also, in order to prevent erroneous deletion of user data, recovery software that does not operate unless the partition configuration is the same as that at the time of factory shipment may be applied. For example, if the partition configuration by a partition in one virtual disk is not the same as that at the time of shipment from the factory, the operation may not be performed. It may be.
 なお、実施の形態では物理的なHDDが1つの場合を示したが、複数のHDDを有する電子装置において、少なくとも1つのHDDに上記のような仮想ディスクを設ける態様であってもよい。また、1つのHDDに、3つ以上の仮想ディスクを設けることもできる。 In the embodiment, the case where there is one physical HDD is shown. However, in an electronic apparatus having a plurality of HDDs, a mode in which the above virtual disk is provided in at least one HDD may be used. One HDD can also be provided with three or more virtual disks.
<コンピュータが読み取り可能な記録媒体>
 コンピュータその他の機械、装置(以下、コンピュータ等)に上記いずれかの機能を実現させるプログラムをコンピュータ等が読み取り可能な記録媒体に記録することができる。そして、コンピュータ等に、この記録媒体のプログラムを読み込ませて実行させることにより、その機能を提供させることができる。ここで、コンピュータ等が読み取り可能な記録媒体とは、データやプログラム等の情報を電気的、磁気的、光学的、機械的、または化学的作用によって蓄積し、コンピュータ等から読み取ることができる記録媒体をいう。このような記録媒体のうちコンピュータ等から取り外し可能なものとしては、例えばフレキシブルディスク、光磁気ディスク、CD-ROM、CD-R/W、DVD、ブルーレイディスク、DAT、8mmテープ、フラッシュメモリなどのメモリカード等がある。また、コンピュータ等に固定された記録媒体としてハードディスクやROM(リードオンリーメモリ)等がある。
<Computer-readable recording medium>
A program for causing a computer or other machine or device (hereinafter, a computer or the like) to realize any of the above functions can be recorded on a recording medium that can be read by the computer or the like. The function can be provided by causing a computer or the like to read and execute the program of the recording medium. Here, a computer-readable recording medium is a recording medium that stores information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from a computer or the like. Say. Examples of such recording media that can be removed from a computer or the like include, for example, a memory such as a flexible disk, a magneto-optical disk, a CD-ROM, a CD-R / W, a DVD, a Blu-ray disc, a DAT, an 8 mm tape, and a flash memory There are cards. In addition, as a recording medium fixed to a computer or the like, there are a hard disk, a ROM (read only memory) and the like.
1     コンピュータ
11    CPU
12    チップセット(ノースブリッジ)
13    グラフィックボードスロット
14    メモリスロット
15    チップセット(サウスブリッジ)
16    HDD
161   制御部
162   記憶部
17    フラッシュROM
171   領域書換部
172   ブート処理部
18    ユーザI/F
19    NVRAM
20    CMOS
1 Computer 11 CPU
12 Chipset (North Bridge)
13 Graphics board slot 14 Memory slot 15 Chipset (South Bridge)
16 HDD
161 Control unit 162 Storage unit 17 Flash ROM
171 Area rewriting unit 172 Boot processing unit 18 User I / F
19 NVRAM
20 CMOS

Claims (8)

  1.  記憶装置の記憶部に含まれる第1のディスクフォーマットが適用された第1の領域と、第2のディスクフォーマットが適用された第2の領域とから、領域の選択を受け付けるステップと、
     選択された領域に基づいて、前記記憶装置の制御部がアクセスする、前記記憶部における物理的な位置の基準を変更する領域変更ステップと、
     をコンピュータに実行させる、記憶装置の管理プログラム。
    Receiving an area selection from a first area to which the first disk format is applied and a second area to which the second disk format is applied, which is included in the storage unit of the storage device;
    An area changing step for changing a reference of a physical position in the storage unit, which is accessed by the control unit of the storage device, based on the selected area;
    Management program for causing a computer to execute.
  2.  前記領域変更ステップにおいて、前記制御部が前記記憶部にアクセスする際に当該記憶部における物理的な位置をシフトさせる大きさ、及び前記制御部がアクセス可能な前記記憶部の容量を変更する
     請求項1に記載の記憶装置の管理プログラム。
    The step of changing the area changes a size of shifting a physical position in the storage unit when the control unit accesses the storage unit, and a capacity of the storage unit accessible by the control unit. The storage device management program according to claim 1.
  3.  前記第1のディスクフォーマットと前記第2のディスクフォーマットとは、パーティションを管理する方式が異なる
     請求項1又は2に記載の記憶装置の管理プログラム。
    The storage device management program according to claim 1 or 2, wherein the first disk format and the second disk format are different in a method of managing partitions.
  4.  記憶装置の記憶部に含まれる第1のディスクフォーマットが適用された第1の領域と、第2のディスクフォーマットが適用された第2の領域とから、領域の選択を受け付けるブート処理部と、
     選択された領域に基づいて、前記記憶装置の制御部がアクセスする、前記記憶部における物理的な位置の基準を変更する領域書換部と、
     を有する電子装置。
    A boot processing unit that accepts selection of an area from a first area to which the first disk format is applied and a second area to which the second disk format is applied, which is included in the storage unit of the storage device;
    Based on the selected area, the area rewriting unit for changing the physical position reference in the storage unit, which is accessed by the control unit of the storage device;
    An electronic device.
  5.  前記領域書換部が、前記制御部が前記記憶部にアクセスする際に当該記憶部における物理的な位置をシフトさせる大きさ、及び前記制御部がアクセス可能な前記記憶部の容量を変更する
     請求項4に記載の電子装置。
    The area rewriting unit changes a size of shifting a physical position in the storage unit when the control unit accesses the storage unit, and a capacity of the storage unit accessible by the control unit. 5. The electronic device according to 4.
  6.  前記第1のディスクフォーマットと前記第2のディスクフォーマットとは、パーティションを管理する方式が異なる
     請求項4又は5に記載の電子装置。
    The electronic device according to claim 4, wherein the first disk format and the second disk format are different in a method of managing partitions.
  7.  異なるオペレーティングシステムを前記第1の領域と前記第2の領域とに格納した前記記憶装置を含む
     請求項4ないし6のいずれか1項に記載の電子装置。
    The electronic device according to claim 4, further comprising: the storage device that stores different operating systems in the first area and the second area.
  8.  記憶装置の記憶部に含まれる第1のディスクフォーマットが適用された第1の領域と、第2のディスクフォーマットが適用された第2の領域とから、領域の選択を受け付けるステップと、
     選択された領域に基づいて、前記記憶装置の制御部がアクセスする、前記記憶部における物理的な位置の基準を変更する領域変更ステップと、
     を含む記憶装置の管理方法。
    Receiving an area selection from a first area to which the first disk format is applied and a second area to which the second disk format is applied, which is included in the storage unit of the storage device;
    An area changing step for changing a reference of a physical position in the storage unit, which is accessed by the control unit of the storage device, based on the selected area;
    A storage device management method.
PCT/JP2012/082560 2012-12-14 2012-12-14 Storage-device management program, and management method for electronic device and storage device WO2014091629A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2012/082560 WO2014091629A1 (en) 2012-12-14 2012-12-14 Storage-device management program, and management method for electronic device and storage device
JP2014551825A JPWO2014091629A1 (en) 2012-12-14 2012-12-14 Storage device management program, electronic device, and storage device management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/082560 WO2014091629A1 (en) 2012-12-14 2012-12-14 Storage-device management program, and management method for electronic device and storage device

Publications (1)

Publication Number Publication Date
WO2014091629A1 true WO2014091629A1 (en) 2014-06-19

Family

ID=50933944

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/082560 WO2014091629A1 (en) 2012-12-14 2012-12-14 Storage-device management program, and management method for electronic device and storage device

Country Status (2)

Country Link
JP (1) JPWO2014091629A1 (en)
WO (1) WO2014091629A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062200A (en) * 2016-11-08 2018-05-22 杭州海康威视数字技术股份有限公司 A kind of data in magnetic disk reading/writing method and device
WO2022064994A1 (en) * 2020-09-25 2022-03-31 パナソニックIpマネジメント株式会社 Storage activation method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003280915A (en) * 2002-03-22 2003-10-03 Toshiba Corp Information equipment, storage medium, and system starting-up method
JP2004348195A (en) * 2003-05-20 2004-12-09 Sony Corp Information processor, image pickup device and information processing method
JP2008016030A (en) * 2006-07-03 2008-01-24 Lg Electronics Inc System operation control device and method
JP2010244109A (en) * 2009-04-01 2010-10-28 I-O Data Device Inc Program and apparatus for processing information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60210434T2 (en) * 2002-06-28 2006-09-28 Hewlett-Packard Development Co., L.P., Houston OS selector and disk space
KR100532505B1 (en) * 2004-02-17 2005-11-30 삼성전자주식회사 Method for partitioning a hard disk drive and apparatus therefore

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003280915A (en) * 2002-03-22 2003-10-03 Toshiba Corp Information equipment, storage medium, and system starting-up method
JP2004348195A (en) * 2003-05-20 2004-12-09 Sony Corp Information processor, image pickup device and information processing method
JP2008016030A (en) * 2006-07-03 2008-01-24 Lg Electronics Inc System operation control device and method
JP2010244109A (en) * 2009-04-01 2010-10-28 I-O Data Device Inc Program and apparatus for processing information

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062200A (en) * 2016-11-08 2018-05-22 杭州海康威视数字技术股份有限公司 A kind of data in magnetic disk reading/writing method and device
EP3540587A4 (en) * 2016-11-08 2019-11-27 Hangzhou Hikvision Digital Technology Co., Ltd. Disk data reading/writing method and device
CN108062200B (en) * 2016-11-08 2019-12-20 杭州海康威视数字技术股份有限公司 Disk data reading and writing method and device
US11048601B2 (en) 2016-11-08 2021-06-29 Hangzhou Hikvision Digital Technology Co., Ltd. Disk data reading/writing method and device
WO2022064994A1 (en) * 2020-09-25 2022-03-31 パナソニックIpマネジメント株式会社 Storage activation method

Also Published As

Publication number Publication date
JPWO2014091629A1 (en) 2017-01-05

Similar Documents

Publication Publication Date Title
US8370835B2 (en) Method for dynamically generating a configuration for a virtual machine with a virtual hard disk in an external storage device
US7293166B2 (en) Method of indicating a format of accessing an operating system contained on a USB memory device
US7032107B2 (en) Virtual partition for recording and restoring computer data files
US7689802B2 (en) Controlling memory access in a multi-booting system
US6999913B2 (en) Emulated read-write disk drive using a protected medium
US6934833B2 (en) Operating system selector and data storage drive
US20070011445A1 (en) System and method for loading programs from HDD independent of operating system
EP1271332A2 (en) A multifunction semiconductor storage device and a method for booting-up computer host
TWI700639B (en) Booting disk supporting file storage function
US20080091935A1 (en) Hard disk drive with disk embedded dos boot image and firmware download method
US8433847B2 (en) Memory drive that can be operated like optical disk drive and method for virtualizing memory drive as optical disk drive
WO2006040758A2 (en) Adaptive booting from mass storage device
TW201504937A (en) Virtual storage devices formed by selected partitions of a physical storage device
WO2014091629A1 (en) Storage-device management program, and management method for electronic device and storage device
JP4567966B2 (en) Emulation system and emulation method
US9946479B2 (en) Direct hinting for a memory device
JP4735765B2 (en) Linux program startup system
TWI390399B (en) External device having a virtual storage device
JP2014142748A (en) Storage device, and method of controlling the same
KR100692958B1 (en) Portable solid state drive with emulator
US8533447B2 (en) Method and device for modular configuration deployment at run time
TWI731515B (en) Computer system and boot controlling method for storage apparatus
CN116909635A (en) Method for realizing BIOS (basic input output System) and UEFI (unified extensible firmware interface) starting by using mixed partition table of mbr guide+GUID (unified element identifier) partition table based on fbenst
CN117707431A (en) BIOS-based software RAID data reading method and device
JP2009301683A (en) Recording and playback device, recording and playback method, and computer program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12889849

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2014551825

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12889849

Country of ref document: EP

Kind code of ref document: A1