Raid-1: One disk reading a lot and the other writting a lot?
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

Raid-1: One disk reading a lot and the other writting a lot?

desfiredesfire Member

So I have just installed cPanel on a Heztner server I got today and there is something has never happened to me:
sda is reading a lot 81273.53 read/second, whereas it is writting poorly: 5266.70
quite the opposite with sdb: reading: 2.30 writting: 84317.30

Only cPanel has been installed, nothing more, what could be causing this?

Comments

  • HBAndreiHBAndrei Member, Provider

    RAID is still syncing?

    Thanked by 1Aidan

    Free Uptime Monitoring - minimize your downtime by being the first to know about it.
    Free Blacklist Monitoring - don't let a few bad clients ruin your network.

  • seanhoseanho Member

    Did you just get the dedi today? If so, they usually spend the first couple of hours doing RAID1 sync; nothing to worry about, and probably not related to cPanel.

  • desfiredesfire Member
    edited August 9

    @seanho said:
    Did you just get the dedi today? If so, they usually spend the first couple of hours doing RAID1 sync; nothing to worry about, and probably not related to cPanel.
    @HBAndrei said:
    RAID is still syncing?

    Thanks, never happened to me, I will let it run until tomorrow. I was scared cause quota started to run in cPanel as well and it started to use a lot CPU and it did not stop running

  • cat /proc/mdstat if it's just software raid.

  • raindog308raindog308 Moderator

    dragon2611 said: cat /proc/mdstat if it's just software raid.

    Beat me to it. Check that and if it's still syncing - no point in analyzing until it's done.

    My Advice: VPS Advice

    For LET support, please click here.

  • desfiredesfire Member

    @raindog308 said:

    dragon2611 said: cat /proc/mdstat if it's just software raid.

    Beat me to it. Check that and if it's still syncing - no point in analyzing until it's done.

    Thanks everyone, seems to be that (so far), I will wait until it's done

    Personalities : [raid1]
    md1 : active raid1 sdb2[1] sda2[0]
    3069952 blocks super 1.2 [2/2] [UU]

    md0 : active raid1 sdb1[1] sda1[0]
    16760832 blocks super 1.2 [2/2] [UU]

    md2 : active raid1 sdb3[1] sda3[0]
    3887036224 blocks super 1.2 [2/2] [UU]
    [====>................] resync = 24.9% (971401216/3887036224) finish=256.4min speed=189493K/sec
    bitmap: 23/29 pages [92KB], 65536KB chunk

    unused devices:

  • OK... sync is over
    Personalities : [raid1]
    md1 : active raid1 sdb2[1] sda2[0]
    3069952 blocks super 1.2 [2/2] [UU]

    md0 : active raid1 sdb1[1] sda1[0]
    16760832 blocks super 1.2 [2/2] [UU]

    md2 : active raid1 sdb3[1] sda3[0]
    3887036224 blocks super 1.2 [2/2] [UU]
    bitmap: 3/29 pages [12KB], 65536KB chunk

    unused devices:

    but still having those weird stats:

    Device Trans./Sec Blocks Read/sec Blocks Written/Sec Total Blocks Read Total Blocks Written
    sdb 307.65 384.16 137258.07 11025172 3939231092
    sda 307.56 136080.30 1569.02 3905429727 45030004
    md2 25.38 774.85 1559.82 22237721 44766108
    md0 0.00 0.08 0.00 2228 0
    md1 0.02 0.30

    Also this process it starts tu use more I/O and CPU each moment:

    /sbin/quotacheck -guvamf -F vfsv0

  • Personally I prefer https://github.com/firehol/netdata to look at what the disks.etc are doing at the moment.

Sign In or Register to comment.