Mario Goebbels
2007-May-04 11:37 UTC
[zfs-discuss] Force rewriting of all data, to push stripes onto newly added devices?
I''m just in sort of a scenario, where I''ve added devices to a pool and would now like the existing data to be spread across the new drives, to increase the performance. Is there a way to do it, like a scrub? Or would I have to have all files to copy over themselves, or similar hacks? Thanks, -mg This message posted from opensolaris.org
Bart Smaalders
2007-May-04 16:57 UTC
[zfs-discuss] Force rewriting of all data, to push stripes onto newly added devices?
Mario Goebbels wrote:> I''m just in sort of a scenario, where I''ve added devices > to a pool and would now like the existing data to be spread > across the new drives, to increase the performance. Is > there a way to do it, like a scrub? Or would I have to > have all files to copy over themselves, or similar hacks? > > Thanks, > -mg >This requires rewriting the block pointers; it''s the same problem as supporting vdev removal. I would guess that they''ll be solved at the same time. - Bart -- Bart Smaalders Solaris Kernel Performance barts at cyber.eng.sun.com http://blogs.sun.com/barts
Richard Elling
2007-May-04 17:21 UTC
[zfs-discuss] Force rewriting of all data, to push stripes onto newly added devices?
Mario Goebbels wrote:> I''m just in sort of a scenario, where I''ve added devices to a pool and would now like the existing data to be spread across the new drives, to increase the performance. Is there a way to do it, like a scrub? Or would I have to have all files to copy over themselves, or similar hacks?for the short term, cp works (or any other process which would result in a new write of the files). -- richard