CN105278881A - Method for recovering GPT of NTFS - Google Patents
Method for recovering GPT of NTFS Download PDFInfo
- Publication number
- CN105278881A CN105278881A CN201510690634.9A CN201510690634A CN105278881A CN 105278881 A CN105278881 A CN 105278881A CN 201510690634 A CN201510690634 A CN 201510690634A CN 105278881 A CN105278881 A CN 105278881A
- Authority
- CN
- China
- Prior art keywords
- gpt
- dbr
- file system
- new technology
- technology file
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Abstract
The invention discloses a method for recovering GPT of NTFS. The method at least comprises: step 1, searching for sector numbers of DBRs and DBR backups of NTFSs in a whole hard disk; step 2, computing total GPT partition capacity of the NTFSs; step 3, re-establishing the GPT of the NTFS, wherein a formatting operation is not performed when the GPT are re-established; and step 4, recovering the DBRs of the NTFS through the DBR backups of the corresponding NTFS. The method has the characteristics of high speed and high success rate of recovering the corrupted GPT of the NTFS, and solves the technical problem that hard disk data are difficult to recover after the GPT are corrupted.
Description
Technical field
The present invention relates to the partition management field in computer disk management, after particularly one is destroyed for GPT partition table, to a kind of restoration methods of new technology file system GPT partition table.
Background technology
Disk partition technology " globally unique identifier's partition table " GPT(GloballyUniqueIdentifierPartitionTable of a new generation) appearance be to substitute old-fashioned MBR(MasterBootRecord), mainly solve MBR partition table and do not support that capacity is greater than the partitioning problem of 2.2TB.
At present, Microsoft Windows8 employs GPT disk partition form, and Windows8 no longer supports MBR simultaneously.If computing machine uses Windows7 just must adopt MBR zoned format, so different partition table maloperation, to misroute the result of changing be original disk partition table loss in hard disk, and the data in disk can not normally read.In today that Windows7 and Windows8 number of users is huge, this problem causing the data in hard disk to read and to use because of GPT partition table problem is comparatively outstanding.
When there is the problems such as the partition table that maloperation or the fault of operating system own cause damages, data are invisible, unreadable data when GPT memory disk, it is likely the logical mistake of GPT partition table, by certain technological means, the data being kept at the preciousness that the equipment such as desktop computer hard disk, laptop hard, server hard disc are lost can be carried out rescuing and recovering.
Present invention achieves and the restructuring of whole new technology file system GPT partition table is recovered, have that simple to operate, resume speed is fast, success ratio high, thus saved the data of new technology file system in partition table.
Summary of the invention
(1) object: in order to solve because of GPT subregion destroyed after, thus make to be stored in the loss of data in the new technology file system on disk, bring the loss that cannot estimate to user.The invention discloses a kind of method recovering new technology file system GPT partition table.
(2) method: after the GPT subregion of new technology file system is destroyed, new technology file system stands intact, and can recover the GPT subregion of new technology file system by the following method:
1) the DBR eigenwert by searching NTFS can find DBR and DBR of NTFS to back up place sector number;
2) DBR of new technology file system backs up place sector number and deducts new technology file system DBR place sector number and add 1 again and can obtain this new technology file system and twist in hard disk institute sector number;
3) the shared sector number of new technology file system volume is multiplied by 512 again divided by 1048576, and can obtain capacity shared by NTFS, unit is MB;
4) the disk management function in the management of start-up simulation machine, rebuilds GPT subregion, input new technology file system capacity: unit is MB, (note: do not format diskette);
5) by the DBR backup copy of new technology file system to sector, DBR place, repair destroyed new technology file system DBR (note: when heavy GPT subregion, the DBR content of NTFS all can be set to " 00 ").
Accompanying drawing explanation
Fig. 1 is the GPT partition table process flow diagram recovering new technology file system.
Embodiment
Here by way of example embodiment is described: the GPT dish of certain 20GB capacity, establish 5 subregions, these 5 subregions all format with new technology file system, because 5 subregions are deleted by user operation accidentally, and hard disk is converted into MBR hard disk, now to recover the data in each subregion;
Recovering step is as follows:
1) using this hard disk as auxiliary dish, and convert GPT disk to;
2) search new technology file system DBR and DBR and back up sector, place;
3) find in No. 264192 sectors, No. 10504191 sectors, No. 10504192 sectors etc. respectively, back up by sector, DBR place and DBR the capacity that sector, place calculates each volume, as listed in table 1;
DBR and DBR that table 1 is respectively rolled up backs up place sector number
4) rebuild GPT subregion, in " size of specified volume " window, input the size 5000MB of the 1st volume;
5) in " format subregion " window, " not formaing this volume (D) " option is selected;
6) repeat the 5th step and the 6th step, in " size of specified volume " window, input the size 4000MB of the 2nd, 3,4 and 5 volume, 2003MB, 3346MB and 6000MB respectively;
7), after rebuilding GPT subregion, the file system of H dish, I dish, J dish, K dish and L dish is RAW;
8), after rebuilding GPT subregion, all values of sector, DBR place is filled by " 00 "; Move the cursor to No. 264192 sectors, can see that the content of 264192 sectors is for complete " 00 ", the backup (i.e. No. 10504191 sectors) of the 1st DBR is copied to No. 264192 sectors, deposit, can recover the DBR of the 1st GPT subregion;
9) identical with the operation of the 8th step, the backup (i.e. No. 18696191 sectors) of the 2nd DBR is copied to No. 10504192 sectors, and deposit, can recover the DBR of the 2nd GPT subregion; The backup (i.e. No. 22798335 sectors) of the 3rd DBR is copied to No. 18696192 sectors, deposit; The DBR of the 3rd GPT subregion can be recovered; The backup (i.e. No. 29650943 sectors) of the 4th DBR is copied to No. 22798336 sectors, deposit; The DBR of the 4th GPT subregion can be recovered; The backup (i.e. No. 41938943 sectors) of the 5th DBR is copied to No. 29650944 sectors, deposit; The DBR of the 5th GPT subregion can be recovered;
11) the disk management function in computer management is used can to see that the file system of H dish, I dish, J dish, K dish and L dish is NTFS; Also the file stored in H dish, H dish, I dish, J dish, K dish and L dish and file can be seen in explorer.
Claims (4)
1. a GPT disk partition table restoration methods, its comprehensive characteristics is, the restoration and reconstruction of GPT disk partition are completed: (1) search obtains the sector number in DBR and the DBR backup place DISK to Image of new technology file system by following particular step method, (2) the GPT capacity of corresponding new technology file system is calculated by this sector number, (3) rebuild the GPT partition table of each new technology file system respectively in order according to GPT capacity, (4) are respectively by the DBR of each new technology file system of new technology file system DBR Backup and Restore.
2. GPT disk partition table restoration methods as claimed in claim 1, is characterized in that the method for the GPT subregion capacity calculating new technology file system is:
Method one:
GPT subregion capacity=(DBR backs up sector number-DBR place, place sector number+1) × 512/1024/1024MB
Method two:
GPT subregion capacity=(the total sector number+1 of new technology file system) × 512/1024/1024MB.
3. GPT disk partition table restoration methods as claimed in claim 1, is characterized in that: when rebuilding GPT subregion, input GPT subregion capacity, and does not format this volume.
4. GPT disk partition table restoration methods as claimed in claim 1, is characterized in that: by new technology file system DBR backup copy to DBR, recovers DBR.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510690634.9A CN105278881A (en) | 2015-10-23 | 2015-10-23 | Method for recovering GPT of NTFS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510690634.9A CN105278881A (en) | 2015-10-23 | 2015-10-23 | Method for recovering GPT of NTFS |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105278881A true CN105278881A (en) | 2016-01-27 |
Family
ID=55147968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510690634.9A Pending CN105278881A (en) | 2015-10-23 | 2015-10-23 | Method for recovering GPT of NTFS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105278881A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107491362A (en) * | 2017-08-04 | 2017-12-19 | 云南大学 | It is a kind of while recover GPT partition tables and NTFS_DBR method |
CN108845766A (en) * | 2018-06-04 | 2018-11-20 | 成都傲梅科技有限公司 | A kind of method that GPT disk turns MBR disk |
CN113157213A (en) * | 2021-04-30 | 2021-07-23 | 深圳市数存科技有限公司 | Method for extracting and reconstructing partition based on guidance |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763296A (en) * | 2010-01-14 | 2010-06-30 | 常熟理工学院 | Fast reverse search restructuring and recovery method of hard disk partition table |
CN102819462A (en) * | 2012-08-06 | 2012-12-12 | 厦门市美亚柏科信息股份有限公司 | Repair method for Window system disk partition |
-
2015
- 2015-10-23 CN CN201510690634.9A patent/CN105278881A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763296A (en) * | 2010-01-14 | 2010-06-30 | 常熟理工学院 | Fast reverse search restructuring and recovery method of hard disk partition table |
CN102819462A (en) * | 2012-08-06 | 2012-12-12 | 厦门市美亚柏科信息股份有限公司 | Repair method for Window system disk partition |
Non-Patent Citations (2)
Title |
---|
田勇: "《玩转装机与维修 从学徒到高手》", 30 June 2014, 北京:清华大学出版社 * |
赵振洲: "《数据恢复技术案例教程》", 30 November 2013, 北京:机械工业出版社 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107491362A (en) * | 2017-08-04 | 2017-12-19 | 云南大学 | It is a kind of while recover GPT partition tables and NTFS_DBR method |
CN108845766A (en) * | 2018-06-04 | 2018-11-20 | 成都傲梅科技有限公司 | A kind of method that GPT disk turns MBR disk |
CN108845766B (en) * | 2018-06-04 | 2021-04-13 | 成都傲梅科技有限公司 | Method for converting GPT disk into MBR disk |
CN113157213A (en) * | 2021-04-30 | 2021-07-23 | 深圳市数存科技有限公司 | Method for extracting and reconstructing partition based on guidance |
CN113157213B (en) * | 2021-04-30 | 2021-09-17 | 深圳市数存科技有限公司 | Method for extracting and reconstructing partition based on guidance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10114588B2 (en) | Consolidating encoded data slices in read memory devices in a distributed storage network | |
EP2494456B1 (en) | Backup using metadata virtual hard drive and differential virtual hard drive | |
US10146640B2 (en) | Recovering a volume table and data sets | |
US9703640B2 (en) | Method and system of performing incremental SQL server database backups | |
CN107807794B (en) | Data storage method and device | |
WO2018098972A1 (en) | Log recovery method, storage device and storage node | |
US10657000B2 (en) | Optimizing data storage in a dispersed storage network | |
CN104077380A (en) | Method and device for deleting duplicated data and system | |
CN105302667A (en) | Cluster architecture based high-reliability data backup and recovery method | |
CN104461773A (en) | Backup deduplication method of virtual machine | |
CN106681862A (en) | Method and apparatus for incremental recovery of data | |
CN107340971A (en) | A kind of data storage is with recovering framework and method | |
CN105278881A (en) | Method for recovering GPT of NTFS | |
CN109196458B (en) | Storage system available capacity calculation method and device | |
US9594635B2 (en) | Systems and methods for sequential resilvering | |
US20200192760A1 (en) | Apparatus and method for deduplicating data | |
CN104536852A (en) | Data recovery method and device | |
CN114924914B (en) | Disk partition table information backup and recovery method and system | |
CN104246716A (en) | Method and device for processing storage space object | |
CN106933699A (en) | A kind of data recovery, snapshot establishment, snapshot delet method and device | |
WO2015054992A1 (en) | Data backup method, apparatus and system | |
US9607000B1 (en) | Backup to tape-out using common backup data storage | |
US10511665B2 (en) | Efficient resource reclamation after deletion of slice from common file | |
US10528425B2 (en) | Transitioning to an optimized data storage approach in a dispersed storage network | |
CN106919466A (en) | A kind of computer disk data sustainable protection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160127 |