Linux. device is busy ... the device is found by lsof(8) or fuser(1)
При попытке размонтировать диск возникла ошибка:
[root@dbserver38 u01]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_dbserver38-lv_root
50G 6,8G 40G 15% /
tmpfs 16G 460K 16G 1% /dev/shm
/dev/sdc2 477M 165M 283M 37% /boot
/dev/mapper/vg_dbserver38-lv_home
82G 1,2G 77G 2% /home
/dev/md0 1,8T 1,7T 32K 100% /mnt/r02tb
/dev/sda 3,6T 2,6T 829G 77% /mnt/disk4tb01
/dev/sdd 917G 113G 758G 13% /mnt/u01
[root@dbserver38 u01]# umount /dev/sdd
umount: /mnt/u01: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
[root@dbserver38 u01]# lsof /dev/sdd
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mc 5688 root cwd DIR 8,48 4096 2 /mnt/u01
bash 5690 root cwd DIR 8,48 4096 2 /mnt/u01
bash 5706 root cwd DIR 8,48 4096 2 /mnt/u01
top 5852 root cwd DIR 8,48 4096 2 /mnt/u01
bash 5864 oracle cwd DIR 8,48 4096 2 /mnt/u01
sudo 5901 root cwd DIR 8,48 4096 2 /mnt/u01
bash 5905 root cwd DIR 8,48 4096 2 /mnt/u01
lsof 6037 root cwd DIR 8,48 4096 2 /mnt/u01
lsof 6038 root cwd DIR 8,48 4096 2 /mnt/u01
Размонтировать можно командой:
[root@dbserver38 u01]# umount -l /dev/sdd
[root@dbserver38 u01]# lsof /dev/sdd
Комментарии
Отправить комментарий