0
I'm trying to unmount a backup filesystem that I don't need anymore. When I run the "umount" command, system says:
umount: /backup: target is busy
And following commands does not work and same reason (busy) returns to me:
fuser -cuk /backup
fuser -k -9 /backup
umount -f /backup
mount -o remount /backup; umount /backup
and
lsof |grep /backup | grep -v "backup.log"
command returns nothing already. (grep -v is because ignore backup.log files. If I'm wrong I can change.)
Why I cannot umount this filesystem and how can I do?
Edit:
Commands those are I tried and outputs of them:
myserver:~ # fuser -cuk /backup
myserver:~ # fuser -k -9 /backup
myserver:~ # umount -f /backup
umount: /backup: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
myserver:~ # mount -o remount /backup; umount /backup
umount: /backup: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
myserver:~ #
OS Version:
myserver:~ # cat /etc/os-release
NAME="SLES_SAP"
VERSION="12-SP2"
VERSION_ID="12.2"
PRETTY_NAME="SUSE Linux Enterprise Server for SAP Applications 12 SP2"
ID="sles_sap"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles_sap:12:sp2"
And when I check the I/O with "iostat" command I see the physical disk (/dev/sdx) that mounted to this filesystem, there are reading but no writing.
Mounted list:
myserver:~ # mount | grep backup
/dev/mapper/vgbackup-lvbackup on /backup type xfs (rw,relatime,attr2,inode64,noquota)
yes. none of them works. How can I check respawned processes? If there is one of them, how can't I see this processes or open files? It's so weird. – Gefolge – 2018-12-24T10:23:40.200
One thing that doesn't show in lsof is mount points. So, if you have mounted something to a directory in that filesystem, or mounted a file from that FS somewhere else (
mount -o loop ...
) they won't show in lsof but prevent umounting. – xenoid – 2018-12-24T10:36:01.963I cannot see anything that mounted to /backup or under of /backup at neither fstab nor df -h command. – Gefolge – 2018-12-24T10:52:31.043
my question format has been broken :) it doesn't show code blocks. I'm so lucky today. (ok that was my fault. i fixed it.) – Gefolge – 2018-12-24T11:08:55.157