How do you force a CIFS connection to unmount

前端 未结 11 1947
借酒劲吻你
借酒劲吻你 2021-01-29 17:32

I have a CIFS share mounted on a Linux machine. The CIFS server is down, or the internet connection is down, and anything that touches the CIFS mount now takes several minutes

11条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-29 18:28

    I use lazy unmount: umount -l (that's a lowercase L)

    Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)

提交回复
热议问题