LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-02-2011, 10:44 AM   #1
Igor_Yurenev
LQ Newbie
 
Registered: Jul 2011
Posts: 1

Rep: Reputation: Disabled
Invalid CIFS share and freeze on umount, ls, ...


Hello,

there is a switch from our ISP. There are two routers (network 'A' and 'B') attached to it. On network 'A' there is disk accessible via Windows shares (CIFS). I'm on network 'B'. I wanted to copy something from that disk. So I put router 'B' to network 'A' (A -> B -> ISP switch). I started copying (in midnight commander). Then after cca half an hour I realized someone put router 'A' directly to ISP switch again .

The problem is that midnight commander is now frozen (uninterruptible sleep). Same goes for 'ls' if I execute it in directory where is mount (which is my home dir). I also tried 'umount -l disk', 'umount -f disk' ... it froze (though it's killable with SIGINT).

Now after cca 15 minutes it seems it finally responded to signal and terminated (mc) and umount succeeded.

My question is: Can I force it somehow? Or set 'some timeout' smaller?

This happened to me many times before (I mounted my friends Windows share, suspended laptop and at home some application froze).

Thank you.

(Btw, I guess that with something over fuse it may not be problem, but I'm concerned with 'cifs' filesystem).

EDIT: I used mount.cifs and I'm on fresh Fedora15.

Last edited by Igor_Yurenev; 07-02-2011 at 10:55 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CIFS share does not umount at shutdown feffer777 Ubuntu 3 07-15-2010 03:20 AM
[SOLVED] umount mmc causing Invalid argument sujababuraj Linux - Kernel 3 06-08-2010 03:58 AM
samba CIFS umount hangs if disconnecting network Benanzo Linux - Networking 3 04-13-2007 08:30 AM
Mount CIFS partition as user: Invalid or missing username paco36 Linux - General 2 07-04-2005 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration