hadrien a écrit 2 commentaires

  • [^] # Re: Le problème est-il au niveau du RAID ?

    Posté par  . En réponse au message Raid 5 avec mdadm, superblock corrompu. Évalué à 1.

    Je ne peux pas lancer la commande, l'uuid n'existe pas dans /dev/disk/by-uuid/ …

    Je pense me déplacer dans un centre informatique, ce sera peut-être plus simple pour dépanner..

    Merci tout de même ! :D

  • [^] # Re: Le problème est-il au niveau du RAID ?

    Posté par  . En réponse au message Raid 5 avec mdadm, superblock corrompu. Évalué à 1.

    Merci pour la réponse, j'apporte plus de précision.

    ➜ sudo cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
    md127 : active (auto-read-only) raid5 sdb1[0] sda1[3] sdc1[1]
          7813770240 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2] [UU_]
          bitmap: 0/30 pages [0KB], 65536KB chunk
    
    ➜ sudo cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    # / was on /dev/nvme0n1p2 during installation
    UUID=ca0e034a-fcd8-4ca9-b2a0-a51f23ff917e /               ext4    errors=remount-ro 0       1
    # /boot/efi was on /dev/nvme0n1p1 during installation
    UUID=CCA5-BCE2  /boot/efi       vfat    umask=0077      0       1
    /swapfile                                 none            swap    sw              0       0
    
    #/dev/disk/by-uuid/1668204b-20ca-41ce-ab93-11219beed68d /mnt/raid auto nosuid,nodev,nofail,x-gvfs-show 0 0
    

    Quand je tente de monter le raid :

    ➜ sudo mount /dev/md127 /mnt/raid
    [sudo] password for nas-server:
    mount: /mnt/raid: wrong fs type, bad option, bad superblock on /dev/md127, missing codepage or helper program, or other error.
    

    Je ne connais pas bien dmesg mais je ne vois rien de spécial dedans…

    D'autres commmandes lancées :

    ➜ sudo fsck /dev/md127
    fsck from util-linux 2.37.2
    e2fsck 1.46.5 (30-Dec-2021)
    ext2fs_open2: Bad magic number in super-block
    fsck.ext2: Superblock invalid, trying backup blocks...
    fsck.ext2: Bad magic number in super-block while trying to open /dev/md127
    
    The superblock could not be read or does not describe a valid ext2/ext3/ext4
    filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
     or
        e2fsck -b 32768 <device>
    
    

    Désolé de mettre tout en bloc, je n'ai pas spécialement de compétences spécifiques sur du hardware linux, donc je tente un peu tout ce qui me vient à l'esprit et surtout en lisant doc et forum…