I performed a backup using TokuDB Hot Backup to a drive that I mounted specifically for transferring data. Now I can’t unmount the drive. When I run lsof on the drive it says that mysqld has 4 files that it has read/write permission on but are deleted. Looking at the source mysql directory, the files exist, but in the backup they don’t. Trying to copy the files from mysql does transfer the files to the backup location, but it doesn’t fix the issue. I’m trying to not have to restart mysql in order to unmount this drive. I’ve tried redoing the backup, moving it to another directory and adding an exclude for the files listed, and it doesn’t resolve the issue. The output of lsof is below. Does anyone have any ideas on this?
mysqld 34959 mysql 4786u REG 8,49 0 28574175 /var/local/mysqlDump/mysql_data_dir/mysql/col
mysqld 34959 mysql 5624u REG 8,49 132032 28575014 /var/local/mysqlDump/mysql_data_dir/mysql/use
mysqld 34959 mysql 5635u REG 8,49 27435682 28575025 /var/local/mysqlDump/mysql_data_dir/mysql/tab
mysqld 34959 mysql 6966u REG 8,49 1183504 28576356 /var/local/mysqlDump/mysql_data_dir/mysql/pro