π‘ Ubuntu 20.04 LTS λ²μ μμ μ§ννμ΅λλ€ !
κ²°λ‘ μ μΌλ‘ λ§μ΄νΈλ₯Ό κ°μ λ‘ ν΄μ νκ³ λ€μ mount ν΄μ£Όλ©΄ ν΄κ²°λ©λλ€.
κ°μ λ‘ λ§μ΄νΈ ν΄μ νλ λͺ λ Ήμ΄: umount -l /NAS
cifsλ‘ μ λ§μ΄νΈ λμ΄ μ¬μ©νκ³ μλ NASκ° κ°μκΈ° μλλ€.. λλΆμ μ¬μ΄νΈμμ μ λ‘λλ μ΄λ―Έμ§λ€μ΄ μ λΆ μλ°μΌλ‘ 보μ΄λ νμμ΄ λ°μνλ€..
μ°λ¦¬ μλ²μμλ NAS λ§μ΄νΈλ₯Ό 10μ΄λ§λ€ νμΈν΄μ λ§μ½ λ¨μ΄μ Έμμ κ²½μ° λ€μ λΆμ΄λλ‘ cronμ λλ¦¬κ³ μμλ€.
κ·Έλμ μ΄λ€ μ€λ₯κ° λ°μνκ³ μλ 컀λ λ‘κ·Έ /var/log/kern.log μ΄μ΄λ³΄μλ€.
Apr 27 06:54:58 ubuntu kernel: [11648455.315436] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.319163] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.322201] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.326257] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.329104] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.333025] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.337391] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.340095] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.341562] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.343018] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.347064] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.350773] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.352227] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.358670] Status code returned 0xc000006d STATUS_LOGON_FAILURE
Apr 27 06:54:58 ubuntu kernel: [11648455.364467] Status code returned 0xc000006d STATUS_LOGON_FAILURE
...
μμ κ°μ΄ λ§μ μλ¬κ° μ§μμ μΌλ‘ λ°μνκ³ μμλ€... π±
μ¬μ§μ΄ λμ€ν¬ μν μ΄ν΄λ³΄λ μλμ²λΌ λ§μ΄νΈλ λμ΄ μμ§ μμ κ² μ²λΌ λμ€κ³ μμλ€.
root@ubuntu:/var/log# df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 15M 6.3G 1% /run
/dev/sda2 231G 66G 166G 29% /
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
tmpfs 6.3G 0 6.3G 0% /run/user/1000
λ§μ΄νΈ κ²½λ‘λ₯Ό μ§μ κ°λ³΄λ μ²μ보λ κΆνκ³Ό μμ μμ λλ ν λ¦¬κ° μμλ€..
λ¬Όμνλ μ μ μλ€λ νμμΈλ° κΆνλ μμ μλ μ μ μλ μνκ° λμ΄ μλ€..
μ΄ λλ¬Έμ root κ³μ μΌλ‘λ λͺ©λ‘ μ½κΈ°, μμ λ± μλ¬΄κ³ ν μλλ€..
λ§μ΄νΈ ν΄μ λ₯Ό μλνλ λ€μκ³Ό κ°μ΄ λ°μλ€κ³ νλ€..
root@ubuntu:/# umount /NAS
umount: /NAS: target is busy.
κ°μ λ‘ λ§μ΄νΈ ν΄μ ν΄λ³΄μ
root@ubuntu:/# umount -l /NAS
κ·Έλ¬λλ NAS λλ ν 리μ κΆν λ° μμ μκ° μ μμ μΌλ‘ λ€μ λμμλ€!
μ΄μ λ€μ mount ν΄μ£Όμ..
ν΄κ²°!