Hard drive issue

Patrick Dupre pdupre at gmx.com
Fri Sep 4 20:40:48 UTC 2015


Hello,

I tried to modified a partition table by using fdisk, but it 
failed. Now I am in trouble. I setup the disk inside an external usb enclosure
and try to access it.

After I turn the enclosure on, I only have a short time to interact with
the disk (maybe 15 s).
During this time I can make a fdisk and I get:
Omitting partitions after #60. They will be deleted if you save this partition table.

Disk /dev/sdd: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000bf5b4

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdd1            4096  26617855  26613760  12.7G  7 HPFS/NTFS/exFAT
/dev/sdd2        26619705  38909429  12289725   5.9G  7 HPFS/NTFS/exFAT
/dev/sdd3        38909430  49142834  10233405   4.9G  7 HPFS/NTFS/exFAT
/dev/sdd4        49142835 976768064 927625230 442.3G  5 Extended
/dev/sdd5        49142898  98301734  49158837  23.5G 82 Linux swap / Solaris
/dev/sdd6        98304000  99327999   1024000   500M 83 Linux
/dev/sdd7        99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd8       190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd9       251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd10      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd11       98304000  99327999   1024000   500M 83 Linux
/dev/sdd12       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd13      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd14      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd15      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd16       98304000  99327999   1024000   500M 83 Linux
/dev/sdd17       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd18      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd19      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd20      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd21       98304000  99327999   1024000   500M 83 Linux
/dev/sdd22       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd23      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd24      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd25      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd26       98304000  99327999   1024000   500M 83 Linux
/dev/sdd27       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd28      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd29      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd30      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd31       98304000  99327999   1024000   500M 83 Linux
/dev/sdd32       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd33      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd34      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd35      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd36       98304000  99327999   1024000   500M 83 Linux
/dev/sdd37       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd38      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd39      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd40      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd41       98304000  99327999   1024000   500M 83 Linux
/dev/sdd42       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd43      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd44      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd45      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd46       98304000  99327999   1024000   500M 83 Linux
/dev/sdd47       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd48      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd49      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd50      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd51       98304000  99327999   1024000   500M 83 Linux
/dev/sdd52       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd53      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd54      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd55      309270528 461461503 152190976  72.6G 83 Linux
/dev/sdd56       98304000  99327999   1024000   500M 83 Linux
/dev/sdd57       99330048 190466639  91136592  43.5G 83 Linux
/dev/sdd58      190466703 251915264  61448562  29.3G 83 Linux
/dev/sdd59      251915328 309267314  57351987  27.4G 83 Linux
/dev/sdd60      309270528 461461503 152190976  72.6G 83 Linux

Partition table entries are not in disk order.

Here is the previous partition table:

Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000bf5b4

Device     Boot     Start       End    Blocks  Id System
/dev/sdb1            4096  26617855  13306880   7 HPFS/NTFS/exFAT
/dev/sdb2        26619705  38909429   6144862+  7 HPFS/NTFS/exFAT
/dev/sdb3        38909430  49142834   5116702+  7 HPFS/NTFS/exFAT
/dev/sdb4        49142835 976768064 463812615   5 Extended
/dev/sdb5        49142898  98301734  24579418+ 82 Linux swap / Solaris
/dev/sdb6  *     98301798 112647779   7172991  83 Linux
/dev/sdb7       112647843 190466639  38909398+ 83 Linux
/dev/sdb8       190466703 251915264  30724281  83 Linux
/dev/sdb9       251915328 309267314  28675993+ 83 Linux
/dev/sdb10      309270528 461461503  76095488  83 Linux



How, can I fix this partition table (actually only 2 partitions : 6 and 7)
are wrong.

testdisk only access to the disk during this too short time.
How can I avoid to lost the hand on the disk?

Thank for your help.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre at gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


More information about the users mailing list