a udev rule may be easier
On Wed, Jun 24, 2020 at 1:17 PM <DHilsbos(a)performair.com> wrote:
>
> All;
>
> This conversation has been fascinating.
>
> I'm throwing my hat in the ring, though I know almost nothing about systemd...
>
> Completely non-portable, but...
> Couldn't you write a script to issue the necessary commands to the desired
drives, then create a system unit that calls it before OSD initialization?
>
> Thank you,
>
> Dominic L. Hilsbos, MBA
> Director - Information Technology
> Perform Air International, Inc.
> DHilsbos(a)PerformAir.com
>
www.PerformAir.com
>
>
>
> -----Original Message-----
> From: Frank Schilder [mailto:frans@dtu.dk]
> Sent: Wednesday, June 24, 2020 9:15 AM
> To: Marc Roos; paul.emmerich
> Cc: bknecht; ceph-users; s.priebe
> Subject: [ceph-users] Re: High ceph_osd_commit_latency_ms on Toshiba MG07ACA14TE
HDDs
>
> > I can remember reading this before. I was hoping you maybe had some
> > setup with systemd scripts or maybe udev.
>
> Yeah, doing this on boot up would be ideal. I was looking really hard into tuned and
other services that claimed can do it, but required plugins or other stuff did/does not
exist and documentation is close to non-existent.
>
> After spending a couple of days I gave up and went with the simple script-command
version.
>
> If you come across something that allows easy configuration of this at boot-time,
please let me know.
>
> Best regards,
> =================
> Frank Schilder
> AIT Risø Campus
> Bygning 109, rum S14
>
> ________________________________________
> From: Marc Roos <M.Roos(a)f1-outsourcing.eu>
> Sent: 24 June 2020 18:08:49
> To: Frank Schilder; paul.emmerich
> Cc: bknecht; ceph-users; s.priebe
> Subject: RE: [ceph-users] Re: High ceph_osd_commit_latency_ms on Toshiba MG07ACA14TE
HDDs
>
> > Sorry for the spam, but I need to add this disclaimer:
>
> > Although it is documented as safe to disable volatile write cache on a
> disk in use, I would
> > probably not do it. The required cache flush might be erroneous in the
> firmware.
>
> I can remember reading this before. I was hoping you maybe had some
> setup with systemd scripts or maybe udev.
>
>
>
> _______________________________________________
> ceph-users mailing list -- ceph-users(a)ceph.io
> To unsubscribe send an email to ceph-users-leave(a)ceph.io
> _______________________________________________
> ceph-users mailing list -- ceph-users(a)ceph.io
> To unsubscribe send an email to ceph-users-leave(a)ceph.io