New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Raid-1: One disk reading a lot and the other writting a lot?
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
RAID is still syncing?
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.
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.
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.