Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #230251
| From | Jesper Dybdal <jd-debian-user@dybdal.dk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: mdadm usage |
| Date | 2021-01-02 14:40 +0100 |
| Message-ID | <BsPip-4nE-5@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <BrtWG-262-7@gated-at.bofh.it> <Bry0i-4LA-7@gated-at.bofh.it> <Brytj-5as-1@gated-at.bofh.it> <BrJRL-40i-13@gated-at.bofh.it> <BrKb8-47p-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2020-12-30 14:58, Andy Smith wrote: > You can see the event count with: > > # mdadm --examine /dev/sda1 # or whatever the member device is > > So yes in one way your idea that the most recently modified half is > the one chosen could be said to be correct, if by "most recently > modified" you actually mean "most number of events". > > As you were thinking, it is pretty safe to do if you never write to > the device you take out. > Thanks for introducing me to the "event count" concept. But when I look at the event counts of my RAID1 disks, I get confused: the event count seems to not increase in normal use, except that once in a while it temporarily increments by one and then decrements back again a moment later: root@nuser:~# while :; do mdadm --examine /dev/sda2 |grep "Events :"; sleep 3; done Events : 17116 Events : 17116 Events : 17116 Events : 17116 Events : 17116 Events : 17116 Events : 17116 Events : 17116 Events : 17116 Events : 17116 Events : 17116 Events : 17116 Events : 17117 Events : 17116 Events : 17116 Events : 17116 The value has been 17116 or 17117 for several days. This is the root partition and it is regularly written to (that partition has a mailserver queue directory and /var/log and ...). So if it really uses that count to determine synchronization, then I don't see how it can work. On the other hand, the timestamp value is updated "all the time". -- Jesper Dybdal https://www.dybdal.dk
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
mdadm usage "Thomas A. Anderson" <thomas.anderson@little-beak.com> - 2020-12-29 08:10 +0100
Re: mdadm usage Reco <recoverym4n@enotuniq.net> - 2020-12-29 08:30 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2020-12-29 09:40 +0100
Re: mdadm usage Felix Miata <mrmazda@earthlink.net> - 2020-12-29 08:50 +0100
Re: mdadm usage basti <mailinglist@unix-solution.de> - 2020-12-29 09:40 +0100
Re: mdadm usage "Thomas A. Anderson" <thomas.anderson@little-beak.com> - 2020-12-29 21:40 +0100
Re: mdadm usage Linux-Fan <Ma_Sys.ma@web.de> - 2020-12-30 00:00 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2020-12-30 02:00 +0100
Re: mdadm usage Michael Stone <mstone@debian.org> - 2020-12-30 02:30 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2020-12-30 09:20 +0100
Re: mdadm usage Jesper Dybdal <jd-debian-user@dybdal.dk> - 2020-12-30 14:40 +0100
Re: mdadm usage Andy Smith <andy@strugglers.net> - 2020-12-30 15:00 +0100
Re: mdadm usage Jesper Dybdal <jd-debian-user@dybdal.dk> - 2021-01-02 14:40 +0100
mdadm usage Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-12-30 15:10 +0100
Re: mdadm usage Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-12-30 15:10 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2020-12-30 21:50 +0100
Re: mdadm usage Michael Stone <mstone@debian.org> - 2020-12-30 22:40 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2020-12-30 23:20 +0100
Re: mdadm usage Andy Smith <andy@strugglers.net> - 2020-12-31 00:30 +0100
Re: mdadm usage rhkramer@gmail.com - 2020-12-31 13:30 +0100
Re: mdadm usage Michael Stone <mstone@debian.org> - 2020-12-31 15:20 +0100
Re: mdadm usage Andy Smith <andy@strugglers.net> - 2020-12-31 15:30 +0100
Re: mdadm usage Reco <recoverym4n@enotuniq.net> - 2020-12-31 15:50 +0100
Re: mdadm usage Andy Smith <andy@strugglers.net> - 2020-12-31 16:10 +0100
Re: mdadm usage Reco <recoverym4n@enotuniq.net> - 2020-12-31 16:20 +0100
Re: mdadm usage Andy Smith <andy@strugglers.net> - 2020-12-31 16:40 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2021-01-01 23:10 +0100
Re: mdadm usage Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-02 09:40 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2021-01-02 10:10 +0100
Re: mdadm usage Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-02 11:30 +0100
Re: mdadm usage Linux-Fan <Ma_Sys.ma@web.de> - 2021-01-02 14:50 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2021-01-02 16:40 +0100
Re: mdadm usage Linux-Fan <Ma_Sys.ma@web.de> - 2021-01-02 18:10 +0100
Re: mdadm usage The Wanderer <wanderer@fastmail.fm> - 2021-01-02 10:40 +0100
Re: mdadm usage Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-02 12:00 +0100
Re: mdadm usage The Wanderer <wanderer@fastmail.fm> - 2021-01-02 12:30 +0100
Re: mdadm usage Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-02 12:50 +0100
Re: mdadm usage Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-02 13:10 +0100
Re: mdadm usage The Wanderer <wanderer@fastmail.fm> - 2021-01-02 14:20 +0100
Re: mdadm usage The Wanderer <wanderer@fastmail.fm> - 2021-01-02 14:10 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2021-01-02 12:50 +0100
Re: mdadm usage "Thomas A. Anderson" <thomas.anderson@little-beak.com> - 2020-12-30 11:50 +0100
Re: mdadm usage "Alexander V. Makartsev" <avbetev@gmail.com> - 2020-12-30 13:30 +0100
Re: mdadm usage Dan Ritter <dsr@randomstring.org> - 2020-12-30 13:30 +0100
Re: mdadm usage Andy Smith <andy@strugglers.net> - 2020-12-30 15:00 +0100
Re: mdadm usage deloptes <deloptes@gmail.com> - 2020-12-30 22:10 +0100
Re: mdadm usage Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-12-31 00:00 +0100
Re: mdadm usage Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-30 09:10 +0100
Re: mdadm usage Dan Ritter <dsr@randomstring.org> - 2020-12-30 04:00 +0100
Re: mdadm usage Andy Smith <andy@strugglers.net> - 2020-12-29 14:20 +0100
Re: mdadm usage mick crane <mick.crane@gmail.com> - 2020-12-29 16:40 +0100
Re: mdadm usage "Alexander V. Makartsev" <avbetev@gmail.com> - 2020-12-29 20:40 +0100
Re: mdadm usage Andy Smith <andy@strugglers.net> - 2020-12-30 14:40 +0100
Re: mdadm usage The Wanderer <wanderer@fastmail.fm> - 2020-12-30 14:50 +0100
Re: mdadm usage mick crane <mick.crane@gmail.com> - 2020-12-30 18:00 +0100
Re: mdadm usage Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-30 19:40 +0100
csiph-web