Raid 5 New setup

  • Hi


    I have installed OMV on a 160 Sata hdd, and I have 4x 500GB hdd that I have setup in a Raid 5, I want to use this as a file system, to store my data. I created the Raid and it is listed under the raid management as active. However when I click on the File System tab to create a new device I am unable to select the Raid that I have just created.


    Thanks

    • Offizieller Beitrag

    Do you have ssh enabled? What is the output of the following: cat /proc/mdstat

    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

    I didn't say it was 3.x. That is in my signature.


    ssh has nothing to do with raid but it is easier to get the output of the commands by cutting and pasting from putty (which needs ssh enabled).

    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

    You must have disabled some options. Post a pic of your ssh options. The default options are what you want.

    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!

  • Hi


    Thanks for your help


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Could not chdir to home directory /home/Alex: No such file or directory
    $ cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4]
    md0 : active (auto-read-only) raid5 sdb[0] sde[3] sdd[2] sdc[1]
    1464764928 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]


    unused devices: <none>
    $ Personalities : [raid6] [raid5] [raid4]
    md0 : active (auto-read-only) raid5 sdb[0] sde[3] sdd[2] sdc[1]
    1464764928 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]-dash: 2: Personalities: not found
    $ -dash: 3: Syntax error: "(" unexpected

    • Offizieller Beitrag

    As root, try:


    mdadm --readwrite /dev/md0

    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!

  • Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Wed Jun 1 12:16:34 2016
    root@openmediavault:~# mdadm --readwrite /dev/md0
    root@openmediavault:~# mdadm --readwrite /dev/md0
    mdadm: failed to set writable for /dev/md0: Device or resource busy
    root@openmediavault:~# mdadm --readwrite /dev/md0
    mdadm: failed to set writable for /dev/md0: Device or resource busy


    This is the result I get when I run as root.

    • Offizieller Beitrag

    Why did you run it three times? In Linux, if there is no output, it was most likely successful. What is the output of: cat /proc/mdstat

    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

    Should be working correctly now. Might need to be mounted with mount -a

    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

    What is the output of:


    blkid
    cat /etc/fstab

    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!

  • Hi These are the results of the two comands.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Thu Jun 2 11:25:14 2016 from desktop.local
    root@openmediavault:~# blkid
    /dev/sda1: UUID="dd0bd066-cd15-4ee2-bc38-64e6ac4c2466" TYPE="ext4"
    /dev/sda5: UUID="e33e8b30-bf84-4ce7-8a60-2dc50bfe314b" TYPE="swap"
    /dev/md0: UUID="2471525a-49cd-eec6-43ad-cbcd62532541" UUID_SUB="fd3a6852-d106-3214-a9a9-366c8b691269" LABEL="openmediavault:Data" TYPE="linux_raid_member"
    /dev/sdb: UUID="2946f554-afd0-f601-8a49-fb89166c428d" UUID_SUB="fa02ffb6-a681-a556-468f-f4fc7f513a40" LABEL="openmediavault:dataset1" TYPE="linux_raid_member"
    /dev/sdc: UUID="2946f554-afd0-f601-8a49-fb89166c428d" UUID_SUB="ef890d79-bc3c-c4c1-2e1f-8aa38cac3f05" LABEL="openmediavault:dataset1" TYPE="linux_raid_member"
    /dev/sdd: UUID="2946f554-afd0-f601-8a49-fb89166c428d" UUID_SUB="26eebac7-c648-370c-d626-0712b60b41ad" LABEL="openmediavault:dataset1" TYPE="linux_raid_member"
    /dev/sde: UUID="2946f554-afd0-f601-8a49-fb89166c428d" UUID_SUB="d1248a83-2627-d719-1cbd-adc4a498c2bf" LABEL="openmediavault:dataset1" TYPE="linux_raid_member"
    root@openmediavault:~#


    root@openmediavault:~# cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sde1 during installation
    UUID=dd0bd066-cd15-4ee2-bc38-64e6ac4c2466 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sde5 during installation
    UUID=e33e8b30-bf84-4ce7-8a60-2dc50bfe314b none swap sw 0 0
    /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/sr1 /media/cdrom1 udf,iso9660 user,noauto 0 0
    root@openmediavault:~#

    • Offizieller Beitrag

    ext4

    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

    That command doesn't do anything. You just need to create an ext4 filesystem in the filesystems tab.

    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!