On 12 March, 2010 - Erik Trimble sent me these 0,7K bytes:

> Ian Garbutt wrote:
>> I was wondering if there is any way of converting a zpool which only have 
>> one LUN in there to a raidz zpool that was 3 or more LUNS in it?
>>
>> Thanks
>>   
> No.
>
> Adding, removing, or otherwise changing disks in a RAIDZ is not possible  
> without destroying data in the pool.
>
>
> You'll have to copy the data from the single LUN pool somewhere else,  
> destroy the pool, then recreate it as a RAIDZ with the 3 LUNs.

What you can do is:
Create a new pool with lun2,lun3 and a sparse file the same size as
lun2&3.
Get rid of the file.
Copy data over from lun1 (old single lun thing) to the raidz
  (lun2,lun3,missingfile)
Destroy old pool
replace missingfile with lun1

With this method, the pool is lacking redundancy between step 4 and 5,
but requires no extra space.

/Tomas
-- 
Tomas Ögren, st...@acc.umu.se, http://www.acc.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,acc}.umu.se
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to