root@lydb /\]# lvremove /dev/mapper/openeuler-home Logical volume openeuler/home contains a filesystem in use. \[root@lydb /\]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 4.0M 0 4.0M 0% /dev tmpfs 7.6G 0 7.6G 0% /dev/shm tmpfs 3.1G 8.6M 3.1G 1% /run tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup /dev/mapper/openeuler-root 60G 13G 45G 22% / tmpfs 7.6G 0 7.6G 0% /tmp /dev/vda1 974M 264M 643M 30% /boot \[root@lydb /\]# mount /dev/mapper/openeuler-home /home \[root@lydb /\]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 4.0M 0 4.0M 0% /dev tmpfs 7.6G 0 7.6G 0% /dev/shm tmpfs 3.1G 8.6M 3.1G 1% /run tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup /dev/mapper/openeuler-root 60G 13G 45G 22% / tmpfs 7.6G 0 7.6G 0% /tmp /dev/vda1 974M 264M 643M 30% /boot /dev/mapper/openeuler-home 30G 28K 28G 1% /home \[root@lydb /\]# lsof /home COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME bash 840672 oracle cwd DIR 253,2 0 1700609 /oracle (deleted) \[root@lydb /\]# kill -9 840672 \[root@lydb /\]# lsof /home/ \[root@lydb /\]# umount -l /home \[root@lydb /\]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 4.0M 0 4.0M 0% /dev tmpfs 7.6G 0 7.6G 0% /dev/shm tmpfs 3.1G 8.6M 3.1G 1% /run tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup /dev/mapper/openeuler-root 60G 13G 45G 22% / tmpfs 7.6G 0 7.6G 0% /tmp /dev/vda1 974M 264M 643M 30% /boot \[root@lydb /\]# lvremove /dev/mapper/openeuler-home Do you really want to remove active logical volume openeuler/home? \[y/n\]: y Logical volume "home" successfully removed.
lvm-lv删除告警 Logical volume openeuler/home contains a filesystem in use.
bestsun9992024-10-14 22:04
相关推荐
h***673723 分钟前
Prometheus(普罗米修斯)----- Nginx监控颜颜yan_28 分钟前
基于CANN多Stream异步执行的智能推理管道:突破传统串行瓶颈代码游侠1 小时前
学习笔记——数据结构学习j***49561 小时前
Linux(CentOS)安装 Nginx陶庵看雪1 小时前
服务器纳管:核心概念与全流程解析xuanzdhc1 小时前
Gitgitlaocooon5238578861 小时前
win下制作一个简单的Cmake,完成运行效果北顾南栀倾寒1 小时前
[杂学笔记]HTTP与HTTPS的区别、HTTPS进行TLS握手的过程、HTTPS如何防止中间人攻击、HTTP1.1与HTTP2.0的区别、TCP的拥塞控制on_pluto_2 小时前
【debug】关于如何让电脑里面的两个cuda共存CodeByV2 小时前
【Linux】进程信号深度解析:从中断本质到信号捕捉全流程