개발/Linux

[Linux] Logical volume /dev/centos/home contains a filesystem in use.

wwwnghks 2020. 1. 17. 10:45

Logical volume '/dev/centos/home' contains a filesystem in use. 에러 발생시

 

lvlvremove 로 볼륨을 삭제할 시에 생기는 에러이다.

 

# lsof | grep home

 

위의 명령어로 오픈된 파일을 검색시에 나오면

 

# fuser -kuc /dev/centos/home

위의 명령어로 kill한다.