No disk available for RAID create when using VMDK in virtualbox

  • Hi.
    I want to use hard drives on OMV installed on virtualbox. I can create VMDK files for using disks as "raw" disks in OMV VM, and this works if I create file system on that VMDK disk. But I can not get those VMDK disks listed in RAID create window.
    Do I miss something from documentation or this configuration can not work (vmdk into RAID array) ?
    Thank you.

    • Offizieller Beitrag

    Only devices that are clean are listed in the RAID creation dialog. So make sure no filesystem is on it or it is not part of a LVM or other RAID. You can check that with


    Bash
    # blkid



    for example.

  • Thank you. Solution: I started with blkid and finished with

    Bash
    dd if=/dev/zero of=/dev/sda bs=512 count=1

    Then I saw disks in OMV VM in RAID create window.


    In terminal of OMV with blkid command I found that disk still have partition type. Removing partitions with gparted did not erase MBR and information about partition table type. Gparted is good but to erase MBR I used dd command. Now disk is "clean".

Jetzt mitmachen!

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