• Filsystemkorruption i ext4?

    From Jesper Dybdal@21:1/5 to All on Tue Mar 19 15:50:02 2024
    I have just discovered that my Debian Bullseye server thinks that a file
    has allocated 2251799813684984 blocks (!):

    root@nuser:/etc/postfix# stat master.cf.bad-size
      File: master.cf.bad-size
      Size: 10782           Blocks: 2251799813684984 IO Block: 4096 regular
    file
    Device: 900h/2304d      Inode: 10748971    Links: 1
    Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/ root)
    Access: 2024-03-19 15:23:01.002627532 +0100
    Modify: 2024-03-11 16:16:22.152186851 +0100
    Change: 2024-03-19 13:37:44.647279278 +0100
     Birth: 2023-06-13 01:07:54.542855184 +0200

    The file can be read and has the correct contents.  (I've renamed it and replaced master.cf by a fresh backup copy, so nothing will be missed if
    fsck deletes the bad file.)

    It seems to me that there is a file system corruption and/or a disk
    error and/or a RAM error.
    Had anyone else seen something like this?

    (I haven't rebooted or run fsck yet, because I want to put a monitor on
    the machine first and have time to solve problemr - and I haven't got
    that time right now.)

    My plan is to boot a rescue disk and mount that partition read-only. Then:
    * If the file looks ok after reboot, then I'll strongly suspect the RAM
    - and run memtest.
    * Otherwise, I'll have to run fsck and see what happens.

    kernel version:
    root@nuser:~# uname -a
    Linux nuser 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 GNU/Linux

    The partition in question is a RAID 1 controlled by md.

    Thanks,
    Jesper


    --
    Jesper Dybdal
    https://www.dybdal.dk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jesper Dybdal@21:1/5 to Franco Martelli on Wed Mar 20 09:20:01 2024
    [Sorry for the accidental Danish-language subject line :-( ]

    On 2024-03-19 21:47, Franco Martelli wrote:
    On 19/03/24 at 15:43, Jesper Dybdal wrote:


    My plan is to boot a rescue disk and mount that partition read-only.
    Then:
    * If the file looks ok after reboot, then I'll strongly suspect the
    RAM - and run memtest.
    * Otherwise, I'll have to run fsck and see what happens.

    kernel version:
    root@nuser:~# uname -a
    Linux nuser 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31)
    x86_64 GNU/Linux

    The partition in question is a RAID 1 controlled by md.

    Another check you can perform it is on the RAID array, by default it
    runs on the first Sunday of each month at 00:57. You should have this
    file /etc/cron.d/mdadm that takes care to run this check monthly.
    Good idea!  That should of course be done first.  It's running now.

    Before you reboot, does it look OK /proc/mdstat ?
    Yes, it seems ok.

    Thanks,
    Jesper

    --
    Jesper Dybdal
    https://www.dybdal.dk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jesper Dybdal@21:1/5 to Franco Martelli on Wed Mar 20 14:30:01 2024
    I have now done the following:
    * Checked the RAID array - no problems found.
    * Run fsck.  It found three cases of the block count being incorrect.  I don't know which the other two affected files are.
    * Run one pass of memtest86+.  Nothing found.

    So it seems not to be a problem with the disks.
    A bug in ext4?  Well, ext4 has always done its job for me wihtout problems.
    A RAM error that memtest86+ did not find?  Possible.  Once upon a time,
    when you bought an ordinary pc, its RAM had ECC as a matter of course; unfortunately, that is not the case nowadays.

    I think I'll let memtest86+ run overnight one of the coming nights.

    Unless it is simply a RAM error, then it is a bit scary...

    Regards,
    Jesper

    On 2024-03-19 21:47, Franco Martelli wrote:
    On 19/03/24 at 15:43, Jesper Dybdal wrote:


    My plan is to boot a rescue disk and mount that partition read-only.
    Then:
    * If the file looks ok after reboot, then I'll strongly suspect the
    RAM - and run memtest.
    * Otherwise, I'll have to run fsck and see what happens.

    kernel version:
    root@nuser:~# uname -a
    Linux nuser 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31)
    x86_64 GNU/Linux

    The partition in question is a RAID 1 controlled by md.

    Another check you can perform it is on the RAID array, by default it
    runs on the first Sunday of each month at 00:57. You should have this
    file /etc/cron.d/mdadm that takes care to run this check monthly.

    Before you reboot, does it look OK /proc/mdstat ?


    --
    Jesper Dybdal
    https://www.dybdal.dk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jesper Dybdal@21:1/5 to Nicholas Geovanis on Thu Mar 28 14:40:02 2024
    This is a multi-part message in MIME format.
    On 2024-03-20 22:58, Nicholas Geovanis wrote:

    On Wed, Mar 20, 2024, 11:28 AM Jesper Dybdal
    <jd-debian-user@dybdal.dk> wrote:

    I have now done the following:
    * Checked the RAID array - no problems found.
    * Run fsck.  It found three cases of the block count being
    incorrect.  I
    don't know which the other two affected files are.
    * Run one pass of memtest86+.  Nothing found.

    So it seems not to be a problem with the disks.
    A bug in ext4?  Well, ext4 has always done its job for me wihtout
    problems.
    A RAM error that memtest86+ did not find?  Possible.  Once upon a
    time,
    when you bought an ordinary pc, its RAM had ECC as a matter of
    course;
    unfortunately, that is not the case nowadays.

    I think I'll let memtest86+ run overnight one of the coming nights.

    Unless it is simply a RAM error, then it is a bit scary...


    I've now let memtest86+ run for 8 hours, during which i did 14 passes of
    all its tests.  It found nothing wrong.
    I have seen that a couple times, unlikely but possible. Maybe review
    your RAM configuration too, ensure that the sticks are on the same
    supported refresh rate and distributed across the slots in an approved
    way.

    Regards,
    Jesper

    On 2024-03-19 21:47, Franco Martelli wrote:
    > On 19/03/24 at 15:43, Jesper Dybdal wrote:
    >
    >>
    >> My plan is to boot a rescue disk and mount that partition
    read-only.
    >> Then:
    >> * If the file looks ok after reboot, then I'll strongly suspect
    the
    >> RAM - and run memtest.
    >> * Otherwise, I'll have to run fsck and see what happens.
    >>
    >> kernel version:
    >> root@nuser:~# uname -a
    >> Linux nuser 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31)
    >> x86_64 GNU/Linux
    >>
    >> The partition in question is a RAID 1 controlled by md.
    >
    > Another check you can perform it is on the RAID array, by
    default it
    > runs on the first Sunday of each month at 00:57. You should have
    this
    > file /etc/cron.d/mdadm that takes care to run this check monthly.
    >
    > Before you reboot, does it look OK /proc/mdstat ?
    >

    --
    Jesper Dybdal
    https://www.dybdal.dk




    --
    Jesper Dybdal
    https://www.dybdal.dk

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    On 2024-03-20 22:58, Nicholas Geovanis wrote:<br>
    <blockquote type="cite" cite="mid:CAJmb-YnCNDazdrjmKuZCHECdZEsCPCJuWp5Zs52xVjoe-ZLGbg@mail.gmail.com">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <div dir="auto">
    <div><br>
    <div class="gmail_quote">
    <div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2024,
    11:28 AM Jesper Dybdal &lt;<a
    href="mailto:jd-debian-user@dybdal.dk"
    moz-do-not-send="true" class="moz-txt-link-freetext">jd-debian-user@dybdal.dk</a>&gt;
    wrote:<br>
    </div>
    <blockquote class="gmail_quote"
    style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I
    have now done the following:<br>
    * Checked the RAID array - no problems found.<br>
    * Run fsck.  It found three cases of the block count being
    incorrect.  I <br>
    don't know which the other two affected files are.<br>
    * Run one pass of memtest86+.  Nothing found.<br>
    <br>
    So it seems not to be a problem with the disks.<br>
    A bug in ext4?  Well, ext4 has always done its job for me
    wihtout problems.<br>
    A RAM error that memtest86+ did not find?  Possible.  Once
    upon a time, <br>
    when you bought an ordinary pc, its RAM had ECC as a
    matter of course; <br>
    unfortunately, that is not the case nowadays.<br>
    <br>
    I think I'll let memtest86+ run overnight one of the
    coming nights.<br>
    <br>
    Unless it is simply a RAM error, then it is a bit scary...<br>
    </blockquote>
    </div>
    </div>
    <div dir="auto"><br>
    </div>
    </div>
    </blockquote>
    I've now let memtest86+ run for 8 hours, during which i did 14
    passes of all its tests.  It found nothing wrong.<br>
    <blockquote type="cite" cite="mid:CAJmb-YnCNDazdrjmKuZCHECdZEsCPCJuWp5Zs52xVjoe-ZLGbg@mail.gmail.com">
    <div dir="auto">
    <div dir="auto">I have seen that a couple times, unlikely but
    possible. Maybe review your RAM configuration too, ensure that
    the sticks are on the same supported refresh rate and
    distributed across the slots in an approved way.</div>
    <div dir="auto"><br>
    </div>
    <div dir="auto">
    <div class="gmail_quote">
    <blockquote class="gmail_quote"
    style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    Regards,<br>
    Jesper<br>
    <br>
    On 2024-03-19 21:47, Franco Martelli wrote:<br>
    &gt; On 19/03/24 at 15:43, Jesper Dybdal wrote:<br>
    &gt;<br>
    &gt;&gt;<br>
    &gt;&gt; My plan is to boot a rescue disk and mount that
    partition read-only. <br>
    &gt;&gt; Then:<br>
    &gt;&gt; * If the file looks ok after reboot, then I'll
    strongly suspect the <br>
    &gt;&gt; RAM - and run memtest.<br>
    &gt;&gt; * Otherwise, I'll have to run fsck and see what
    happens.<br>
    &gt;&gt;<br>
    &gt;&gt; kernel version:<br>
    &gt;&gt; root@nuser:~# uname -a<br>
    &gt;&gt; Linux nuser 5.10.0-28-amd64 #1 SMP Debian
    5.10.209-2 (2024-01-31) <br>
    &gt;&gt; x86_64 GNU/Linux<br>
    &gt;&gt;<br>
    &gt;&gt; The partition in question is a RAID 1 controlled
    by md.<br>
    &gt;<br>
    &gt; Another check you can perform it is on the RAID
    array, by default it <br>
    &gt; runs on the first Sunday of each month at 00:57. You
    should have this <br>
    &gt; file /etc/cron.d/mdadm that takes care to run this
    check monthly.<br>
    &gt;<br>
    &gt; Before you reboot, does it look OK /proc/mdstat ?<br>
    &gt;<br>
    <br>
    -- <br>
    Jesper Dybdal<br>
    <a href="https://www.dybdal.dk"
    rel="noreferrer noreferrer" target="_blank"
    moz-do-not-send="true" class="moz-txt-link-freetext">https://www.dybdal.dk</a><br>
    <br>
    <br>
    <br>
    </blockquote>
    </div>
    </div>
    </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">--
    Jesper Dybdal
    <a class="moz-txt-link-freetext" href="https://www.dybdal.dk">https://www.dybdal.dk</a></pre>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jesper Dybdal@21:1/5 to Nicholas Geovanis on Thu Mar 28 15:00:01 2024
    This is a multi-part message in MIME format.
    [Sorry - I accidentally sent this too quickly in an incomplete state. 
    Second try here:]

    On Wed, Mar 20, 2024, 11:28 AM Jesper Dybdal
    <jd-debian-user@dybdal.dk> wrote:


    I think I'll let memtest86+ run overnight one of the coming nights.

    Unless it is simply a RAM error, then it is a bit scary...


    I've now let memtest86+ run for 9 hours, during which it did 14 passes
    of all its tests.  It found nothing wrong.

    On 2024-03-20 22:58, Nicholas Geovanis wrote:
    I have seen that a couple times, unlikely but possible. Maybe review
    your RAM configuration too, ensure that the sticks are on the same
    supported refresh rate and distributed across the slots in an approved
    way.

    There is only one RAM stick (of 16 GB), so there should be no problems
    of that kind.

    I'm afraid I won't find an explanation of that file system corruption :-(

    Thanks to Franco and Nicholas for your responses,
    Jesper

    --
    Jesper Dybdal
    https://www.dybdal.dk

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    [Sorry - I accidentally sent this too quickly in an incomplete
    state.  Second try here:]<br>
    <br>
    <blockquote type="cite" cite="mid:CAJmb-YnCNDazdrjmKuZCHECdZEsCPCJuWp5Zs52xVjoe-ZLGbg@mail.gmail.com">
    <div dir="auto">
    <div>
    <div class="gmail_quote">
    <div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2024,
    11:28 AM Jesper Dybdal &lt;<a
    href="mailto:jd-debian-user@dybdal.dk"
    moz-do-not-send="true" class="moz-txt-link-freetext">jd-debian-user@dybdal.dk</a>&gt;
    wrote:<br>
    </div>
    <blockquote class="gmail_quote"
    style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
    I think I'll let memtest86+ run overnight one of the
    coming nights.<br>
    <br>
    Unless it is simply a RAM error, then it is a bit scary...<br>
    </blockquote>
    </div>
    </div>
    </div>
    </blockquote>
    <br>
    I've now let memtest86+ run for 9 hours, during which it did 14
    passes of all its tests.  It found nothing wrong.<br>
    <br>
    On 2024-03-20 22:58, Nicholas Geovanis wrote:<br>
    <blockquote type="cite" cite="mid:CAJmb-YnCNDazdrjmKuZCHECdZEsCPCJuWp5Zs52xVjoe-ZLGbg@mail.gmail.com">
    <div dir="auto">
    <div dir="auto">I have seen that a couple times, unlikely but
    possible. Maybe review your RAM configuration too, ensure that
    the sticks are on the same supported refresh rate and
    distributed across the slots in an approved way.</div>
    </div>
    </blockquote>
    <br>
    There is only one RAM stick (of 16 GB), so there should be no
    problems of that kind.<br>
    <br>
    I'm afraid I won't find an explanation of that file system
    corruption :-(<br>
    <br>
    Thanks to Franco and Nicholas for your responses,<br>
    Jesper<br>
    <br>
    <pre class="moz-signature" cols="72">--
    Jesper Dybdal
    <a class="moz-txt-link-freetext" href="https://www.dybdal.dk"
    moz-do-not-send="true">https://www.dybdal.dk</a></pre>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Thu Mar 28 15:10:02 2024
    Am Donnerstag, 28. März 2024, 14:49:37 CET schrieb Jesper Dybdal:
    Hello,

    memtest86+ is for testing RAM, but do you not want to test ext4 filesystem?

    If so, I suggest to boot a live system like Knoppix or similar, then run your test by using

    e2fsck -y /dev/sda1

    or wherever your filesystem resides.

    Please pay attention: If you have encrypted filesystems, then first open the encryption, do NOT mount the filesystem and then check it, for example:

    cryptsetup luksOpen /dev/sda1 data1

    then enter the password and now you can run

    e2fsck -y /dev/mapper/data1

    Note: the word "data1" is only an example, you can name it, whatever you want like "space", "soap", "bullet", "henry" or whatever.

    Hope this helps.

    Best

    Hans



    [Sorry - I accidentally sent this too quickly in an incomplete state.
    Second try here:]

    On Wed, Mar 20, 2024, 11:28 AM Jesper Dybdal

    <jd-debian-user@dybdal.dk> wrote:
    I think I'll let memtest86+ run overnight one of the coming nights.

    Unless it is simply a RAM error, then it is a bit scary...

    I've now let memtest86+ run for 9 hours, during which it did 14 passes
    of all its tests. It found nothing wrong.

    On 2024-03-20 22:58, Nicholas Geovanis wrote:
    I have seen that a couple times, unlikely but possible. Maybe review
    your RAM configuration too, ensure that the sticks are on the same supported refresh rate and distributed across the slots in an approved
    way.

    There is only one RAM stick (of 16 GB), so there should be no problems
    of that kind.

    I'm afraid I won't find an explanation of that file system corruption :-(

    Thanks to Franco and Nicholas for your responses,
    Jesper

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jesper Dybdal@21:1/5 to Hans on Thu Mar 28 16:10:02 2024
    This is a multi-part message in MIME format.
    On 2024-03-28 15:02, Hans wrote:
    Am Donnerstag, 28. März 2024, 14:49:37 CET schrieb Jesper Dybdal:
    Hello,

    memtest86+ is for testing RAM, but do you not want to test ext4 filesystem?

    Sorry - I should have left more of the previous mails quoted.  I have previously tested the RAID1 consistency (ok), fixed the file system
    (found 3 files with incorrect block count), and now also tested the
    RAM.And since it seems unlikely that it is a bug in ext4 (in Debian
    Bullseye), I don't quite understand how such an inconsistency can occur.
    Thanks for your response, Jesper
    If so, I suggest to boot a live system like Knoppix or similar, then run your test by using

    e2fsck -y /dev/sda1

    or wherever your filesystem resides.

    Please pay attention: If you have encrypted filesystems, then first open the encryption, do NOT mount the filesystem and then check it, for example:

    cryptsetup luksOpen /dev/sda1 data1

    then enter the password and now you can run

    e2fsck -y /dev/mapper/data1

    Note: the word "data1" is only an example, you can name it, whatever you want like "space", "soap", "bullet", "henry" or whatever.

    Hope this helps.

    Best

    Hans



    [Sorry - I accidentally sent this too quickly in an incomplete state.
    Second try here:]

    On Wed, Mar 20, 2024, 11:28 AM Jesper Dybdal

    <jd-debian-user@dybdal.dk> wrote:
    I think I'll let memtest86+ run overnight one of the coming nights. >>>
    Unless it is simply a RAM error, then it is a bit scary...
    I've now let memtest86+ run for 9 hours, during which it did 14 passes
    of all its tests. It found nothing wrong.

    On 2024-03-20 22:58, Nicholas Geovanis wrote:
    I have seen that a couple times, unlikely but possible. Maybe review
    your RAM configuration too, ensure that the sticks are on the same
    supported refresh rate and distributed across the slots in an approved
    way.
    There is only one RAM stick (of 16 GB), so there should be no problems
    of that kind.

    I'm afraid I won't find an explanation of that file system corruption :-(

    Thanks to Franco and Nicholas for your responses,
    Jesper




    --
    Jesper Dybdal
    https://www.dybdal.dk

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    On 2024-03-28 15:02, Hans wrote:<br>
    <blockquote type="cite" cite="mid:7650301.EvYhyI6sBW@protheus2">
    <pre class="moz-quote-pre" wrap="">Am Donnerstag, 28. März 2024, 14:49:37 CET schrieb Jesper Dybdal:
    Hello,

    memtest86+ is for testing RAM, but do you not want to test ext4 filesystem?</pre>
    </blockquote>
    <br>
    Sorry - I should have left more of the previous mails quoted.  I
    have previously tested the RAID1 consistency (ok), fixed the file
    system (found 3 files with incorrect block count), and now also
    tested the RAM.<span style="white-space: pre-wrap">

    And since it seems unlikely that it is a bug in ext4 (in Debian Bullseye), I don't quite understand how such an inconsistency can occur.

    Thanks for your response,
    Jesper


    </span>
    <blockquote type="cite" cite="mid:7650301.EvYhyI6sBW@protheus2">
    <pre class="moz-quote-pre" wrap="">If so, I suggest to boot a live system like Knoppix or similar, then run your
    test by using

    e2fsck -y /dev/sda1

    or wherever your filesystem resides.

    Please pay attention: If you have encrypted filesystems, then first open the encryption, do NOT mount the filesystem and then check it, for example:

    cryptsetup luksOpen /dev/sda1 data1

    then enter the password and now you can run

    e2fsck -y /dev/mapper/data1

    Note: the word "data1" is only an example, you can name it, whatever you want like "space", "soap", "bullet", "henry" or whatever.

    Hope this helps.

    Best

    Hans



    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">[Sorry - I accidentally sent this too quickly in an incomplete state.
    Second try here:]

    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">On Wed, Mar 20, 2024, 11:28 AM Jesper Dybdal

    <a class="moz-txt-link-rfc2396E" href="mailto:jd-debian-user@dybdal.dk">&lt;jd-debian-user@dybdal.dk&gt;</a> wrote:
    I think I'll let memtest86+ run overnight one of the coming nights.

    Unless it is simply a RAM error, then it is a bit scary...
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    I've now let memtest86+ run for 9 hours, during which it did 14 passes
    of all its tests. It found nothing wrong.

    On 2024-03-20 22:58, Nicholas Geovanis wrote:
    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">I have seen that a couple times, unlikely but possible. Maybe review
    your RAM configuration too, ensure that the sticks are on the same
    supported refresh rate and distributed across the slots in an approved
    way.
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    There is only one RAM stick (of 16 GB), so there should be no problems
    of that kind.

    I'm afraid I won't find an explanation of that file system corruption :-(

    Thanks to Franco and Nicholas for your responses,
    Jesper
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">



    </pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">--
    Jesper Dybdal
    <a class="moz-txt-link-freetext" href="https://www.dybdal.dk">https://www.dybdal.dk</a></pre>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Thu Mar 28 16:40:01 2024
    Hi Jesper,

    RAID 1 is mirroring. I suppose, a reason for the failure might be a timing problem. I do not know for sure, if yous system has got a real RAID-controller or if it is made by software.

    The real controller should not produce write errors, however maybe at heavy load it might happen. I never used RAID 1 myself, as I am a fancy guy and am
    no friend of RAID 1. It is just, when there is an error on one drive, it is on the other, too.

    My fancy solution was, using one drive and mirror this frequently every 30 minutes using rsync. IMO doing so, I have several options:

    1. If the harddrive is defective, I can boot the other one.

    2. If the software is defective, I have 30 minutes, to discover the failure (every good logging system should alarm this in time)

    3. I have a running backup available.

    4. I can exchange the defective harddrive during the running system.

    5. After exchange, i can examine, what happened (hardware failure, malware, whatever).

    Many people will now laugh at me, but doing so, worked for me at best. So I reached an uptime of more than 700 days, but this might not be based on my work, but the work of all the debian developers!

    As I said before, i am not very experienced with RAID 1, other people might know much more.

    Personally I believe, RAID is mostly used with Windows, as Windows does not have these nice tools like rsync or syslog and all the things, that make linux and debian so great.

    Have a nice eastern!

    Best

    Hans

    Sorry - I should have left more of the previous mails quoted. I have previously tested the RAID1 consistency (ok), fixed the file system
    (found 3 files with incorrect block count), and now also tested the
    RAM.And since it seems unlikely that it is a bug in ext4 (in Debian Bullseye), I don't quite understand how such an inconsistency can occur. Thanks for your response, Jesper

    If so, I suggest to boot a live system like Knoppix or similar, then run your test by using

    e2fsck -y /dev/sda1

    or wherever your filesystem resides.

    Please pay attention: If you have encrypted filesystems, then first open the encryption, do NOT mount the filesystem and then check it, for
    example:

    cryptsetup luksOpen /dev/sda1 data1

    then enter the password and now you can run

    e2fsck -y /dev/mapper/data1

    Note: the word "data1" is only an example, you can name it, whatever you want like "space", "soap", "bullet", "henry" or whatever.

    Hope this helps.

    Best

    Hans

    [Sorry - I accidentally sent this too quickly in an incomplete state.
    Second try here:]

    On Wed, Mar 20, 2024, 11:28 AM Jesper Dybdal

    <jd-debian-user@dybdal.dk> wrote:
    I think I'll let memtest86+ run overnight one of the coming nights. >>>
    Unless it is simply a RAM error, then it is a bit scary...

    I've now let memtest86+ run for 9 hours, during which it did 14 passes
    of all its tests. It found nothing wrong.

    On 2024-03-20 22:58, Nicholas Geovanis wrote:
    I have seen that a couple times, unlikely but possible. Maybe review
    your RAM configuration too, ensure that the sticks are on the same
    supported refresh rate and distributed across the slots in an approved >>> way.

    There is only one RAM stick (of 16 GB), so there should be no problems
    of that kind.

    I'm afraid I won't find an explanation of that file system corruption :-( >>
    Thanks to Franco and Nicholas for your responses,
    Jesper

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)