On Wed, Apr 08, 2009 at 09:33:12AM -0400, Steve Hsieh wrote: > Just a followup to my own post from Apr 6. My vblade targets continue to > drop out my raid array sporadically with the only message appearing in > /var/log/message: > > kernel: aoe: ata error cmd=24h stat=41h from e1.2 > kernel: aoe: unknown ioctl 0x800c0910 > I have been looking for any other hints as to what the problem is, but see > no other messages in either the initiator or target log files. > > After the above error occurs, aoe-stat still shows all targets as being up, > and I can just re-add the target back into the RAID array and everything > goes back to normal (until another target drops out with same message). > > Is there anyone who can offer me advise as to what I should do to identify > the problem?
This can happen if vblade fails to read the device for whatever reason. Unfortunately vblade does not log such failures so it's hard to tell what happened. You should check the server's log for disk errors, check the SMART status of your disks, or simply use "dd if=... of=/dev/null" on the server to check if the device you export is in fact reachable. Or modify getsec() like this: int getsec(int fd, uchar *place, vlong lba, int nsec) { int r = pread(fd, place, nsec * 512, lba * 512); if (r == -1) fprintf(stderr, "Read failed at LBA %ld: %s", lba, strerror(errno)); return r; } It would be good to modify putsec() in a similar way... Gabor -- --------------------------------------------------------- MTA SZTAKI Computer and Automation Research Institute Hungarian Academy of Sciences --------------------------------------------------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Aoetools-discuss mailing list Aoetools-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aoetools-discuss