Posts by K4BlOs

    With new information I have more questions. Please be patient with me :)

    So, do you think or do you know if is availible power manager in WebGUI for USB discs when I will install Raspbian Lite? And same question for SMART diagnostic.

    Hi,

    I'am new in OMV and Linux therefore I find someone who can halp me. I have issue with my disks. Installed OMV 5 on Raspberry PI 4 with 4GB ram and connected two 3,5" HDD's WD RED 3TB each with SATA cable JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge. My problem is when I open Disk page in WebGUI, I can see only one disk /dev/sdb but in terminal I see both.


    It's weird but In S.M.A.R.T. / Devices page I can see /dev/sda but when I click on add button in S.M.A.R.T. / Scheduled tests I see /dev/sdb


    In another thread, someone recomended set unique label not by label but by UUID. But I really don't know how do this. And what is the best way to set this. By UUID, PARTUUID etc..


    I think the best way will be probably by PARTUUID besause blkid show me same UUID for sda and sdb but I don't know how :-(


    Please help me :-)

    Hi,

    I have speed issue when copying files from RPI 4 4GB through LAN 1GBs network. Copy from PC->RPI is good about 70-80 MB/sec but copy frop RPI->PC is really bad it is only 300-500 KB/sec.

    My equipment


    Hardware:
    - Raspberry Pi 4 with 4GB RAM
    - 2x HDD 3,5" Western Digital Red 3TB (connected on USB 3.0) and ext4
    - 2x SATA cabel ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
       https://a.aliexpress.com/_BT1STb
    - each HDD is powered with external 12V/2A power supply connected to SATA JMicron cable and external 5V power supply
    - SD card SanDisk Extreme 32GB


    Software:
    - Raspbian Buster 2020-02-13
    - Openmediavault 5.3.9-1 (Usul)
    - HDD's are in raid 1 (mirror) md0 and ext4
    - samba

    Commands:
    pi@RPI-Server:~ $ sudo nano /boot/cmdline.txt
    usb-storage.quirks=152d:0578:u console=serial0,115200 console=tty1 root=PARTUUID=ea7d04d6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles



    pi@RPI-Server:~ $ lsusb
    Bus 002 Device 003: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
    Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    pi@RPI-Server:~ $ lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 2,7T 0 disk
    `-sda1 8:1 0 2,7T 0 part
    `-md0 9:0 0 2,7T 0 raid1 /srv/dev-disk-by-label-Data
    sdb 8:16 0 2,7T 0 disk
    `-sdb1 8:17 0 2,7T 0 part
    `-md0 9:0 0 2,7T 0 raid1 /srv/dev-disk-by-label-Data
    mmcblk0 179:0 0 29,7G 0 disk
    |-mmcblk0p1 179:1 0 256M 0 part /boot
    `-mmcblk0p2 179:2 0 29,5G 0 part /


    pi@RPI-Server:~ $ sudo rpi-eeprom-update
    BCM2711 detected
    BOOTLOADER: up-to-date
    CURRENT: Út zář 10 10:41:50 UTC 2019 (1568112110)
    LATEST: Út zář 10 10:41:50 UTC 2019 (1568112110)
    FW DIR: /lib/firmware/raspberrypi/bootloader/critical
    VL805: up-to-date
    CURRENT: 00013701
    LATEST: 00013701


    pi@RPI-Server:~ $ sudo hdparm -tT /dev/sda
    /dev/sda:
    Timing cached reads: 2 MB in 5.39 seconds = 380.02 kB/sec
    Timing buffered disk reads: 2 MB in 4.72 seconds = 434.14 kB/sec


    pi@RPI-Server:~ $ sudo hdparm -tT /dev/sdb
    /dev/sdb:
    Timing cached reads: 1432 MB in 2.00 seconds = 715.86 MB/sec
    Timing buffered disk reads: 18 MB in 4.35 seconds = 4.14 MB/sec


    What I try:
    - Many options in /etc/samba/smb.conf but not working
    - I was try reflashing vl805 by this https://www.raspberrypi.org/forums/view ... 7#p1490468
    not working
    - only add quirsk to cmdline quite worked for write speed but read speed is totaly bad.
    - when I connect HDD´s to USB2.0 write speed drop down to ca 10-11MB/sec (from ca 70MB/sec in USB3.0) and read speed increased to ca 10-11MB/sec (from 300-500 KB/sec in USB3.0)



    I´m at the end of my powers :( Is here someone who can help me?

    "sorry for my english :? "

    I have same problem.

    My situation: Raspberry Pi 4 4GB, Raspbian Buster and install OMV 5.3.8-1, 2x HDD 3,5" WD Red 3TB, 2x SATA to USB 3.0 powered cable, RAID1 (sda+sdb) with Ext4

    Everithing works, but in GUI - Disks I can not see both HDDs, only /dev/sdb so I can not set power management for both disks and S.M.A.R.T diagnostic.

    Disks.png

    pasted-from-clipboard.png


    But in RAID Management I can see both HDDs

    pasted-from-clipboard.png


    and File system is good mounted

    pasted-from-clipboard.png


    Command outputs:


    pi@RPI-Server:~ $ sudo cat /proc/mdstat

    Personalities : [raid1]

    md0 : active raid1 sda1[0] sdb1[1]

    2930132992 blocks super 1.2 [2/2] [UU]

    bitmap: 0/22 pages [0KB], 65536KB chunk


    unused devices: <none>


    pi@RPI-Server:~ $ lsusb

    Bus 002 Device 003: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge

    Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

    Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    pi@RPI-Server:~ $ lsblk

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

    sda 8:0 0 2,7T 0 disk

    `-sda1 8:1 0 2,7T 0 part

    `-md0 9:0 0 2,7T 0 raid1 /srv/dev-disk-by-id-md-name-RPI-Server-0

    sdb 8:16 0 2,7T 0 disk

    `-sdb1 8:17 0 2,7T 0 part

    `-md0 9:0 0 2,7T 0 raid1 /srv/dev-disk-by-id-md-name-RPI-Server-0

    mmcblk0 179:0 0 29,7G 0 disk

    |-mmcblk0p1 179:1 0 256M 0 part /boot

    `-mmcblk0p2 179:2 0 29,5G 0 part /


    pi@RPI-Server:~ $ blkid

    /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="69D5-9B27" TYPE="vfat" PARTUUID="d9b3f436-01"

    /dev/mmcblk0p2: LABEL="rootfs" UUID="24eaa08b-10f2-49e0-8283-359f7eb1a0b6" TYPE="ext4" PARTUUID="d9b3f436-02"

    /dev/sda1: UUID="a148be5a-b019-2984-bca6-8c00001b4f79" UUID_SUB="4ac3c3c4-7535-ab84-d17b-9b972c979c6f" LABEL="RPI-Server:0" TYPE="linux_raid_member" PARTUUID="6029ccdc-dcd5-40ae-85ab-0e2fcc0421c0"

    /dev/sdb1: UUID="a148be5a-b019-2984-bca6-8c00001b4f79" UUID_SUB="ee468938-fd0e-d802-9d93-1eb25ae396c5" LABEL="RPI-Server:0" TYPE="linux_raid_member" PARTUUID="32edbc8b-344e-48ec-839b-9e35da4e99b4"

    /dev/md0: LABEL="Data" UUID="912b2bac-4d72-4ab7-a49e-49019fd44617" TYPE="ext4"


    pi@RPI-Server:~ $ sudo fdisk -l

    ...

    Disk /dev/sda: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors

    Disk model: Tech

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes

    Disklabel type: gpt

    Disk identifier: DB38515C-1267-4C0C-B595-E962A3F49B8A


    Device Start End Sectors Size Type

    /dev/sda1 2048 5860532223 5860530176 2,7T Linux filesystem



    Disk /dev/sdb: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors

    Disk model: Tech

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes

    Disklabel type: gpt

    Disk identifier: BF4F6A0F-AC5B-4CAF-9C56-C077AA3E10B6


    Device Start End Sectors Size Type

    /dev/sdb1 2048 5860532223 5860530176 2,7T Linux filesystem



    Disk /dev/md0: 2,7 TiB, 3000456183808 bytes, 5860265984 sectors

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes



    Some ideas? thank you for your help