Re: [gpfsug-discuss] wait for mount during gpfs startup

2020-04-30 Thread Skylar Thompson
On Thu, Apr 30, 2020 at 12:50:27PM +0200, Ulrich Sibiller wrote: > Am 28.04.20 um 15:57 schrieb Skylar Thompson: > >> Have you looked a the mmaddcallback command and specifically the file > system mount callbacks? > > > We use callbacks successfully to ensure Linux auditd rules are only loaded

Re: [gpfsug-discuss] wait for mount during gpfs startup

2020-04-30 Thread Ulrich Sibiller
Am 28.04.20 um 13:38 schrieb Jonathan Buzzard: Yuck, and double yuck. There are many things you can say about systemd (and I have a choice few) but one of them is that it makes this sort of hackery obsolete. At least that is one of it goals. A systemd way to do it would be via one or more

Re: [gpfsug-discuss] wait for mount during gpfs startup

2020-04-30 Thread Ulrich Sibiller
Am 28.04.20 um 13:55 schrieb Hannappel, Juergen: a gpfs.mount target should be automatically created at boot by the systemd-fstab-generator from the fstab entry, so no need with hackery like ismountet.txt... A generic gpfs.mount target does not seem to exist on my system. There are only specific

Re: [gpfsug-discuss] wait for mount during gpfs startup

2020-04-30 Thread Ulrich Sibiller
Am 28.04.20 um 15:57 schrieb Skylar Thompson: >> Have you looked a the mmaddcallback command and specifically the file system mount callbacks? > We use callbacks successfully to ensure Linux auditd rules are only loaded > after GPFS is mounted. It was easy to setup, and there's very

Re: [gpfsug-discuss] wait for mount during gpfs startup (Ulrich Sibiller)

2020-04-28 Thread Ryan Novosielski
I’ve also voted and commented on the ticket, but I’ll say this here: If the amount of time I spent on this alone (and I like to think I’m pretty good with this sort of thing, and am somewhat of a systemd evangelist when the opportunity presents itself), this has caused a lot of people a lot of

Re: [gpfsug-discuss] wait for mount during gpfs startup

2020-04-28 Thread Ryan Novosielski
> systemd-fstab-generator from the fstab entry, so no need with hackery like > ismountet.txt... > > > - Original Message - >> From: "Jonathan Buzzard" >> To: gpfsug-discuss@spectrumscale.org >> Sent: Tuesday, 28 April, 2020 13:38:01 >>

Re: [gpfsug-discuss] wait for mount during gpfs startup

2020-04-28 Thread Skylar Thompson
We use callbacks successfully to ensure Linux auditd rules are only loaded after GPFS is mounted. It was easy to setup, and there's very fine-grained events that you can trigger on: https://www.ibm.com/support/knowledgecenter/STXKQY_5.0.4/com.ibm.spectrum.scale.v5r04.doc/bl1adm_mmaddcallback.htm

Re: [gpfsug-discuss] wait for mount during gpfs startup (Ulrich Sibiller)

2020-04-28 Thread Carl Zetie - ca...@us.ibm.com
There’s an RFE related to this: RFE 125955 (https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe_ID=125955) I recommend that people add their votes and comments there as well as discussing it here in the UG. Carl Zetie Program Director Offering Management Spectrum Scale (919)

Re: [gpfsug-discuss] wait for mount during gpfs startup

2020-04-28 Thread Hannappel, Juergen
8 April, 2020 13:38:01 > Subject: Re: [gpfsug-discuss] wait for mount during gpfs startup > Yuck, and double yuck. There are many things you can say about systemd > (and I have a choice few) but one of them is that it makes this sort of > hackery obsolete. At least that is one of it

Re: [gpfsug-discuss] wait for mount during gpfs startup

2020-04-28 Thread Jonathan Buzzard
On 28/04/2020 11:57, Ulrich Sibiller wrote: Hi, when the gpfs systemd service returns from startup the filesystems are usually not mounted. So having another service depending on gpfs is not feasible if you require the filesystem(s). Therefore we have added a script to the systemd gpfs

Re: [gpfsug-discuss] wait for mount during gpfs startup

2020-04-28 Thread Frederick Stock
Have you looked a the mmaddcallback command and specifically the file system mount callbacks? Fred__Fred Stock | IBM Pittsburgh Lab | 720-430-8821sto...@us.ibm.com     - Original message -From: Ulrich Sibiller Sent by:

[gpfsug-discuss] wait for mount during gpfs startup

2020-04-28 Thread Ulrich Sibiller
Hi, when the gpfs systemd service returns from startup the filesystems are usually not mounted. So having another service depending on gpfs is not feasible if you require the filesystem(s). Therefore we have added a script to the systemd gpfs service that waits for all local gpfs filesystems