mysqldump: Got errno 32 on write
Description
When trying to do a mysql dump similar to:
mysqldump | gzip > /home/user/whatever/whatever.sql.gz
You get the following error:
mysqldump: Got errno 32 on write
or the following error message:
mysqldump: Got errno 28 on write
Solution
OS error code 32 is actually: Broken pipe.
- Make sure both directories /home/user and /home/user/whatever exists.
OS error code 28 is actually: No space left on device.
- Make sure you have enough free disk space.
Affected software:
Linux 2.4.x
Linux 2.6.x