Date: Tue, 27 Jun 2006 12:31:19 -0400 (EDT) From: freebsd-stable-archive@cloud9.net To: freebsd-stable@freebsd.org Subject: FreeBSD 6 and MySQL with DBs on a NAS Message-ID: <Pine.BSF.4.63.0606271226440.52603@earl-grey.cloud9.net>
next in thread | raw e-mail | index | archive | help
Hi, I was wondering if anyone else had encountered this issue and/or come up with what needs to be done to resolve it: I currently have MySQL 5.0.22 built from ports on a FreeBSD 6.1 machine with the DB data residing on a NetApp share connected via NFS. A strange thing happens often after a few hours or a couple of days, some tables that are very active start to crash for no apparent reason as far as I can tell. Example output from check table tablename: +----------------------------+-------+----------+-------------------------------------------------------------------+ | Table | Op | Msg_type | Msg_text | +----------------------------+-------+----------+-------------------------------------------------------------------+ | dbname.tablename | check | warning | Table is marked as crashed | | dbname.tablename | check | error | Found key at page 18259968 that points to record outside datafile | | dbname.tablename | check | error | Corrupt | +----------------------------+-------+----------+-------------------------------------------------------------------+ Upon moving the DB data to a local drive, the system operates flawlessly and has done so for many weeks, but I really need to keep these data on the networked share. The problem didn't happen when I was using FreeBSD 4.11, it only started after upgrading to FreeBSD 6.0 or 6.1. A poster on a MySQL mailing list suggested perhaps it could be a file locking issue at the OS level and so I post my inquiry here. I've seen this happen on FreeBSD 6.0 and 6.1 with MySQL 4.1.x and MySQL 5.0.x built from ports. Has anyone else seen this and if so has a resolution been found? -- Mark P. Hennessy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.63.0606271226440.52603>