Laptop Losing Connectivity To CephFS On Sleep/Hibernation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I'm looking for some help/advice to solve the issue outlined in the heading.

I'm running CepfFS (name: cephfs) on a Ceph Reef (v18.2.2 - latest update) cluster, connecting from a laptop running Rocky Linux v9.3 (latest update) with KDE v5 (latest update).

I've set up the laptop to connect to a number of directories on CephFS via the `/etc/fstab' folder, an example of such is: `ceph_user@.cephfs=/my_folder  /mnt/my_folder  ceph noatime,_netdev  0 0`.

Everything is working great; the required Ceph Key is on the laptop (with a chmod of 600), I can access the files on the Ceph Cluster, etc, etc, etc - all good.

However, whenever the laptop is in sleep or hibernate mode (ie when I close the laptop's lid) and then bring the laptop out of sleep/hibernation (ie I open the laptop's lid) I've lost the CephFS mountings. The only way to bring them back is to run `mount -a` as root (or sudo). This is, as I'm sure you'll agree, not a long-term viable options - especially as this is a running as a pilot-project and the eventual end-users won't have access to root/sudo.

So I'm seeking the collective wisdom of the community in how to solve this issue.

I've taken a brief look at autofs, and even half-heartedly had a go at configuring it, but it didn't seem to work - honestly, it was late and I wanted to get home after a long day.  :-)

Is this the solution to my issue, or is there a better way to construct the fstab entries, or is there another solution I haven't found yet in the doco or via google-foo?

All help and advice greatly appreciated - thanks in advance

Cheers

Dulux-Oz
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux