Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 25/11/2012, à 12:36

LAbare

Perte de partitions après redimensionnement

Bonjour,
j'ai voulu redimensionner deux partitions sur mon disque dur de 500 Go, mais mon ordi a planté en plein milieu, et ces partitions sont maintenant inaccessibles. Voilà ce que m'affiche PartitionManager.

J'ai fait quelques recherches, et après avoir essayé testdisk, je suis tombé sur ce topic, dont j'ai suivi les instructions. Je colle donc ci-dessous les réponses des différentes commandes, en espérant que quelqu'un pourra m'aider à résoudre mon problème. Le disque n'a pas de problème matériel d'après smartmontools.

Merci par avance,
LAbare

sfdisk -luS

Disque /dev/sda : 60801 cylindres, 255 têtes, 63 secteurs/piste
Avertissement : la partition étendue ne débute pas sur une frontière de
cylindres. DOS et Linux interpréteront les contenus différemment.
Unités= secteurs de 512 octets, décompte à partir de 0

   Périph Amorce  Début       Fin   #secteurs Id  Système
/dev/sda1   *      2048  27650047   27648000   7  HPFS/NTFS/exFAT
/dev/sda2      27650048  27854847     204800   7  HPFS/NTFS/exFAT
/dev/sda3      27854848 223167336  195312489   7  HPFS/NTFS/exFAT
/dev/sda4     223167357 976784129  753616773   f  Étendue W95 (LBA)
/dev/sda5     223168512 316088407   92919896  83  Linux
/dev/sda6     316095003 418477178  102382176  83  Linux
/dev/sda7     937713664 976771055   39057392  82  partition d'échange Linux / Solaris

udisks --show-info /dev/sda

Showing information for /org/freedesktop/UDisks/devices/sda
  native-path:                 /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda
  device:                      8:0
  device-file:                 /dev/sda
    presentation:              /dev/sda
    by-id:                     /dev/disk/by-id/ata-Hitachi_HTS545050B9A300_100905PBN40317EW8YNE
    by-id:                     /dev/disk/by-id/scsi-SATA_Hitachi_HTS5450100905PBN40317EW8YNE
    by-id:                     /dev/disk/by-id/wwn-0x5000cca5f1e896a6
    by-path:                   /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
  detected at:                 dim. 25 nov. 2012 10:32:58 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at dim. 25 nov. 2012 10:32:58 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  automount hint:              
  size:                        500107862016
  block size:                  512
  job underway:                no
  usage:                       
  type:                        
  version:                     
  uuid:                        
  label:                       
  partition table:
    scheme:                    mbr
    count:                     7
  drive:
    vendor:                    ATA
    model:                     Hitachi HTS545050B9A300
    revision:                  PB4OC6F0
    serial:                    100905PBN40317EW8YNE
    WWN:                       5000cca5f1e896a6
    detachable:                0
    can spindown:              1
    rotational media:          Yes, at 5400 RPM
    write-cache:               enabled
    ejectable:                 0
    adapter:                   Unknown
    ports:
    similar devices:
    media:                     
      compat:                 
    interface:                 ata
    if speed:                  (unknown)
    ATA SMART:                 Updated at dim. 25 nov. 2012 10:33:30 CET
      overall assessment:      Good
===============================================================================
 Attribute       Current|Worst|Threshold  Status   Value       Type     Updates
===============================================================================
 raw-read-error-rate         100|100| 62   good    0           Pre-fail Online 
 throughput-performance      109|109| 40   good    0           Pre-fail Offline
 spin-up-time                150|150| 33   good    1 msec      Pre-fail Online 
 start-stop-count            100|100|  0    n/a    549         Old-age  Online 
 reallocated-sector-count    100|100|  5   good    0 sectors   Pre-fail Online 
 seek-error-rate             100|100| 67   good    0           Pre-fail Online 
 seek-time-performance       118|118| 40   good    0           Pre-fail Offline
 power-on-hours               90| 90|  0    n/a    183,8 days  Old-age  Online 
 spin-retry-count            100|100| 60   good    0           Pre-fail Online 
 power-cycle-count           100|100|  0    n/a    532         Old-age  Online 
 g-sense-error-rate          100|100|  0    n/a    0           Old-age  Online 
 power-off-retract-count     100|100|  0    n/a    18          Old-age  Online 
 load-cycle-count            100|100|  0    n/a    3740        Old-age  Online 
 temperature-celsius-2       196|196|  0    n/a    28C / 82,4F Old-age  Online 
 reallocated-event-count     100|100|  0    n/a    0           Old-age  Online 
 current-pending-sector      100|100|  0    n/a    0 sectors   Old-age  Online 
 offline-uncorrectable       100|100|  0    n/a    0 sectors   Old-age  Offline
 udma-crc-error-count        200|200|  0    n/a    0           Old-age  Online 
 load-retry-count            100|100|  0    n/a    0           Old-age  Online

Testdisk
À l'ouverture :

Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
Current partition structure:
     Partition                  Start        End    Size in sectors

 1 * HPFS - NTFS              0  32 33  1721  34 41   27648000 [PQSERVICE]
 2 P HPFS - NTFS           1721  34 42  1733 225 28     204800 [SYSTEM RESERVED]
 3 P HPFS - NTFS           1733 225 29 13891 133 43  195312489 [ACER]
 4 E extended LBA         13891 134  1 60801 254 63  753616773
 5 L Linux                13891 152 22 19675 151 20   92919896
   X extended             19676   0  1 26048 254 57  102382239
 6 L Linux                19676   1  1 26048 254 57  102382176
   X extended             58369 247  1 60801  47 30   39057510
 7 L Linux Swap           58369 248 56 60801  47 30   39057392

Après une recherche rapide :

Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63

The harddisk (500 GB / 465 GiB) seems too small! (< 985 GB / 918 GiB)
Check the harddisk size: HD jumpers settings, BIOS detection...

The following partitions can't be recovered:
     Partition               Start        End    Size in sectors
>  Linux                41995   6 60 74315 144  5  519229440
   Linux                42000 129 50 74321  11 58  519229440
   Linux                42007 100 14 74327 237 22  519229440
   HPFS - NTFS          60801  48 31 119868 126 33  948916272

Les 3 partitons Linux affichant en dessous :

EXT4 Large file Sparse superblock Recover, 265 GB / 247 GiB

Et la partition HPFS - NTFS affichant :

NTFS, 485 GB / 452 GiB

Puis

Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63
     Partition               Start        End    Size in sectors
 * HPFS - NTFS              0  32 33  1721  34 41   27648000 [PQSERVICE]
 P HPFS - NTFS           1721  34 42  1733 225 28     204800 [SYSTEM RESERVED]
 P HPFS - NTFS           1733 225 29 13891 133 43  195312489 [ACER]
 L Linux                13891 152 22 19675 151 20   92919896
>L Linux                19676   1  1 26048 254 57  102382176
 L Linux Swap           58369 248 56 60801  47 30   39057392

Après une recherche avancée :

Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63

The harddisk (500 GB / 465 GiB) seems too small! (< 1624 GB / 1512 GiB)
Check the harddisk size: HD jumpers settings, BIOS detection...

The following partitions can't be recovered:
     Partition               Start        End    Size in sectors
>  Linux                41995   6 60 74315 144  5  519229440
   Linux                42000 129 50 74321  11 58  519229440
   Linux                42007 100 14 74327 237 22  519229440
   FAT32 LBA            50307 152 46 197508 191  9 2364786486
   HPFS - NTFS          60801  48 31 119868 126 33  948916272

Les 3 partitions Linux affichant en-dessous :

EXT4 Large file Sparse superblock Recover, 265 GB / 247 GiB

La partition FAT32 :

1210 GB / 1127 GiB

La partition HPFS - NTFS :

NTFS, 485 GB / 452 GiB

Puis

Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63
     Partition               Start        End    Size in sectors
>D HPFS - NTFS              0  32 33  1721  34 41   27648000 [PQSERVICE]
 D HPFS - NTFS             47 107 61  4863 210 19   77375488
 D HPFS - NTFS           1721  34 42  1733 225 28     204800 [SYSTEM RESERVED]
 D HPFS - NTFS           1733 225 29 13891 133 43  195312489 [ACER]
 D Linux                13891 152 22 19675 151 20   92919896
 D Linux                13892   1  1 19675 254 62   92919896
 * Linux                19676   1  1 26048 254 57  102382176
 P Linux Swap           58369 248 56 60801  47 30   39057392

dmesg|tail

[ 6650.897526] type=1400 audit(1353842604.684:28): apparmor="ALLOWED" operation="open" parent=3329 profile="/usr/sbin/cupsd//null-f" name="/lib/i386-linux-gnu/libpthread-2.15.so" pid=3336 comm="lxkusb" requested_mask="r" denied_mask="r" fsuid=7 ouid=0
[ 6650.897555] type=1400 audit(1353842604.684:29): apparmor="ALLOWED" operation="getattr" parent=3329 profile="/usr/sbin/cupsd//null-f" name="/lib/i386-linux-gnu/libpthread-2.15.so" pid=3336 comm="lxkusb" requested_mask="r" denied_mask="r" fsuid=7 ouid=0
[ 6650.897572] type=1400 audit(1353842604.684:30): apparmor="ALLOWED" operation="file_mmap" parent=3329 profile="/usr/sbin/cupsd//null-f" name="/lib/i386-linux-gnu/libpthread-2.15.so" pid=3336 comm="lxkusb" requested_mask="mr" denied_mask="mr" fsuid=7 ouid=0
[ 6650.897644] type=1400 audit(1353842604.684:31): apparmor="ALLOWED" operation="open" parent=3329 profile="/usr/sbin/cupsd//null-f" name="/lib/i386-linux-gnu/libm-2.15.so" pid=3336 comm="lxkusb" requested_mask="r" denied_mask="r" fsuid=7 ouid=0
[ 6682.599203] usblp2: removed
[ 6682.599578] usb 1-1.2: usbfs: interface 2 claimed by usbhid while 'usb' sets config #1
[ 6710.847256] usblp 1-1.2:1.1: usblp2: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x043D pid 0x010B
[ 6716.737867] usblp2: removed
[ 6716.738430] usb 1-1.2: usbfs: interface 2 claimed by usbhid while 'usb' sets config #1
[ 6734.831447] usb 1-1.2: USB disconnect, device number 3

gpart /dev/sda

Begin scan...
Possible extended partition at offset(154343mb)
End scan.

Checking partitions...
Ok.

Guessed primary partition table:
Primary partition(1)
   type: 005(0x05)(Extended DOS)
   size: 367966mb #s(753596031) s(316094940-1069690970)
   chs:  (1023/254/63)-(1023/254/63)d (19676/0/1)-(66585/46/48)r

Primary partition(2)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

Primary partition(3)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

Primary partition(4)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

Hors ligne