Score:0

raid not clean after shudown

pe flag

I have a XUbuntu 22.04 LTS desktop system with RAID 1 (2 disks), and often after a normal desktop shutdown, when I boot up again I get the following message on dmesg and the kernel spends more than an hour recovering the array.

[    2.391724] md/raid1:md0: not clean -- starting background reconstruction
[    2.391727] md/raid1:md0: active with 2 out of 2 mirrors
[    2.391929] md0: bitmap file is out of date (915404 < 915405) -- forcing full recovery
[    2.391989] md0: bitmap file is out of date, doing full recovery

How to ensure the array will be clean during a shutdown?

in flag
Is the RAID configured to have the write cache set to `on`? Is this system used as a typical desktop, or does it act more as a server?
lvella avatar
pe flag
I have no idea about this write cache, and it is a typical desktop.
David avatar
cn flag
How is the OS being shut down? Correctly or by the power switch?
lvella avatar
pe flag
I click on XFCE Shutdown button and it then does its thing, so I hope this is a correct shutdown. But I couldn't find in the systemd units where it waits for a clean md0 shutdown. Maybe this is related to my / being on raid?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.