--On 23 August 2008 17:01 -0700 hunter morgan <automaticgiant at
gmail.com>
wrote:
> ok so i have 3 500gb hard drives in my freebsd fileserver. they are set
> up in a pool as a raidz1 of 3 and another raidz1 of 2. like this:
I''m guessing that''s a typo - and you mean
''5'' hard drives, not 3 ;)
> pool0 ONLINE 0 0 0
> raidz1 ONLINE 0 0 0
> ad2 ONLINE 0 0 0
> ad4 ONLINE 0 0 0
> ad8 ONLINE 0 0 0
> raidz1 ONLINE 0 0 0
> ad10 ONLINE 0 0 0
> ad6 ONLINE 0 0 0
> ideally i would like them to be in a single raidz2 vdev and its not time
> for buying more hard drives yet. i was thinking worst case i would buy 5
> 500 gb hard drives and set up the raidz2 on them and move the data over
> and then copy that setup back to the original drives and return the
> bought ones but its a pain obviously. is there anyway i can just tell
> zfs to make it magically do what i want?
You cannot ''promote'' a raidz1 to raidz2 - building the new
array and
shifting the data across is one way you can do this... Or, make sure your
backup solution is good (you do have a backup? :), delete the current pool
- re-create it the way you want, and restore from a backup.
Just remember to make sure the backup is verifiably ''good'' -
and if
possible do two :)
-Kp