On Thu, 27 Nov 2003 23:41:23 +0100
shoegoo <[EMAIL PROTECTED]> wrote:
> Bonjour.
>
> Suite � une coupure de courant g un pb avec un de mes durs.
> En gros je ne peux plus rien faire les outils sont incapables de trouver
> un superblock valide
Plusieurs solutions:
1) recherche un superblock valide en k*8192+1
# fsck -b 8193 /dev/hde1
etc...
Attention, pour les gros disques, cela peut aller 32768 en 32768 (exemple
r�cent vu sur #debian-fr). Pas de secrets, il faut chercher.
2) Sinon, il y a une option qui avait bien march�, c'est de redonner une
consistence aux superblocks et de faire un fsck
# mke2fs -S /dev/hde1
# fsck /dev/hde1
Attention: -S Write superblock and group descriptors only. This
is useful if all of the superblock and backup
superblocks are corrupted, and a last-ditch recov�
ery method is desired. It causes mke2fs to reini�
tialize the superblock and group descriptors, while
not touching the inode table and the block and
inode bitmaps. The e2fsck program should be run
immediately after this option is used, and there is
no guarantee that any data will be salvageable.
Cela � permis � la personne concern�e de r�cup�rer la plupart de ses
fichiers dasn /lost+found. Un petit miracle. C'est la bombe atomique
finale. Il vaut mieux pers�verer dans la recherche d'un superblock valide.
Fran�ois Boisson
>
> le disk est en ext3
> je ne peux ni supprimer ni refaire le journal
>
> voil� ce que �a donne.
>
> <[EMAIL PROTECTED]> ~ $ fdisk /dev/hde
>
> Command (m for help): p
>
> Disk /dev/hde: 163.9 GB, 163928604672 bytes
> 255 heads, 63 sectors/track, 19929 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hde1 1 14589 117186111 83 Linux
> /dev/hde2 14590 19929 42893550 83 Linux
>
>
> <[EMAIL PROTECTED]> ~ $ mount /dev/hde1
> mount: wrong fs type, bad option, bad superblock on /dev/hde1,
> �������or�too�many�mounted�file�systems
>
> <[EMAIL PROTECTED]> ~ $ mke2fs -n /dev/hde1
> mke2fs 1.35-WIP (21-Aug-2003)
> Filesystem label=
> OS type: Linux
> Block size=4096 (log=2)
> Fragment size=4096 (log=2)
> 14663680 inodes, 29296527 blocks
> 1464826 blocks (5.00%) reserved for the super user
> First data block=0
> 895 block groups
> 32768 blocks per group, 32768 fragments per group
> 16384 inodes per group
> Superblock backups stored on blocks:
> ��������32768,�98304,�163840,�229376,�294912,�819200,�884736,�1605632,
> 2654208,
> ��������4096000,�7962624,�11239424,�20480000,�23887872
>
> <[EMAIL PROTECTED]> ~ $ e2fsck -b 32768 /dev/hde1
> e2fsck 1.35-WIP (21-Aug-2003)
> e2fsck: Attempt to read block from filesystem resulted in short read
> while checking ext3 journal for /dev/hde1
>
> <[EMAIL PROTECTED]> ~ $ tune2fs��-O�~has_journal�/dev/hde1
> tune2fs 1.35-WIP (21-Aug-2003)
> tune2fs: Attempt to read block from filesystem resulted in short read
> while trying to open /dev/hde1
> Couldn't find valid filesystem superblock.
> <[EMAIL PROTECTED]> ~ $
>
> QQun � une id�e?
> Merci bcp
> --
> shoegoo
> "Un jour elle sera mienne! Oh oui, un jour elle sera mienne!!"
>
>
> --
> Pensez � lire la FAQ de la liste avant de poser une question :
> http://savannah.nongnu.org/download/debfr-faq/html/
>
> Pensez � rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
>
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>