Page 1 of 1

loop und device busy

Posted: 2003-12-27 22:51
by alexander newald
Hallo,

ich habe ein Image per Loop nach /home/alex/mnt gemounted und dann wieder ausgehängt. Leider bleibt nach dem umount loop0 irgendwie hängen:

Code: Select all

root     23582  0.1  0.0     0    0 ?        SW<  21:27   0:05 [loop0]

bash-2.05a# lsof -p 23582
COMMAND   PID USER   FD   TYPE DEVICE SIZE NODE NAME
loop0   23582 root  cwd    DIR    8,1 1024    2 /
loop0   23582 root  rtd    DIR    8,1 1024    2 /
/home lässt sich danach nicht mehr umounten (Device busy)

Auf /home wird nicht mehr zugegriffen, keine offenen Dateien, und auch mit der Bash nicht mehr in /home.

Kernel ist 2.4.19

Irgendwelche Ideen, wieso?

Re: loop und device busy

Posted: 2003-12-27 23:22
by captaincrunch

Code: Select all

losetup -d /dev/loop0

Re: loop und device busy

Posted: 2003-12-27 23:39
by alexander newald
Yep, das wars...

Jetzt stellt sich mir gleich die nächste Frage: Warum ging das früher (gestern und vorher) automatisch ?