Forums

Resolved
0 votes
Hello,

I started with a new installation of ClearOS 7 after a few years of absence. I have a system with 2 1Tb disks and a 250Gb SSD (used for Squid cache) .
While installing I followed the steps in this artikle, https://documentation.clearos.com/content:en_us:7_d_raid_1_-_mirroring and things wend well.
Checking with mdstat showed progress in building a RAID1 config on the 2 1Tb disks.

After installation I see in the web console the following;

https://www.fdad.nl/screen1.jpg

And mdstat gives this;

https://www.fdad.nl/screen2.jpg

Something tells me that I don't have a RAID1 config at all..

Am I wrong or is everything oke?

Regards Ruud.
Saturday, July 24 2021, 10:01 AM
Share this post:
Responses (5)
  • Accepted Answer

    Sunday, July 25 2021, 05:27 PM - #Permalink
    Resolved
    0 votes
    I don't know RAID very well, I'm away from home and my only RAID machine is powered off so I can't have a look. I would use commands like:
    fdisk -l
    lsblk
    cat /etc/fstab
    to see how things are set up. Also mdadm has a some commands to help. It is a bit more complicated if you are using the LVM on top of RAID.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, July 25 2021, 10:57 AM - #Permalink
    Resolved
    0 votes
    Hello Nick,

    Thanx for the info. Can you see, with the output of the cli, if my RAID1 is configured in the right way?

    Regards Ruud.

    Nick Howitt wrote:

    The Storage Manager does not work properly for RAID, so disregard what you are seeing. The command line is probably better. There is also quite a lot of information in the HowTo's.

    BTW, you only need an SSD for a squid cache if you have a fast line, perhaps > 50 Mb/s, and, even then, if you have a fast line, you might as well turn the squid cache off. Personally I'd have installed onto SSD then put things like flexshares onto RAID (and perhaps backup /etc there as well).
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, July 25 2021, 10:42 AM - #Permalink
    Resolved
    0 votes
    Hello Marcel,

    Thanx for your answer. I have set the motherboard SATA controllers to ACHI and made the mirror while installing Clearos. So no onboard RAID array.
    The documentation is, as far as I can see, for software RAID1. And that's what I want. My main concern is that looking at the Storage manager screen
    is that the second disk shows that it's not in use. And the cli states it is.

    Regards, Ruud.

    Marcel van Leeuwen wrote:

    Hi Ruud, welcome back.

    Were did you installed your system? On the RAID array? I think the documentation is for installing a system on a RAID 1 array. The documentation lets you install 3 partitions. /, /boot and swap. Or do you want a separate RAID 1 array for data storage?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, July 25 2021, 09:15 AM - #Permalink
    Resolved
    1 votes
    The Storage Manager does not work properly for RAID, so disregard what you are seeing. The command line is probably better. There is also quite a lot of information in the HowTo's.

    BTW, you only need an SSD for a squid cache if you have a fast line, perhaps > 50 Mb/s, and, even then, if you have a fast line, you might as well turn the squid cache off. Personally I'd have installed onto SSD then put things like flexshares onto RAID (and perhaps backup /etc there as well).
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, July 25 2021, 08:00 AM - #Permalink
    Resolved
    1 votes
    Hi Ruud, welcome back.

    Were did you installed your system? On the RAID array? I think the documentation is for installing a system on a RAID 1 array. The documentation lets you install 3 partitions. /, /boot and swap. Or do you want a separate RAID 1 array for data storage?
    Like
    1
    The reply is currently minimized Show
Your Reply