question about --assume-clean
Hi,
I am about to create a large raid10 array, and I know for a fact that all the components are identical (dd if=/dev/zero of=/dev/sdXY). Is it safe to pass --assume-clean and spare 6 hours of reconstruction, or are there some hidden dangers in doing so?
Thanks
Peter
Quoted 6 lines · On Saturday June 9, [email protected] wrote:
Hi,
I am about to create a large raid10 array, and I know for a fact that all the components are identical (dd if=/dev/zero of=/dev/sdXY). Is it safe to pass --assume-clean and spare 6 hours of reconstruction, or are there some hidden dangers in doing so?
No, there are no hidden dangers.
--assume-clean is generally quite safe with mirroring levels (raid1, raid10). The only issue is that if you do a regular 'check', then it will reports lots of issues. If do a 'repair' it will fix the issues.
With raid4/5/6, --assume-clean is *not* safe if there is any doubt that the drive are not already in an in-sync state.
NeilBrown