반응형
lvm으로 묶여있던 HDD를 분리하기 위해 작업하던중 Logical volume rl/lvhome contains a filesystem in use.
~ contains a filesystem in use. 에러가 발생했다.
해당에러가 발생하면서 umount가 되지 않는다. 위작업은 lvremove 명령 실행시 발생했다.
fuser 명령을 이용해 kill 하고 진행하도록 한다.
root@debian40:/# lvremove /dev/rl/lvhome
Logical volume rl/lvhome contains a filesystem in use.
root@debian40:/# lsof | grep home
sftp-serv 472944 cecil cwd DIR 254,0 4096 1572866 /home/cecil
bash 473062 cecil cwd DIR 254,0 4096 1572866 /home/cecil
root@debian40:/# fuser -kuc /home/cecil
반응형
'Linux' 카테고리의 다른 글
lvm2 pvcreate 명령사용시 Cannot use /dev/sda device is partitioned 출력될때 (0) | 2025.03.02 |
---|---|
Debian LVM 설정 (0) | 2024.02.16 |
LVM 파티션 복구 (0) | 2024.02.16 |
Rocky linux 네트워크 카드 전송속도등 변경 (1) | 2023.11.23 |
Rocky Linux 9.1 NGINX 설치 (0) | 2023.04.04 |