LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-26-2009, 08:16 AM   #1
jpbouza
LQ Newbie
 
Registered: Jan 2009
Location: Argentina
Posts: 2

Rep: Reputation: 0
System hangs when when another computer in the network shutdowns


Hey!
I´ve got a Home network with 2 computers. Both using Kubuntu 9.10. I have manually configured the network with nfs. I share some folders between the two computers. I´ve set up folder sharing with /etc/exports and /etc/fstab. The network disks have a local mount point in the /media folder.

Everything works OK, but the thing is that when I shutdown one of the computers in the network, the access to the filesystem of the other computer hangs. Therefore, I can´t access my disks unless I restart the computer.

I suspect that the solution might be in some mounting option I can add to the network disks in fstab.

Does anyone know the solution to this?
 
Old 11-26-2009, 12:36 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by jpbouza View Post
Hey!
I´ve got a Home network with 2 computers. Both using Kubuntu 9.10. I have manually configured the network with nfs. I share some folders between the two computers. I´ve set up folder sharing with /etc/exports and /etc/fstab. The network disks have a local mount point in the /media folder.

Everything works OK, but the thing is that when I shutdown one of the computers in the network, the access to the filesystem of the other computer hangs. Therefore, I can´t access my disks unless I restart the computer.

I suspect that the solution might be in some mounting option I can add to the network disks in fstab.

Does anyone know the solution to this?
Yes...dismount the shared disks/volumes, before you do a shutdown.
 
Old 11-27-2009, 06:00 AM   #3
jpbouza
LQ Newbie
 
Registered: Jan 2009
Location: Argentina
Posts: 2

Original Poster
Rep: Reputation: 0


So, there isn´t an automatic way for doing this? Cause in that case if one of the computers accidentally hangs, the whole network will hang too...


Is there another way of mounting the disks? A firend of mine told me that I could mount the disks through Samba shares without having a local mount point. That way, the file system does not hang, but there may be permission problems and other stuff...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Computer shutdowns out of the blue alek66 Linux - Hardware 10 11-28-2006 06:33 AM
system shutdowns KDElinux Linux - Software 2 12-30-2004 04:38 PM
user that shutdowns the computer matevzp Linux - General 1 12-07-2004 04:39 AM
system hangs when network!! javi Linux - Networking 1 12-08-2003 06:12 AM
Computer hangs after bootup if system sends reboot vrillusions Linux - Hardware 0 07-27-2003 11:02 PM

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

All times are GMT -5. The time now is 05:40 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