Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pc weg, aber umount tut nicht [geloest]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Thu Oct 19, 2006 5:49 pm    Post subject: pc weg, aber umount tut nicht [geloest] Reply with quote

da sind 2 pcs, pc1 der eine samba freigabe hat und pc2 an dem diese samba freigabe in /mnt/martin z.b. gemountet ist
jetzt ist pc pc1 ploetzlich aus..weg.. nicht mehr da, und ich will an pc2 die /mnt/martin weg mounten
Code:

umount /mnt/martin
umount: /mnt/martin: Das Gerät wird momentan noch benutzt
umount: /mnt/martin: Das Gerät wird momentan noch benutzt

das funktioniert aber nicht
was muss jetzt tun damit umount tut?!


Last edited by pieter_parker on Fri Oct 20, 2006 10:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Thu Oct 19, 2006 6:14 pm    Post subject: Reply with quote

fuser /mnt/martin gibt dir aus, wer noch drauf zugreift.
Entweder versuchen zu beenden, oder halt killen...

Tobi
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Thu Oct 19, 2006 6:16 pm    Post subject: Reply with quote

Code:

fuser /mnt/martin
Cannot stat /mnt/martin: Host is down
Cannot stat /mnt/martin: Host is down

es dauert so ca 10..20 sekunden bis die meldunen kommen
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Thu Oct 19, 2006 6:23 pm    Post subject: Reply with quote

Müsste dann der normale Timeout von Samba sein.

Kannst du mit smbumount irgendwas machen?


Ich habe Samba seit langem nicht mehr drauf...

Tobi
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Thu Oct 19, 2006 6:29 pm    Post subject: Reply with quote

leider nichts...
Code:

smbumount /mnt/martin
/mnt/martin probably not smb-filesystem

spricht der pc da nur..
Back to top
View user's profile Send private message
AnubisTheKing
Apprentice
Apprentice


Joined: 13 Oct 2002
Posts: 166

PostPosted: Thu Oct 19, 2006 9:56 pm    Post subject: Reply with quote

schau dochmal mit "lsof|grep martin" ob noch ein Programm darauf zugreift (auch wenn /mnt/martin eigentlich nicht mehr da ist). Das Programm dann beenden.
_________________
http://www.volker-boehme.de
Back to top
View user's profile Send private message
ChrisJumper
Advocate
Advocate


Joined: 12 Mar 2005
Posts: 2406
Location: Germany

PostPosted: Thu Oct 19, 2006 10:02 pm    Post subject: Reply with quote

Und wenn du als Root versucht mit "umount" die Partition "rauszuwerfen"?

Es gibt da ja das Flag "-f" für den Fall das es ein NFS filesystem ist...... dessen Partner-Rechner schon off ist.

Code:
# umount -f /mnt/martin


Vielleicht klappt das?

Bemerkung der umount-manpage zu -f Flag:
Quote:
Force unmount (in case of an unreachable NFS system). (Requires kernel
2.1.116 or later.)
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Thu Oct 19, 2006 10:17 pm    Post subject: Reply with quote

bin root
das mit dem -f bei umount bringt auch nichts :/
und bei lsof |grep martin wird nichts aufgelistet
irgendwie scheint er das nun von selbst gecheckt zuhaben das da nichts mehr ist und ich konnte es weg mounten
aber das kann doch nicht sein das man da nichts tun kann in so einem fall
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Fri Oct 20, 2006 7:26 am    Post subject: Reply with quote

Das Problem kenn ich von nfs. Wenn da der Server nicht mehr existent ist, konnte ich bei nfs auch nicht problemlos die gemountete Partition abmelden. Mit umount /mnt/$nfs_partition blieb dann das Kommando hängen. Und auch mit umount -f ging da nichts. Besonders ärgerlich ist das dann, wenn man den Rechner runterfahren will und dabei dann den Reset-Button benutzen muß, weil das System beim Abmounten der Filesysteme beim Netzlaufwerk einfach hängen bleibt (Timeout wurde scheinbar nicht implementiert).

Wenn niemand mehr zugreift und das umount so nicht funktioniert, probier mal:
Code:

umount -l /mnt/$deine_partition

Damit ging das bei mir immer.
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Fri Oct 20, 2006 10:10 pm    Post subject: Reply with quote

eben hatte ich schon wieder so ein problem mit dem nicht weg mounten koennen

Code:

umount -l /mnt/...

scheint geholfen zuhaben

mit
Code:

umount -f /mnt/...

hatte ich leider keinen erfolg
Back to top
View user's profile Send private message
XMath
Guru
Guru


Joined: 14 Aug 2004
Posts: 435
Location: Germany, Gaimersheim

PostPosted: Sat Oct 21, 2006 11:00 am    Post subject: Reply with quote

Moin,
hast du zufällig mit dem konqueror auf die Freigabe zugegriffen?
Solche Probleme hab ich hier nämlich auch schon mal. Anscheinend beendet konqueror den Zugriff nicht sauber. Da hilft dann immer nur ein Schließen des entsprechenden konquerors.

MfG
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Sat Oct 21, 2006 12:21 pm    Post subject: Reply with quote

ne, kein konqueror benutzt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum