You are not logged in.

#1 2023-09-02 21:04:56

galvez_65
Member
Registered: 2018-06-29
Posts: 20

BTRFS scrub (solved)

Hi all,
I am trying to set a monthly btrfs scrub using the btrfs-scrib@ service as described in the wiki, but I need to limit the IOReadBandwidthMax as described in the wiki as well to limit the temperature climb. Initial testing my drive temps climbed to 80. I created

 /etc/systemd/system/btrfs-scrub@.d/override.conf 

with the following content (the the extreme 1K limit was to make sure I could see a result):

[Service]
IOReadBandwidthMax='/dev/disk/by-uuid/<UUID from fstab> 1K'

However when I run

 systemctl start btrfs-scrub@var-log 

the temperature still climbs uncontrollably. Obviously I'm doing something wrong, any suggestions would be much appreciated.

Last edited by galvez_65 (2023-09-05 14:37:59)

Offline

#2 2023-09-03 16:38:39

galvez_65
Member
Registered: 2018-06-29
Posts: 20

Re: BTRFS scrub (solved)

Got it figured out.
1) I was referring to the device incorrectly I had to use by-path
2) I was also creating the Drop-in incorrect

Offline

#3 2023-09-03 19:21:09

ajgringo619
Member
Registered: 2023-05-06
Posts: 15

Re: BTRFS scrub (solved)

Curious - how much of a drop in temp are you seeing?

Offline

#4 2023-09-04 07:58:37

staticnoise
Member
Registered: 2023-09-03
Posts: 1

Re: BTRFS scrub (solved)

galvez_65 wrote:

Got it figured out.

Please mark the thread as solved.

Offline

#5 2023-09-05 14:32:31

galvez_65
Member
Registered: 2018-06-29
Posts: 20

Re: BTRFS scrub (solved)

ajgringo619 wrote:

Curious - how much of a drop in temp are you seeing?

Pretty significant. before limiting the IO the temp quickly climbed to 80, now, after some experimentation it still climbs to 70, but at a much slower and controlled rate.

Offline

#6 2023-09-05 16:02:45

ajgringo619
Member
Registered: 2023-05-06
Posts: 15

Re: BTRFS scrub (solved)

galvez_65 wrote:
ajgringo619 wrote:

Curious - how much of a drop in temp are you seeing?

Pretty significant. before limiting the IO the temp quickly climbed to 80, now, after some experimentation it still climbs to 70, but at a much slower and controlled rate.

Thanks for the info. I'll have to track my disk temps when I run the next scrub.

Offline

Board footer

Powered by FluxBB