suspend to RAM and NFS /home

Terry Barnaby terry1 at beam.ltd.uk
Fri Jul 16 10:10:13 UTC 2010


On 07/16/2010 09:59 AM, JB wrote:
> Gordon Messmer <yinyang <at> eburg.com> writes:
> 
>>
>> I have a workstation that mounts /home from an NFS server.  I'd like to 
>> be able to suspend it at night, but the system hangs before it suspends 
>> if I try.
>>
>> It only seems to hang if I'm logged in and have files open on the NFS 
>> file system.  If I log in as root on a tty instead and run "pm-suspend", 
>> the system will suspend and resume perfectly as far as I can tell.
>>
>> Is there a trick to suspend when using NFS, or is this just impossible 
>> these days?  I've tried it now and again for several years.  It works 
>> occasionally, but is broken most of the time.
> Hi,
> perhaps you could do it yourself:
>   http://palebluedot.nl/jml/computer-stuff/26-umountnfs.html
> JB
> 
> 
> 
I have found that I have to use the network init script rather than
NetworkManager. NetworkManager tries to unmount all of the NFS file system
before sleeping and this hangs.

So I did "chkconfig NetworkManager off" and "chkconfig network on".

Terry


More information about the users mailing list