OMV5 and BPI-W2 sata disk not found (debian10 kernel 4.9)

  • Hi

    i have bananapi-W2 board

    with debian 10 buster kernel 4.9 linux from bananapi


    and i install omv5


    I have problem with sata disks. linux found disks and place name /dev/sata (not dec/sdX) !!!

    linux found disks and mount its fine.

    if i insert usb flash disk it is found with omv good, itis name /dev/sdX


    please said for mi, OMV5 support disks with name /dev/sataa or /dev/satab ?


    i check with

    Code
    omv-rpc -u admin "diskmgmt" "enumerateDevices" | python3 -m json.tool


    but this command found only emmc drive, sata drive not found

    Einmal editiert, zuletzt von sass20 () aus folgendem Grund: add

  • Hi,


    Don't know if you're still trying to make this work. I've had this problem yesterday. OMV has some regexes to only read from sd* drives.

    To have it read sata* you need to:


    Code
    sudo nano /usr/lib/python3/dist-packages/openmediavault/device/plugins/sd.py
    change: sd[a-z]+ to sd[a-z]+|sata[a-z]+
    change: sd[a-z]+[0-9] to sd[a-z]+[0-9]*|sata[a-z]+[0-9]*
    save & exit
    
    sudo nano /usr/lib/python3/dist-packages/openmediavault/device/plugins/sd.py
    change: ^sd[a-z]+[0-9]*$ to ^sd[a-z]+[0-9]*$|^sata[a-z]+[0-9]*$
    save & exit
    
    sudo reboot

    result below

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!