Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unmounting disconnected network filesystems [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
barrymac
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2004
Posts: 87

PostPosted: Thu Jun 18, 2009 11:47 am    Post subject: unmounting disconnected network filesystems [solved] Reply with quote

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
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Thu Jun 18, 2009 1:18 pm    Post subject: Reply with quote

you already tried "umount -l" and "umount -f", right?
Back to top
View user's profile Send private message
barrymac
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2004
Posts: 87

PostPosted: Thu Jun 18, 2009 1:30 pm    Post subject: [solved] Reply with quote

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 :oops:

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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