View previous topic :: View next topic |
Author |
Message |
barrymac Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 15 Jul 2004 Posts: 87
|
Posted: Thu Jun 18, 2009 11:47 am Post subject: unmounting disconnected network filesystems [solved] |
|
|
Hi all,
Apologies if this has been answered before but this is something I've always been irritated by with linux. If I have an NFS mount or a samba mount and something happens like a network cable gets disconnected or a system gets rebooted then I can't remount the filesystem. The lock even persists so that the system concerned won't reboot, and unless the sysrq key is enabled I have to hit the power button.
Given what reports I've read about ext4 this is actually a major hurdle to overcome before I would consider ext4, having been badly burned by XFS many years ago due to something similar.
Does anyone know a way to force the broken network filesystem to dismount ? I get permission denied messages when I use lsof or fuser to try and see what process I could kill to release them.
Thanks in advance,
Barry.
Last edited by barrymac on Thu Jun 18, 2009 1:30 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alex.blackbit Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Thu Jun 18, 2009 1:18 pm Post subject: |
|
|
you already tried "umount -l" and "umount -f", right? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
barrymac Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 15 Jul 2004 Posts: 87
|
Posted: Thu Jun 18, 2009 1:30 pm Post subject: [solved] |
|
|
em, that would be a no!!
Just the lazy unmount did it!
I guess this was my day to humiliate myself by not even reading the umount man page
thank you Alex for the pointer and you're patience with this failing bundle of neurons!
Now to get the init scripts to try that when the system powers down .. I think this should be an option after a certain timeout value.
Barry. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|