Beiträge von SwAkE

    Some more information:
    cat /proc/mdstat

    Code
    Personalities : [raid1]
    md0 : active raid1 sda[1]
          244067456 blocks super 1.2 [2/1] [_U]
          bitmap: 2/2 pages [8KB], 65536KB chunk
    
    
    unused devices: <none>


    blkid

    Code
    /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="7D5C-A285" TYPE="vfat" PARTUUID="000b5098-01"
    /dev/mmcblk0p2: LABEL="omv" UUID="5d18be51-3217-4679-9c72-a54e0fc53d6b" TYPE="ext4" PARTUUID="000b5098-02"
    /dev/mmcblk0p3: UUID="fa36508a-b3c4-4499-b30a-711dd5994225" TYPE="ext4" PARTUUID="000b5098-03"
    /dev/sda: UUID="7a4d2874-d310-fef1-9527-4c4f0b07ebdf" UUID_SUB="3f719b2a-5b97-bd31-1f27-7d2cfb00b536" LABEL="n-01:SSD250" TYPE="linux_raid_member"
    /dev/md0: LABEL="mirror01" UUID="2d91f5fe-5fd8-416f-921e-46f8f3d7c7fb" TYPE="ext4"
    /dev/sdb: UUID="7a4d2874-d310-fef1-9527-4c4f0b07ebdf" UUID_SUB="9de8b332-cbe1-62f4-59a5-8bb912b11f98" LABEL="n-01:SSD250" TYPE="linux_raid_member"
    /dev/mmcblk0: PTUUID="000b5098" PTTYPE="dos"



    mdadm --detail --scan --verbose

    Code
    ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2 name=n-01:SSD250 UUID=7a4d2874:d310fef1:95274c4f:0b07ebdf
       devices=/dev/sda

    From my understanding the above shows /dev/sdb is missing from the array.

    Hi to all, I request your help with this issue of corrupted GPT table and degraded raid.
    Configuration is a raspi 3 booting from a SD card and two SSD disks on USB adapters. Worked fine for a couple of months till this appeared in the e-mail:


    Code
    A DegradedArray event had been detected on md device /dev/md0.
    Personalities : [raid1]
    md0 : active raid1 sda[1]
          244067456 blocks super 1.2 [2/1] [_U]
          bitmap: 2/2 pages [8KB], 65536KB chunk
    unused devices: <none>


    fdisk -l reports two primary GPT tables are corrupt:


    No error found in the output of smartctl -s on -a /dev/sda and smartctl -s on -a /dev/sdb therefor I think both disks are just fine and it is a 'logical' corruption rather than a 'physical' failure.


    I guess the GPT table issue has to be solved first and then rebuild/recover the raid. The question is: how?

    The thing transfers files at 5MB/s now. that is a 5 times improvement compared to initial tests.
    This seems an acceptable speed to me given it writes on 2 mirrored disks connected to the same USB2 bus as the Ethernet connection.


    This is a completely silent 35€ RPi, not a 90dB generating 3000€ enterprise server.

    Well.... got something interesting here.


    Today both disks show up in RAID Management and I can build a mirror no problem.


    Today we had several short power failures quickly one after the other. It cycled the RPi (and the disks) fully at least twice.
    Maybe I never did a full power cycle on the raspy and the disks all together. To be honest I don't remember exactly.

    Well I started playing around with the different combinations because the thing did show only one single drive. My thinking pattern was like: As it is an all new system, something might have be dead-on-arrival. So had to test it out. And after testing the conclusion is that all the hardware works.


    Nah, the RPi is not fast, Of course not, but this is like going back to 10BaseT or comparing snail-mail with e-mail 8o 1MB/s is not enough to stream a modest video... but this is something to be solved later.


    What do you suggest as next step with the disks to make them have a 'different' serial?
    I still have 'noob' status and have no idea where that serial is coming from or how to change/alter it.


    Thanks for your quick answer btw.

    Good day to all,


    The Physical Disks tab OMV is not listing both of the USB SSD disks on my RPI3. It shows the remainder of the SD card and only 1 of the SSD drives.



    The config is like that:
    RPI 3 - 16MB SD - 2x 250GB Samsung SSD on 2 cheap USB2SATA adapters.
    Using fresh install of RPI image: rpi_3.0.51.img


    It is not a power supply issue as from the CLI both disks are visible and I could fdisk the partitions manually, create file systems, mount them and put files on them.


    Maybe this is important information:
    1/ Playing around with different combinations of disk/usb adapter I noticed the serial number of the disk that is found to be reported from the Physical Disks page never changes, even if I swap the disk for another one it remains the same.
    2/ The partitions end up in the list of the File Systems tab but it is not possible to build a mirror raid array as these do not show up in the list where to select them. (this might have something to do with what blkid reports)
    3/ Both reading and writing to SMB shares from a Win10 machine is very slow, as in slower than 1MB/s slow. The Raspi is connected with Ethernet. On the RPi downloading some random file from the internet shows 6.5MB/s, still not fast but much better.


    Some help with this would be appreciated :)