Cant get RAID information with my usb disks

  • Hey guys!


    Im using openmedia with my raspberry pi 4b+ and i have two sata disks using with this adapter:

    61j8cx1FpcL._AC_SL1500_.jpg

    Well, i dnt have any vender information, this is genuine OEM adapter.

    The problem is: the openmedia cant get SMART information os this disks, and i have a lot of bugs in the dashboard:




    Any ideas to try to fix that?

    At windows system, this adapter works fine and i get all the smart information like temperature and all the others. This issue is only at openmedia/linux system!


    Thanks.

    • New
    • Official Post

    If you are powering the disks from the RPi, it might be undervolting.

    Some usb adapters aren't supported by smart.

    Raid is not supporting on any usb adapters in OMV.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • If you are powering the disks from the RPi, it might be undervolting.

    Some usb adapters aren't supported by smart.

    Raid is not supporting on any usb adapters in OMV.

    1. No, i dnt have undervolting problems cause im using the raspberry pi official hub with extra power suply.

    2. This adapters get smarts informations on windows, so the problema is not the adapter, i guess the linux is not compatible yet, or need some extras configuration

    3. Well, im using this disks with usb adapters and ZFS raid1 pool is working fine here

    • New
    • Official Post

    1. No, i dnt have undervolting problems cause im using the raspberry pi official hub with extra power suply.

    Not powering with the RPi is the important part.


    This adapters get smarts informations on windows, so the problema is not the adapter, i guess the linux is not compatible yet, or need some extras configuration

    I would guess it just needs to be added to the smart database. Debian doesn't always have the most up to date database.


    Well, im using this disks with usb adapters and ZFS raid1 pool is working fine here

    Good luck. There is a reason it isn't supported in the omv web interface.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • New
    • Official Post

    The "openmediavault-flashmemory" is now out of service or just renamed to "openmediavault-writecache"?

    flashmemory is no longer supported and was never ported to omv8. I started completely from scratch with writecache to try to fix the broken parts of flashmemory. Their goal is the same - to prevent writes on limited write OS media.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • New
    • Official Post

    Please also check out


    • New
    • Official Post

    Why is disabled on web interface with ZFS but with BRTFS i can create raid1 with usb disk?

    The disks must be incorrectly detected as non-usb. You shouldn't want to use usb for raid. I have listed the reasons many times.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • The disks must be incorrectly detected as non-usb. You shouldn't want to use usb for raid. I have listed the reasons many times.

    Well... but, if i build a setup on RP the only way to attach disk to the system is by usb. And, if you cant create raid1, this server is very unsecure. Its a terrible idea create a nas server and dont usage the disk as raid1.

  • Actually, RAID1 is not a great idea to begin with.


    A much better way of keeping a mirror of your data is to use one drive as main storage, and create an rsync job (daily, usually) to back it up to the other drive.


    This gives you several advantages: the original and backup are separate filesystems and allow for snapshots (multiple copies of a file over time) which keep you safe from accidentally deleting or overwriting data, software failure, corruption, and so on.


    Especially in the case of USB-attached drives, this is the way to go if you have two drives.

  • I respect your opinion, but I believe that especially with the Raspberry Pi 4, which has two USB 3.0 ports allowing for two independent 5Gbps outputs, it would be a waste not to configure two SATA drives to work in RAID 1.

    Cause this increases security against data loss and eliminates the need for additional equipment for rsync. If you want something even more secure, you can use a hub and connect more drives, creating a RAID 5 configuration, thus greatly reducing the chances of data loss.

    Furthermore, ZFS is a file system that consumes little CPU, so it shouldn't be a problem for the Raspberry Pi's hardware!

    • New
    • Official Post

    And, if you cant create raid1, this server is very unsecure. Its a terrible idea create a nas server and dont usage the disk as raid1.

    Terrible idea? Why? Raid is about redundancy and availability. There is nothing redundant or available about an RPi. If you are using an RPi, you probably can deal with a downtime to restore from backup. Raid is NOT backup. backup is what makes a server "secure" not raid. I have seen raid cause more data loss many, many times more than proper backup. One wrong rm or malware and your raid 1 array means nothing.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • This is incorrect. ZFS requires much hardware resources like RAM.

    Well, I moved 900GB of data on my Raspberry Pi 4b and monitored RAM and CPU usage; it never went above 70%, so I can say it handled it without problems. It's two USB drives in RAID 1 on BRTFS.

  • Terrible idea? Why? Raid is about redundancy and availability. There is nothing redundant or available about an RPi. If you are using an RPi, you probably can deal with a downtime to restore from backup. Raid is NOT backup. backup is what makes a server "secure" not raid. I have seen raid cause more data loss many, many times more than proper backup. One wrong rm or malware and your raid 1 array means nothing.

    The ideal scenario is to have a NAS with RAID 1 or 5 and removable disks for backup. What I'm saying is that if you can't have a home NAS with RAID, what's the point of having one?

    If all security depends solely on backup, it's better to save the data directly to the computer and have the backup; it will be the same thing and cheaper. I believe that, since the hardware is handling RAID 1 without problems, it would be up to the user to choose whether they prefer to have the setup with or without RAID enabled.

    • New
    • Official Post

    The ideal scenario is to have a NAS with RAID 1 or 5 and removable disks for backup. What I'm saying is that if you can't have a home NAS with RAID, what's the point of having one?

    I don't know why raid is ideal. I have run Linux boxes for 28+ years and most of that time was without raid. I have no raid at home now and I use my NAS more than probably 99% of OMV users. Do I run raid at work? yes but availability and/or throughput are critical. And it is on hardware meant for raid. Running raid on desktop boards and SBCs via cheap usb disks is very problematic. Are you going to tell me it is fine to run raid on SMR drives too?

    since the hardware is handling RAID 1 without problems, it would be up to the user to choose whether they prefer to have the setup with or without RAID enabled.

    Right now it is. OMV did allow users to choose for many years. And my experience supporting those users since the beginning of OMV has shown that raid causes more problems than it helps by a large factor. Too many users think raid means their data is safe.

    If all security depends solely on backup, it's better to save the data directly to the computer and have the backup; it will be the same thing and cheaper.

    What? The NAS should be backup to a desktop OR the NAS should have backups. Raid has nothing to do with any of that.


    You are free to do whatever you want but we will support what we think is best for OMV users.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • ryecoaaron, I'm not saying I'm right and you're wrong, nor the other way around. I'm just saying that since OMV is open source, and therefore without guarantees, removing the option for RAID with USB disks doesn't make sense (in my opinion).

    If it were a paid solution, then OK, some dangerous options should be removed since the problems that may occur will be charged to the developers.

    My topic wasn't created because I have problems with my RAID (it works very well, thank you), but because I wanted to fix the SMART errors, since it's a very useful tool for monitoring disks.


    *MAYBE* the ideal solution would be to keep USB RAID creation disabled, but with an option to enable it in the OMV settings, along with a large warning stating "not recommended." This way, it's up to each user to decide whether or not to use it; the warning has been given that it's not a good idea, but the users continues free to choose!


    Thanks!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!