Keresés

Új hozzászólás Aktív témák

  • Serricon

    senior tag

    válasz cubix #21557 üzenetére

    Azóta volt már egy resi, most nincsen még resyncelve

    taliga@TALIGA-HS:~$ 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/sda1 during installation
    UUID=3685605b-9b5a-4352-be5c-a19485289a11 / ext4 errors=remount-ro,noatime 0 1
    # swap was on /dev/sda5 during installation
    UUID=2d78fdeb-cb78-4856-a6c6-ef27b6f029fb none swap sw 0 0
    /dev/md0 /mnt/raid1 ext4 defaults 0 0
    /dev/md1 /mnt/raid2 ext4 defaults 0 0

    taliga@TALIGA-HS:~$ dmesg|grep raid
    [ 2.867444] md: raid0 personality registered for level 0
    [ 4.883767] md: raid1 personality registered for level 1
    [ 5.005285] raid6: sse2x1 11698 MB/s
    [ 5.073197] raid6: sse2x2 14585 MB/s
    [ 5.141111] raid6: sse2x4 16819 MB/s
    [ 5.209024] raid6: avx2x1 22360 MB/s
    [ 5.298990] raid6: avx2x2 34754 MB/s
    [ 5.448714] raid6: avx2x4 31127 MB/s
    [ 5.477297] raid6: using algorithm avx2x2 (34754 MB/s)
    [ 5.505858] raid6: using avx2x2 recovery algorithm
    [ 5.661782] md: raid6 personality registered for level 6
    [ 5.689925] md: raid5 personality registered for level 5
    [ 5.717540] md: raid4 personality registered for level 4
    [ 5.747660] md: raid10 personality registered for level 10
    [ 9.066591] md/raid0:md0: md_size is 7814057984 sectors.

    (#21558) bambano:
    Gép upgrade előtt simán ment minden, lemezek se voltak mozgatva, valamint resync után használhatóak, nem tudom lehet-e olyan hiba ami csak akkor jön elő.

  • Serricon

    senior tag

    válasz Serricon #21555 üzenetére

    Próbálgatom de még mindig
    the disk drive for /mnt/raid2 is not ready yet or not present
    -átdugdostam hogy az eredeti sorrendben legyenek
    -/etc/mdadm/mdadm.conf kipucolva, csak a mdadm --detail --scan
    beillesztve a végére
    -ment rá update-initramfs -u
    ezek mind úgy, hogy resync után, működő raid-el, majd restart után újra semmi.

    Lassan végez megint a resync..
    taliga@TALIGA-HS:~$ cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md1 : active raid1 sdc[1] sdb[0]
    488255360 blocks super 1.2 [2/2] [UU]
    [================>....] resync = 83.8% (409303552/488255360) finish=20.7min speed=63378K/sec

    md0 : active raid0 sdd[1] sde[0]
    3907028992 blocks super 1.2 512k chunks

    unused devices: <none>

    Esetleg ha UUID helyett így megadom neki melyik diszk?
    DEVICE /dev/sdd /dev/sde
    ARRAY /dev/md0 metadata=1.2 name=TALIGA-HS:0 UUID=e2a9b4f7:7f0c342c:42301b6d:fcbd79ab

    DEVICE /dev/sdb /dev/sdc
    ARRAY /dev/md1 level=raid1 devices=/dev/sdb,/dev/sdc

    Lassan kifogyok a gugli találatokból is, mit lehetne még kipróbálni?
    Végső megoldás a kötet átmentése, format, új kötet, ha az sem segít akkor.. reinstall

  • Serricon

    senior tag

    Sziasztok!

    Olyan gondom van, hogy cpu/lap csere után az egyik raid-et nem tölti be a rendszer bootoláskor.
    Indulás után ha újra létrehozok egy raid1-et ugyanarra a 2 lemezre, akkor szépen resyncel, majd visszamountolom és működik, de a következő rebootnál megint eltűnik.
    Próbáltam már pár dolgot amit neten találtam, én a konfig fájlra tippelek..

    taliga@TALIGA-HS:~$ sudo mdadm --detail --scan
    ARRAY /dev/md0 metadata=1.2 name=TALIGA-HS:0 UUID=e2a9b4f7:7f0c342c:42301b6d:fcbd79ab
    ARRAY /dev/md1 metadata=1.2 name=TALIGA-HS:1 UUID=f228718e:f7fcec03:0d904788:6297a863

    Itt az első működik, a második eltűnik.

    taliga@TALIGA-HS:~$ cat /etc/mdadm/mdadm.conf
    # mdadm.conf
    #
    # Please refer to mdadm.conf(5) for information about this file.
    #

    # by default (built-in), scan all partitions (/proc/partitions) and all
    # containers for MD superblocks. alternatively, specify devices to scan, using
    # wildcards if desired.
    #DEVICE partitions containers

    # auto-create devices with Debian standard permissions
    CREATE owner=root group=disk mode=0660 auto=yes

    # automatically tag new arrays as belonging to the local system
    HOMEHOST <system>

    # instruct the monitoring daemon where to send mail alerts
    MAILADDR root

    # definitions of existing MD arrays

    # This file was auto-generated on Sun, 12 Oct 2014 13:41:50 +0200
    # by mkconf $Id$
    DEVICE /dev/sdd /dev/sde
    ARRAY /dev/md0 level=raid0 devices=/dev/sdd,/dev/sde
    DEVICE /dev/sda /dev/sdc
    ARRAY /dev/md1 level=raid1 devices=/dev/sda,/dev/sdc
    ARRAY /dev/md/0 metadata=1.2 UUID=e2a9b4f7:7f0c342c:42301b6d:fcbd79ab name=TALIGA-HS:0
    DEVICE /dev/sda /dev/sdc
    ARRAY /dev/md1 level=raid1 devices=/dev/sda,/dev/sdc

    Bármi tipp?

Új hozzászólás Aktív témák