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 04/02/2012, à 14:05

vertie

[résolu] /home ne monte plus

Bonjour,

Donc mon problème est que mon /home n'est plus monté au démarrage.

Le problème existe depuis que j'ai fait une mauvaise manip : j'ai voulu rebooter mon PC en utilisant le menu redémarrer d'Ubuntu, mais au bout d'un moment plus rien ne bougeait, mon écran était noir, alors comme je ne savais pas où il en était, j'ai rebooté à la main, et depuis j'ai ce message d'erreur (recopié à la main depuis le mode recovery, donc coquilles possibles) :

une partie de la table des i-noeuds nécessitent une relocalisation, vous désirerez peut-être essayer en premier lieu d'exécuter e2fsck avec l'option " -b 32768 ". Le problème réside peut-être seulement dans les descripteurs de groupes de blocs du bloc primaire, alors que les descripteurs de groupes de blocs de secours sont peut-être en bon état.

/dev/sda7: le bitmap de blocs pour le groupe 4 n'est pas dans le groupe (bloc 164865)

/dev/sda7: INCONSISTENCE INATTENDUE ; EXECUTES fsck MANUELLEMENT.
        (i.e. sans options -a ou -p)
Des erreurs ont été trouvées lors de la vérification du lecteur de disque pour /home
Appuyez sur F pour essayer de réparer les erreurs, I pour ignorer, S pour passer le montage ou M pour la récupération manuelle
init: ureadahead-other main process (756) terminated with status 4
mountall: fsck /home [345] terminé avec le statut 4
mountall: Le système de fichiers comporte des erreurs : /home

j'ai répondu F, et la suite :

Tentative de réparation du système de fichiers /home

fsck de util-linux_ng 2.17.2
e2fsck 1.41.11 (14_Mar-2010)
fsck.ext3: Les descripteurs de groupe semblent en mauvais état... tentons d'utiliser les blocs de sauvetage...
fsck.ext3: Filesystem revision too high when using the backup blocks
retour au superblock originel
Périphérique ou ressource occupé lors de la tentative d'ouverture de /dev/sda7
Système de fichier monté ou ouvert en mode exclusif par un autre
programme ?
mountall: fsck /home [759] terminé avec le statut 8
mountall: Erreur non récupérable de fsck : /home

Pour le diagnostic (en Live CD, copié-collé, fin de la recopie à la main) :

ubuntu@ubuntu:~$ sudo sfdisk -luS

Disque /dev/sda : 19457 cylindres, 255 têtes, 63 secteurs/piste
Attention : 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   *        63 312576704  312576642   5  Etendue
/dev/sda2             0         -          0   0  Vide
/dev/sda3             0         -          0   0  Vide
/dev/sda4             0         -          0   0  Vide
/dev/sda5           126  29302559   29302434  83  Linux
/dev/sda6      29302623  34186319    4883697  82  Linux swap / Solaris
/dev/sda7      34186383 312576704  278390322  83  Linux
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ udisks --show-info /dev/sda
Showing information for /org/freedesktop/UDisks/devices/sda
  native-path:                 /sys/devices/pci0000:00/0000:00:1f.0/host1/target1:0:0/1:0:0:0/block/sda
  device:                      8:0
  device-file:                 /dev/sda
    presentation:              /dev/sda
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1604N_S013J10Y719685
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1604NS013J10Y719685
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000
    by-path:                   /dev/disk/by-path/pci-0000:00:1f.0-scsi-1:0:0:0
  detected at:                 jeu. 02 févr. 2012 20:22:49 UTC
  system internal:             1
  removable:                   0
  has media:                   1 (detected at jeu. 02 févr. 2012 20:22:49 UTC)
    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:          
  size:                        160041885696
  block size:                  512
  job underway:                no
  usage:                      
  type:                       
  version:                    
  uuid:                       
  label:                      
  partition table:
    scheme:                    mbr
    count:                     4
  drive:
    vendor:                    ATA
    model:                     SAMSUNG SP1604N
    revision:                  TM100-42
    serial:                    S013J10Y719685
    WWN:                       50f0000000000000
    detachable:                0
    can spindown:              1
    rotational media:          Yes, unknown rate
    write-cache:               enabled
    ejectable:                 0
    adapter:                   /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e0
    ports:
      /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e0/host1
    similar devices:
    media:                    
      compat:                
    interface:                 ata
    if speed:                  (unknown)
    ATA SMART:                 Data not collected
ubuntu@ubuntu:~$


J'ai aussi fait un test SMART qui donne ça :

ubuntu@ubuntu:~$ sudo smartctl -l selftest /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     20672         -

ubuntu@ubuntu:~$

et

ubuntu@ubuntu:~$ sudo smartctl --all /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG SP1604N
Serial Number:    S013J10Y719685
Firmware Version: TM100-24
User Capacity:    160 041 885 696 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 0
Local Time is:    Sat Feb  4 11:28:29 2012 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x80)    Offline data collection activity
                    was never started.
                    Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)    The previous self-test routine completed
                    without error or no self-test has ever
                    been run.
Total time to complete Offline
data collection:          (5760) seconds.
Offline data collection
capabilities:              (0x1b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    Offline surface scan supported.
                    Self-test supported.
                    No Conveyance Self-test supported.
                    No Selective Self-test supported.
SMART capabilities:            (0x0003)    Saves SMART data before entering
                    power-saving mode.
                    Supports SMART auto save timer.
Error logging capability:        (0x01)    Error logging supported.
                    No General Purpose Logging support.
Short self-test routine
recommended polling time:      (   1) minutes.
Extended self-test routine
recommended polling time:      (  96) minutes.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   051    Pre-fail  Always       -       2
  3 Spin_Up_Time            0x0007   065   054   000    Pre-fail  Always       -       6016
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4621
  5 Reallocated_Sector_Ct   0x0033   253   253   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   253   253   051    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0024   253   253   000    Old_age   Offline      -       0
  9 Power_On_Half_Minutes   0x0032   096   096   000    Old_age   Always       -       20673h+11m
 10 Spin_Retry_Count        0x0013   253   253   049    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       2346
194 Temperature_Celsius     0x0022   127   088   000    Old_age   Always       -       37
195 Hardware_ECC_Recovered  0x000a   100   100   000    Old_age   Always       -       184022124
196 Reallocated_Event_Count 0x0012   100   100   000    Old_age   Always       -       2
197 Current_Pending_Sector  0x0033   253   253   010    Pre-fail  Always       -       0
198 Offline_Uncorrectable   0x0031   100   100   010    Pre-fail  Offline      -       2
199 UDMA_CRC_Error_Count    0x000b   100   100   051    Pre-fail  Always       -       4
200 Multi_Zone_Error_Rate   0x000b   100   100   051    Pre-fail  Always       -       0
201 Soft_Read_Error_Rate    0x000b   100   100   051    Pre-fail  Always       -       0

SMART Error Log Version: 1
ATA Error Count: 363 (device log contains only the most recent five errors)
    CR = Command Register [HEX]
    FR = Features Register [HEX]
    SC = Sector Count Register [HEX]
    SN = Sector Number Register [HEX]
    CL = Cylinder Low Register [HEX]
    CH = Cylinder High Register [HEX]
    DH = Device/Head Register [HEX]
    DC = Device Command Register [HEX]
    ER = Error register [HEX]
    ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 363 occurred at disk power-on lifetime: 20669 hours (861 days + 5 hours)
  When the command that caused the error occurred, the device was active or idle.

 After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 51 fe 00 00 00 40  Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 05 fe 00 00 00 40 00      00:02:44.563  SET FEATURES [Enable APM]
  ec 00 01 00 00 00 00 00      00:02:42.563  IDENTIFY DEVICE
  c8 00 08 50 a4 09 e2 00      00:02:42.063  READ DMA
  c8 00 08 20 1f bf e1 00      00:02:42.063  READ DMA
  c8 00 08 00 10 00 e0 00      00:02:38.813  READ DMA

Error 362 occurred at disk power-on lifetime: 20669 hours (861 days + 5 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 08 00 00 00 e0  Error: ICRC, ABRT 8 sectors at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 00 00 00 e0 00      00:01:28.250  READ DMA
  ec 00 00 00 00 00 a0 00      00:01:28.188  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00      00:01:28.188  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      00:01:28.188  IDENTIFY DEVICE
  00 00 01 01 00 00 a0 00      00:01:27.875  NOP [Abort queued commands]

Error 361 occurred at disk power-on lifetime: 20669 hours (861 days + 5 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 08 00 00 00 e0  Error: ICRC, ABRT 8 sectors at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 00 00 00 e0 00      00:01:27.875  READ DMA
  ec 00 00 00 00 00 a0 00      00:01:27.813  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:01:27.813  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      00:01:27.813  IDENTIFY DEVICE
  00 00 01 01 00 00 a0 00      00:01:27.500  NOP [Abort queued commands]

Error 360 occurred at disk power-on lifetime: 20669 hours (861 days + 5 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 08 00 00 00 e0  Error: ICRC, ABRT 8 sectors at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 00 00 00 e0 00      00:01:27.500  READ DMA
  ec 00 00 00 00 00 a0 00      00:01:25.563  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:01:25.563  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      00:01:25.563  IDENTIFY DEVICE
  00 00 01 01 00 00 a0 00      00:01:25.250  NOP [Abort queued commands]

Error 359 occurred at disk power-on lifetime: 20664 hours (861 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.
  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 51 fe 00 00 00 40  Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 05 fe 00 00 00 40 00      00:02:54.000  SET FEATURES [Enable APM]
  ec 00 01 00 00 00 00 00      00:02:52.625  IDENTIFY DEVICE
  c8 00 08 50 a4 09 e2 00      00:02:51.750  READ DMA
  c8 00 08 20 1f bf e1 00      00:02:51.625  READ DMA
  c8 00 08 00 10 00 e0 00      00:02:49.000  READ DMA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     20672         -

Device does not support Selective Self Tests/Logging
ubuntu@ubuntu:~$

Où j'en suis maintenant :
1) je voudrais savoir si mon disque dur est fichu ou pas
2) j'ai fait une image de mon disque avec ddrescue sur un disque dur externe, et je voudrais accéder à mes données sauvegardées (mais je n'ai pas encore essayé de monter l'image par crainte de faire une ânerie)
3) je suis en train de faire un testdisk, je mettrai les résultats après

Est-ce que vous pouvez m'aider ?

Un grand merci,

Vertie

Dernière modification par vertie (Le 04/02/2012, à 21:56)

Hors ligne

#2 Le 04/02/2012, à 15:37

vertie

Re : [résolu] /home ne monte plus

le testdisk, exécuté sans tout à fait comprendre tout ce que je fais :

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - ATA SAMSUNG SP1604N

Hidden sectors are present.

size       312581808 sectors
user_max   312581808 sectors
native_max 10591920 sectors
dco        312581808 sectors
Device Configuration Overlay (DCO) present.

[ Continue ]  Continue even if there are hidden data

-> [ Continue ]

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - ATA SAMSUNG SP1604N

Please select the partition table type, press Enter when done.
[Intel  ]  Intel/PC partition
[EFI GPT]  EFI GPT partition map (Mac i386, some x86_64...)
[Mac    ]  Apple partition map
[None   ]  Non partitioned media
[Sun    ]  Sun Solaris partition
[XBox   ]  XBox partition
[Return ]  Return to disk selection

Note: Do NOT select 'None' for media with only a single partition. It's very
rare for a drive to be 'Non-partitioned'.

--> [Intel  ]

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63

[ Analyse  ]  Analyse current partition structure and search for lost partitions
[ Advanced ]  Filesystem Utils
[ Geometry ]  Change disk geometry
[ Options  ]  Modify options
[ MBR Code ]  Write TestDisk MBR code to first sector
[ Delete   ]  Delete all data in the partition table
[ Quit     ]  Return to disk selection


Note: Correct disk geometry is required for a successful recovery. 'Analyse'
process may give some warnings if it thinks the logical geometry is mismatched.

--> [ Analyse  ]

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
Current partition structure:
     Partition                  Start        End    Size in sectors

 1 E extended                 0   1  1 19456 254 63  312576642
No partition is bootable
 5 L Linux                    0   2  1  1823 254 63   29302434
   X extended              1824   0  1  2127 254 63    4883760
 6 L Linux Swap            1824   1  1  2127 254 63    4883697
   X extended              2128   0  1 19456 254 63  278390385
 7 L Linux                 2128   1  1 19456 254 63  278390322


*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
[Quick Search]  [ Backup ]
                            Try to locate partition

--> [Quick Search]


TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Should TestDisk search for partition created under Vista ? [Y/N] (answer Yes if
unsure) N

--> N

Résultat pour première ligne sélectionnée :

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
     Partition               Start        End    Size in sectors
* Linux                    0   1  1  1931 254 63   31037517
L Linux                 2128   1  1 19456 254 63  278390322


Structure: Ok.  Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
     Enter: to continue
EXT4 Large file Sparse superblock, 15 GB / 14 GiB

Résultat pour deuxième ligne sélectionnée :

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
     Partition               Start        End    Size in sectors
* Linux                    0   1  1  1931 254 63   31037517
L Linux                 2128   1  1 19456 254 63  278390322

Structure: Ok.  Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
     Enter: to continue
EXT3 Large file Sparse superblock, 142 GB / 132 GiB

Est-ce que "Structure: Ok" veut dire qu'il n'y a pas de problème physique sur le disque ? ou au moins sur les zones utilisées par ces partitions ?

--> Enter to continue

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63

     Partition                  Start        End    Size in sectors

 1 * Linux                    0   1  1  1931 254 63   31037517
 2 E extended LBA          2128   0  1 19456 254 63  278390385
 5 L Linux                 2128   1  1 19456 254 63  278390322

[  Quit  ]  [Deeper Search]  [ Write  ]  [Extd Part]
                          Try to find more partitions

--> [Deeper Search]

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63

The harddisk (160 GB / 149 GiB) seems too small! (< 231 GB / 215 GiB)
Check the harddisk size: HD jumpers settings, BIOS detection...

The following partition can't be recovered:
     Partition               Start        End    Size in sectors
  Linux                10775   0  1 28103 253 61  278390320

--> [Enter] (je crois)

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
     Partition               Start        End    Size in sectors
D Linux                    0   1  1  1931 254 63   31037517
D Linux                    0   2  1  1823 254 63   29302434
D HPFS - NTFS            504   0  1  7254 254 63  108454815
D HPFS - NTFS            504   0  1 19456 254 63  304479945
D Linux Swap            1824   1  1  2127 254 63    4883697
D Linux                 2128   1  1 19456 254 63  278390322

Structure: Ok.  Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
     Enter: to continue
EXT4 Large file Sparse superblock, 15 GB / 14 GiB

[ Continue ]

là j'ai fait CTRL+C, le "D" en début de ligne m'a fait craindre de supprimer quelque chose

Hors ligne

#3 Le 04/02/2012, à 16:04

rmy

Re : [résolu] /home ne monte plus

Ton disque m'a l'air en bon état. Avec testdisk, après le Quicksearch, place toi sur ta partition /home est essaye de voir si tu peux lister les fichiers (touche P).

Hors ligne

#4 Le 04/02/2012, à 16:16

vertie

Re : [résolu] /home ne monte plus

vertie a écrit :

2) j'ai fait une image de mon disque avec ddrescue sur un disque dur externe, et je voudrais accéder à mes données sauvegardées (mais je n'ai pas encore essayé de monter l'image par crainte de faire une ânerie)

Bon, j'ai cherché et trouvé comment faire, mais j'obtiens des erreurs et là, je sèche.

ubuntu@ubuntu:~$ sudo sfdisk -luS /media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd
Disque /media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd : impossible d'obtenir la géométrie

Disque /media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd : 19457 cylindres, 255 têtes, 63 secteurs/piste
Attention : 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
/media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd1   *        63 312576704  312576642   5  Etendue
/media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd2             0         -          0   0  Vide
/media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd3             0         -          0   0  Vide
/media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd4             0         -          0   0  Vide
/media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd5           126  29302559   29302434  83  Linux
/media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd6      29302623  34186319    4883697  82  Linux swap / Solaris
/media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd7      34186383 312576704  278390322  83  Linux
ubuntu@ubuntu:~$

Les messages d'alerte en haut m'inquiètent un peu, mais je continue :
La partition qui m'intéresse est la dd7.

ubuntu@ubuntu:~$ sudo losetup /dev/loop1 /media/71258381-c1ba-4b8e-baf2-fe25ccc0856b/imagedisque.dd -o 17503428096 --sizelimit 142535844864

Aucun message d'erreur, donc ça m'encourage. J''essaie de monter la partition (ça se dit ?) :

ubuntu@ubuntu:~$ sudo mount /dev/loop1 test/ -o ro
mount : type erroné de syst .de fichiers, option erronée, super bloc
        erroné sur /dev/loop1, codepage ou aide manquante ou autre erreur
       Dans quelques cas certaines informations sont utiles dans syslog - essayez
       dmesg | tail  ou quelque chose du genre

ubuntu@ubuntu:~$ 

dmesg me donne :

ubuntu@ubuntu:~$ dmesg | tail
[21377.189469] sd 9:0:0:0: [sdf] Assuming drive cache: write through
[21377.192396] sd 9:0:0:0: [sdf] Assuming drive cache: write through
[21377.192407]  sdf: sdf1
[21377.223750] sd 9:0:0:0: [sdf] Assuming drive cache: write through
[21377.223760] sd 9:0:0:0: [sdf] Attached SCSI disk
[21377.812672] kjournald starting.  Commit interval 5 seconds
[21377.813834] EXT3 FS on sdf1, internal journal
[21377.813845] EXT3-fs: mounted filesystem with ordered data mode.
[22307.649263] EXT3-fs error (device loop1): ext3_check_descriptors: Block bitmap for group 4 not in group (block 164865)!
[22307.649274] EXT3-fs: group descriptors corrupted!
ubuntu@ubuntu:~$ 

et pareil si je force le système de fichiers avec l'option -t ext3 dans le mount

Est-ce que je me suis trompée quelque part ?

Hors ligne

#5 Le 04/02/2012, à 16:21

vertie

Re : [résolu] /home ne monte plus

rmy a écrit :

Ton disque m'a l'air en bon état. Avec testdisk, après le Quicksearch, place toi sur ta partition /home est essaye de voir si tu peux lister les fichiers (touche P).

merci rmy

oui je peux voir la liste des fichiers :

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
   L Linux                 2128   1  1 19456 254 63  278390322
Directory /

drwxr-xr-x     0     0      4096 19-Dec-2010 07:53 .
drwxr-xr-x     0     0      4096 19-Dec-2010 07:53 ..
drwx------     0     0     16384 30-Aug-2009 05:36 lost+found
drwxr-xr-x  1000  1000     12288 10-Jan-2012 18:44 archie
drwxr-xr-x  1001  1001      4096 13-Jan-2012 17:08 sophie
drwxr-xr-x  1002  1002      4096  4-Oct-2009 06:30 invite
-rw-r--r--  1001  1001       919 28-Dec-2011 20:46 sophie_old
drwxrwxrwx   120 65534      4096 30-Dec-2010 20:58 ftp
-rw-r--r--  1001  1001        43 17-Dec-2011 08:12 transferts



Use Right arrow to change directory, c to copy,
    h to hide deleted files, q to quit

Hors ligne

#6 Le 04/02/2012, à 16:38

rmy

Re : [résolu] /home ne monte plus

sudo fsck -y /dev/loop1

Hors ligne

#7 Le 04/02/2012, à 16:40

vertie

Re : [résolu] /home ne monte plus

même message que quand mon home ne monte pas :

ubuntu@ubuntu:~$ sudo fsck -y /dev/loop1
fsck de util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
fsck.ext3: Les descripteurs de groupe semblent en mauvais état... tentons d'utiliser les blocs de sauvetage...
fsck.ext3: Filesystem revision too high when using the backup blocks
fsck.ext3 : retour au superblock originel
fsck.ext3: Périphérique ou ressource occupé lors de la tentative d'ouverture de /dev/loop1
Système de fichier monté ou ouvert en mode exclusif par un autre
programme ?
ubuntu@ubuntu:~$

Hors ligne

#8 Le 04/02/2012, à 16:59

rmy

Re : [résolu] /home ne monte plus

Bon, bah monte avec un autre superbloc, et copie tes fichiers (rsync -a) vers un autre support, reformate correctement ton /home et refais ton transfert…

mkdir secours
sudo mount -o sb=131072 /dev/loop1 ~/secours

Hors ligne

#9 Le 04/02/2012, à 17:25

vertie

Re : [résolu] /home ne monte plus

quand j'exécute

sudo mount -o sb=131072 /dev/loop1 ~/secours

j'ai ce message d'erreur :

ubuntu@ubuntu:~$ sudo mount -o sb=131072 /dev/loop1 ~/secours
mount : type erroné de syst .de fichiers, option erronée, super bloc
        erroné sur /dev/loop1, codepage ou aide manquante ou autre erreur
       Dans quelques cas certaines informations sont utiles dans syslog - essayez
       dmesg | tail  ou quelque chose du genre

ubuntu@ubuntu:~$ 

dmesg donne :

[27060.029453] EXT3-fs: loop1: couldn't mount because of unsupported optional features (4eef8180).

Hors ligne

#10 Le 04/02/2012, à 18:18

rmy

Re : [résolu] /home ne monte plus

Je n'ai pas vérifié tes calculs pour le loopdevice et là, je suis en galère avec mon chauffe eau, l'eau a gelé dans les tuyaux. Je repasse plus tard, mais l'idée est de prendre les SB de secours pour essayer de monter ta partition.

Essaye avec le suivant (probablement sb=393216) et en prenant ta partition sda7 plutôt que le loopdevice.

Hors ligne

#11 Le 04/02/2012, à 18:21

rmy

Re : [résolu] /home ne monte plus

Pour lister les emplacements théoriques des superblocs :

mke2fs -n /dev/sda7

n'oublie surtout pas le -n

les valeurs sont probablement 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,  4096000, 7962624, ... ou quelque chose du genre.

Pour le mount, il faut multiplier par 4 ces valeurs car tu as vraissemblablement une ligne comme ça dan ton mke2fs :

Taille de bloc=4096 (log=2)

Hors ligne

#12 Le 04/02/2012, à 18:42

vertie

Re : [résolu] /home ne monte plus

Wow, mon /home est monté ! (je suis limite hystérique.. non, en fait je SUIS hystérique)

Le rsync est en cours.

Je ne veux pas crier victoire dès maintenant, mais MERCI !!! d'avoir pris le temps de m'aider ! Je passe le sujet en résolu dès que j'ai tout sauvegardé en triple..

Bon courage pour ton chauffe-eau, c'est vraiment pas le moment que ce genre de truc tombe en panne..

Hors ligne

#13 Le 04/02/2012, à 19:49

rmy

Re : [résolu] /home ne monte plus

smile cool !

Hors ligne