Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
My desktop PC is running CentOS 6 and my server is running Ubuntu server 12.04. Yes that might be backwards but an issue with video limitations in Ubuntu 12.04 caused the migration to CentOS. That said... the server is used simply as a LARGE (6.5 TB) dumping ground for backup files etc. I connect to it with nfs as 1) nfs provides a much faster transfer than ssh and 2) the machines are on a private network and the server is only powered on occasionally so I am not too worried about the (in)security issues of nfs.
Recently I have been running some jobs on the server which cause it to be left up for more time than usual. I have noticed that when I suspend the desktop and then resume it the nfs mounts are no longer mounted. Is this to be expected?
When I was running Ubuntu server 10.04 I do not remember this happening although I may or may not have suspended the desktop while I had nfs mounts set. 10.04 was running an older version of the nfs server. The problem I had then was that if I shut down the server before unmounting the nfs mounts I had all sorts of issues with gnome-commander and Nautilus on the desktop. It was just about impossible to kill an nfs mount unless I brought the server back up and did a umount.
I would appreciate any insight and education which you folks might provide me.
drop that script and setup autofs, your problems will go away. the biggest advantage of autofs is that your mounts will only be mounted upon user access. so if they get disconnected when your system goes to sleep/suspend, when you access them again after waking the system up they will automatically reconnect without hanging the system or the server.
I determined that autofs was installed and with a little research I setup my configuration files. With the server running I can access my nfs mounts as if by magic. No need to run my script first If the server is off line and I attempt to access the parent directory of the mounts in Nautilus I get a blank display as if the mount names are not there. I can navigate to somewhere else as Nautilus is still responsive. On the other hand with gnome-commander if I click on the parent folder gnome-commander goes off into la la land and I eventually need to force quit. Well two out of three ain't bad !
glad its working for you. im looking forward to learning its replacement tool. sadly ive forgotten what its called as ive not messed with it enough. it will be more important with RHEL 7 specifically when paired with Fedora 19 and newer.