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
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.
You can try and figure out what’s accessing the array:
Change to a directory inside your mdadm mount:
cd /mnt/mountpoint/myfolderThen
fatrace -cThe -c limits it to the current mount point, otherwise you’ll get a ton of stuff from the root mount point.
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 …
mdadm --stop /dev/mdXshould at least tell you whether or not mdadm is causing the spinning.Get an anti-hero to protect the data thieves?






