Hexenhammer Posted February 20, 2023 Share Posted February 20, 2023 Hello, How should I proceed if i want to defrag? How to disable parity? Thanks Quote Link to comment
JonathanM Posted February 21, 2023 Share Posted February 21, 2023 Parity doesn't hold file information, no need to disable it. As long as the array is started and you are working with the mounted array disks, parity will stay synchronized with any defrag activities. Quote Link to comment
Hexenhammer Posted February 21, 2023 Author Share Posted February 21, 2023 1 minute ago, JonathanM said: Parity doesn't hold file information, no need to disable it. As long as the array is started and you are working with the mounted array disks, parity will stay synchronized with any defrag activities. I tried to defrag with parity on, its slow and it started to utilize the automatic Turbo write, i defarged a single drive but all the array was working. What will happen if before staring the array i remove both parity drives from the list and start the array without them? Can i later add them back without running full parity cycle? Quote Link to comment
JonathanM Posted February 21, 2023 Share Posted February 21, 2023 What happens if you disable turbo write? 1 minute ago, Hexenhammer said: What will happen if before staring the array i remove both parity drives from the list and start the array without them? Can i later add them back without running full parity cycle? If you alter any bits on the disks while parity is disabled you will need to fully rebuild parity. If you don't want to rebuild parity, the drives must only be mounted read-only, so no bits are changed. Defragging rearranges bits, that's sort of the purpose, so no, parity is no longer valid after you defrag data. Quote Link to comment
Hexenhammer Posted February 21, 2023 Author Share Posted February 21, 2023 20 minutes ago, JonathanM said: What happens if you disable turbo write? If you alter any bits on the disks while parity is disabled you will need to fully rebuild parity. If you don't want to rebuild parity, the drives must only be mounted read-only, so no bits are changed. Defragging rearranges bits, that's sort of the purpose, so no, parity is no longer valid after you defrag data. I found a script here on forum that does automatic defrag. The userscrips thingy doesn't have a proper scheduling option, only some basic presets like on boot, once a day [when once a day?] and it has custom field. But no description of how its done. Do you know how to set up manual schedule? say if i want the script to run every day at 09:00 in the morning Quote Link to comment
JonathanM Posted February 21, 2023 Share Posted February 21, 2023 1 minute ago, Hexenhammer said: it has custom field. But no description of how its done. Click on the link near the top of the user scripts page "What is Cron" Quote Link to comment
Hexenhammer Posted February 21, 2023 Author Share Posted February 21, 2023 8 minutes ago, JonathanM said: Click on the link near the top of the user scripts page "What is Cron" hmm so every day at 09:00 is this "0 9 * * *"? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.