[developer] Re: [openzfs/openzfs] 9102 zfs should be able to initialize storage devices (#586)

2018-03-10 Thread Matthew Ahrens
I think that @dcarosone is asking about creating a file in the pool to force zfs to write to most of the pool (not dd-ing to the raw disk). That could work but the `zpool initialize` approach has a few advantages: - You don't need to figure out how big to make the file. The file size can't

[developer] Re: [openzfs/openzfs] 9102 zfs should be able to initialize storage devices (#586)

2018-03-10 Thread George Wilson
You could go through and `dd` to every disk before adding it to the pool and that is the common practice used by many. The problem that this is trying to solve is to be able to avoid the delay of having to wait for every disk to be pre-warmed before using it. Also, people often forget to "warm"