stec-inc / EnhanceIO

EnhanceIO Open Source for Linux
Other
420 stars 177 forks source link

Crash when writing to softraid device with cache #11

Closed TumeSai closed 11 years ago

TumeSai commented 11 years ago

Update 20130209

It seems that this no longer happens, I might have been a bit too fast to go to conclusions. When this happened the RAID6 array was still being synced, after sync was finished this has not happened anymore.


I am always crashing while writing to disk, some more info below:

Linux bb 3.7.6-030706-generic #201302040006 SMP Mon Feb 4 05:07:54 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux (Ubuntu 12.10) 4x2TB disks in RAID6 (ST2000DM001-1CH1) 2x64GB OCZ Agility 3 SSD's in RAID1 Driver downloaded & compiled 20130206

Command to create cache eio_cli create -d /dev/md/raid6p1 -s /dev/md/cache1 -m wb -b 4096 -c cache

It does not crash instantly, I can write around 1GB before this happens.

Don't see anything in the logs. Anyone else having this kind of problem?

Thanks

T

sanoj-stec commented 11 years ago

Hi TumeSai
Do you have the call trace of the crash.

TumeSai commented 11 years ago

Nope, but I have been able to hang the system couple of times now, it seems to be totally random.

Can you give me instructions how to trace it?

Update:

Happened just now when I enabled EnhanceIO to the array, copied random data to the disk and after a couple of minutes hanged the system

sanoj-stec commented 11 years ago

could you paste the contents of The /var/log/messages.

Configuring a serial port would help look at Documentation/serial-console.txt

kdump also can give useful info but takes more effort in setting up look at Documentation/kdump/kdump.txt.

onlyjob commented 11 years ago

This could be a duplicate of #9