[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't umount / at shutdown



I've added a probe in the umount rc script to see what's opened just
before trying to umount filesystems. I can see the following

COMMAND    PID USER   FD   TYPE DEVICE    SIZE      NODE NAME
init         1 root  cwd    DIR    3,6    4096         2 /
init         1 root  rtd    DIR    3,6    4096         2 /
init         1 root  txt    REG    3,6   31368    512223 /sbin/init
init         1 root  mem    REG    3,6   90152    416218 /lib/ld-2.3.2.so
init         1 root  mem    REG    3,6 1279044    320309 /lib/tls/libc-2.3.2.so
init         1 root   10u  FIFO    3,6            176334 /dev/initctl
migration    2 root  cwd    DIR    3,6    4096         2 /
migration    2 root  rtd    DIR    3,6    4096         2 /
ksoftirqd    3 root  cwd    DIR    3,6    4096         2 /
ksoftirqd    3 root  rtd    DIR    3,6    4096         2 /
events/0     4 root  cwd    DIR    3,6    4096         2 /
events/0     4 root  rtd    DIR    3,6    4096         2 /
kblockd/0    5 root  cwd    DIR    3,6    4096         2 /
kblockd/0    5 root  rtd    DIR    3,6    4096         2 /
khubd        6 root  cwd    DIR    3,6    4096         2 /
khubd        6 root  rtd    DIR    3,6    4096         2 /
khelper      7 root  cwd    DIR    3,6    4096         2 /
khelper      7 root  rtd    DIR    3,6    4096         2 /
pdflush      8 root  cwd    DIR    3,6    4096         2 /
pdflush      8 root  rtd    DIR    3,6    4096         2 /
pdflush      9 root  cwd    DIR    3,6    4096         2 /
pdflush      9 root  rtd    DIR    3,6    4096         2 /
kswapd0     10 root  cwd    DIR    3,6    4096         2 /
kswapd0     10 root  rtd    DIR    3,6    4096         2 /
aio/0       11 root  cwd    DIR    3,6    4096         2 /
aio/0       11 root  rtd    DIR    3,6    4096         2 /
cifsoploc   17 root  cwd    DIR    3,6    4096         2 /
cifsoploc   17 root  rtd    DIR    3,6    4096         2 /
kseriod    138 root  cwd    DIR    3,6    4096         2 /
kseriod    138 root  rtd    DIR    3,6    4096         2 /
shpchpd_e  703 root  cwd    DIR    3,6    4096         2 /
shpchpd_e  703 root  rtd    DIR    3,6    4096         2 /
pciehpd_e  718 root  cwd    DIR    3,6    4096         2 /
pciehpd_e  718 root  rtd    DIR    3,6    4096         2 /
rc        2187 root  cwd    DIR    3,6    4096         2 /
rc        2187 root  rtd    DIR    3,6    4096         2 /
rc        2187 root  txt    REG    3,6  628684     32014 /bin/bash
rc        2187 root  mem    REG    3,6   90152    416218 /lib/ld-2.3.2.so
rc        2187 root  mem    REG    3,6  252592    416247 /lib/libncurses.so.5.4
rc        2187 root  mem    REG    3,6    9432    320311 /lib/tls/libdl-2.3.2.so
rc        2187 root  mem    REG    3,6 1279044    320309 /lib/tls/libc-2.3.2.so
rc        2187 root  mem    REG    3,6   30576    320315
/lib/tls/libnss_compat-2.3.2.so
rc        2187 root  mem    REG    3,6   74264    320314
/lib/tls/libnsl-2.3.2.so
rc        2187 root  mem    REG    3,6   34948    320319
/lib/tls/libnss_nis-2.3.2.so
rc        2187 root  mem    REG    3,6   35288    320317
/lib/tls/libnss_files-2.3.2.so
rc        2187 root    0u   CHR    5,1            176041 /dev/console
rc        2187 root    1u   CHR    5,1            176041 /dev/console
rc        2187 root    2u   CHR    5,1            176041 /dev/console
rc        2187 root  255r   REG    3,6    2717    544093 /etc/init.d/rc
S40umount 2395 root  cwd    DIR    3,6    4096         2 /
S40umount 2395 root  rtd    DIR    3,6    4096         2 /
S40umount 2395 root  txt    REG    3,6  628684     32014 /bin/bash
S40umount 2395 root  mem    REG    3,6   90152    416218 /lib/ld-2.3.2.so
S40umount 2395 root  mem    REG    3,6  252592    416247 /lib/libncurses.so.5.4
S40umount 2395 root  mem    REG    3,6    9432    320311 /lib/tls/libdl-2.3.2.so
S40umount 2395 root  mem    REG    3,6 1279044    320309 /lib/tls/libc-2.3.2.so
S40umount 2395 root  mem    REG    3,6   30576    320315
/lib/tls/libnss_compat-2.3.2.so
S40umount 2395 root  mem    REG    3,6   74264    320314
/lib/tls/libnsl-2.3.2.so
S40umount 2395 root  mem    REG    3,6   34948    320319
/lib/tls/libnss_nis-2.3.2.so
S40umount 2395 root  mem    REG    3,6   35288    320317
/lib/tls/libnss_files-2.3.2.so
S40umount 2395 root    0u   CHR    5,1            176041 /dev/console
S40umount 2395 root    1u   CHR    5,1            176041 /dev/console
S40umount 2395 root    2u   CHR    5,1            176041 /dev/console
S40umount 2395 root  255r   REG    3,6     583    544108 /etc/init.d/umountfs
lsof      2401 root  cwd    DIR    3,6    4096         2 /
lsof      2401 root  rtd    DIR    3,6    4096         2 /
lsof      2401 root  txt    REG    3,6  115192    544956 /usr/bin/lsof
lsof      2401 root  mem    REG    3,6   90152    416218 /lib/ld-2.3.2.so
lsof      2401 root  mem    REG    3,6 1279044    320309 /lib/tls/libc-2.3.2.so
lsof      2401 root    0u   CHR    5,1            176041 /dev/console
lsof      2401 root    1w   REG    3,6      33    130315 /var/log/reboot.log
lsof      2401 root    2u   CHR    5,1            176041 /dev/console
lsof      2401 root    3r   DIR    0,3       0         1 /proc
lsof      2401 root    4r   DIR    0,3       0 157351945 /proc/2401/fd
lsof      2401 root    5w  FIFO    0,7              8662 pipe
lsof      2401 root    6r  FIFO    0,7              8663 pipe
lsof      2402 root  cwd    DIR    3,6    4096         2 /
lsof      2402 root  rtd    DIR    3,6    4096         2 /
lsof      2402 root  txt    REG    3,6  115192    544956 /usr/bin/lsof
lsof      2402 root  mem    REG    3,6   90152    416218 /lib/ld-2.3.2.so
lsof      2402 root  mem    REG    3,6 1279044    320309 /lib/tls/libc-2.3.2.so
lsof      2402 root    4r  FIFO    0,7              8662 pipe
lsof      2402 root    7w  FIFO    0,7              8663 pipe


What is preventing the umount?

Thanks

Pau Capdevila



Reply to: