[SOLVED]RAID vanishes after reboot

  • odd.



    I get this when I try to install the backport:


    Updating...
    Install backports 3.16 kernel and headers
    Reading package lists...
    Building dependency tree...
    Reading state information...
    linux-base is already the newest version.
    initramfs-tools is already the newest version.
    initramfs-tools set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package linux-image-3.16-0.bpo.2-amd64
    E: Couldn't find any package by regex 'linux-image-3.16-0.bpo.2-amd64'
    E: Unable to locate package linux-headers-3.16-0.bpo.2-amd64
    E: Couldn't find any package by regex 'linux-headers-3.16-0.bpo.2-amd64'

    • Offizieller Beitrag

    Debian changed the name of the backports kernel package. The next omv-extras version will have the fix. A few more tests and I will release it.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

    • Offizieller Beitrag

    It is in the testing repo now :) Make sure to refresh the page after installing new version. Lots of changes to the user interface.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • root@Caligula:~# fdisk -l


    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


    Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
    255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 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
    Disk identifier: 0x00000000


    Device Boot Start End Blocks Id System
    /dev/sdb1 1 4294967295 2147483647+ ee GPT
    Partition 1 does not start on physical sector boundary.


    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0008169e


    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 944068607 472033280 83 Linux
    /dev/sda2 944070654 976771071 16350209 5 Extended
    /dev/sda5 944070656 976771071 16350208 82 Linux swap / Solaris


    WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


    Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes
    255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 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
    Disk identifier: 0x00000000


    Device Boot Start End Blocks Id System
    /dev/sdc1 1 4294967295 2147483647+ ee GPT
    Partition 1 does not start on physical sector boundary.


    WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


    Disk /dev/sdd: 4000.8 GB, 4000787030016 bytes
    255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 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
    Disk identifier: 0x00000000


    Device Boot Start End Blocks Id System
    /dev/sdd1 1 4294967295 2147483647+ ee GPT
    Partition 1 does not start on physical sector boundary.


    WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn't support GPT. Use GNU Parted.


    Note: sector size is 4096 (not 512)


    Disk /dev/sde: 3000.6 GB, 3000592977920 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566645 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00000000


    Device Boot Start End Blocks Id System
    /dev/sde1 1 732566644 2930266576 ee GPT


    Disk /dev/md0: 8001.3 GB, 8001304920064 bytes
    2 heads, 4 sectors/track, 1953443584 cylinders, total 15627548672 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
    Disk identifier: 0x00000000


    Disk /dev/md0 doesn't contain a valid partition table
    root@Caligula:~#

    • Offizieller Beitrag

    Ok. Time to destroy the array. The fdisk indicates that the drives have partition leftover and some weird error in the first partition. Could be the ssd side. Mdadm is better with "raw" disk like sda, sdb, etc not sdb1. So if you have your data backed up, stop the array and wipe the disks in the physical disks sections. Run a secure one for 10 seconds and then a quick one for each disk. Again with fdisk check that the drives sdb1, sdc1 and so on become sdb, sdc, etc. After you finish build the array with omv Web interface once the initial sync finishes, mount and reboot to check persistence. Of course don't run the wipe for the system drive, let us know how it goes

  • ok -


    From the GUI... when I quick wiped the disk I got:



    which kinda scared me. I rewiped it "just to make sure"


    fdisk - reports:

  • okay - so it resynched.


    I had a problem with OMV "thinking" the original data volume was still there, but the volume persisted after reboot.


    I did decide to rebuild the OMV from scratch (takes like 15 min) and the raid is still there.


    but I noticed something



    I thought I read somewhere 127 is not "normal"



    so I dropped the RAID and wiped the disks to make sure... Rebuilding the RAID now. one thing - it did maintain the raid after a couple of reboots prior to me dropping it. :thumbup:

    • Offizieller Beitrag

    raid arrays don't use a partition in omv.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

Jetzt mitmachen!

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