12
submitted 2 days ago by Salcie@feddit.fr to c/linux@lemmy.ml

Hello there
I want to reduce the consumption of my server and so, to reduce access to hard drives

But I suspect mdadm to access the drives frequently and wake them up.

Because even when the drives are not mounted, they wake up frequently and I can't find the reason.

Because the are not mounted, it's not due to a process.

I've temporarily disabled smartd so it's not that.

remains the software raid, who can potentially do regular checks, if that's the case how to fix it?
?

ps: I know spin down/up isn't good

top 5 comments
sorted by: hot top controversial new old
[-] fozid@feddit.uk 1 points 1 day ago

I have 2x it hdd's in software raid with mdadm which I use as my backup storage. My server mounts the array, writes the backup, unmounts the array, spins down the disks and puts them to sleep completely automatically every night at 1am. They never wake or spin up at all during the day.

[-] gnufuu@lemmy.ca 4 points 2 days ago

mdadm --stop /dev/mdX should at least tell you whether or not mdadm is causing the spinning.

[-] MangoPenguin 3 points 2 days ago* (last edited 2 days ago)

You can try and figure out what's accessing the array:

fatrace | grep /mnt/mountpoint/

This will show you the process, type of access (read, write, open, etc), and path. If you don't see anything right away just leave it running for a bit.

[-] Shimitar@downonthestreet.eu 2 points 2 days ago

Never had mdadm causing that. I have a raid5 array that's used only for backup once a day and it is mounted 24/7, and the disks are off for 23hba day more or less ...

[-] MonkderVierte@lemmy.zip 1 points 2 days ago* (last edited 2 days ago)

Get an anti-hero to protect the data thieves?

this post was submitted on 29 Jun 2026
12 points (100.0% liked)

Linux

66096 readers
314 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS