[ceph-users] Re: Linux Laptop Losing CephFS mounts on Sleep/Hibernate

2024-03-28 Thread Jos Collin
Need logs to check more on this. Or just call a script during wakeup? On Tue, 26 Mar 2024 at 04:16, wrote: > Hi All, > > So I've got a Ceph Reef Cluster (latest version) with a CephFS system set > up with a number of directories on it. > > On a Laptop (running Rocky Linux (latest version)) I've

[ceph-users] Re: Linux Laptop Losing CephFS mounts on Sleep/Hibernate

2024-03-28 Thread Suyash Dongre
The best way I would recommend is to disable sleep when the laptop lid closes. You will need to open the “logind.conf” file, ( sudo nano /etc/systemd/logind.conf ) and then will need to change #HandleLidSwitch=suspend to HandleLidSwitch=ignore Remove the # Remember to save and exit. You

[ceph-users] Re: Linux Laptop Losing CephFS mounts on Sleep/Hibernate

2024-03-28 Thread Dhairya Parmar
So the client session was dropped when the laptop went into sleep mode, maybe what could've happened is that since the client is silent; it failed to renew its caps in time and hit `session_autoclose` (defaults to 300 secs) and thus got evicted. As Kotresh mentioned, client logs would reveal

[ceph-users] Re: Linux Laptop Losing CephFS mounts on Sleep/Hibernate

2024-03-28 Thread Kotresh Hiremath Ravishankar
I think the client should reconnect when it's out of sleep. Could you please share the client logs to check what's happening? On Tue, Mar 26, 2024 at 4:16 AM wrote: > Hi All, > > So I've got a Ceph Reef Cluster (latest version) with a CephFS system set > up with a number of directories on it.