<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 1 December 2016 at 11:44, Jean-Yves Avenard <span dir="ltr"><<a href="mailto:jyavenard@gmail.com" target="_blank">jyavenard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1 December 2016 at 00:22, Michael T. Dean <<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>> wrote:<br>
<br>
> Are you sure your MySQL temp directory is on the file system that has<br>
> sufficient space?<br>
<br>
yes..<br>
<br>
There's always about 56GB left on the SSD, I only have a / partition<br>
(and /home but being btrfs all partitions have the same free space<br>
amount)<br>
<br>
><br>
> <a href="https://dev.mysql.com/doc/refman/5.7/en/temporary-files.html" rel="noreferrer" target="_blank">https://dev.mysql.com/doc/<wbr>refman/5.7/en/temporary-files.<wbr>html</a><br>
><br>
> Also, note that things are handled differently with InnoDB versus MyISAM<br>
> storage engines (as explained in the link, above). Might want to check:<br>
><br>
> SHOW VARIABLES LIKE '%tmpdir%';<br>
<br>
mysql> SHOW VARIABLES LIKE '%tmpdir%';<br>
+-------------------+-------+<br>
| Variable_name | Value |<br>
+-------------------+-------+<br>
| slave_load_tmpdir | /tmp |<br>
| tmpdir | /tmp |<br>
+-------------------+-------+<br>
2 rows in set (0.00 sec)<br>
<br>
/tmp as such is on the / partition, which has 56GB free.<br>
<br>
><br>
> to see if that gives any hints as to what's happening. Though if the temp<br>
> file error was just myisamcheck , that may just be because you weren't in<br>
> your MySQL data directory when you ran it?<br>
<br>
The error about the inability to create a temp file is given by<br>
mysqlcheck --repair mythconverg -u root -p<br>
at the time / had 56GB free.<br>
I could reproduce consistently doing mysqlcheck --repair mythconverg -u root -p<br>
I always get a temp error regardless of free disk space.<br>
<br>
myisamcheck is obviously run inside the /var/lib/mysql/mythconvert<br>
directory. It's the only command that works that will then make<br>
mysqlcheck succeed.<br><br></blockquote><div> </div></div></div><div class="gmail_extra">Are you sure /tmp is on /, and isn't mounted using a tmpfs (i.e. using ram rather than disk)?<div><br></div><div>What does</div><div> df -h /tmp</div><div>show?</div></div></div>