Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I wondering about problem with adding new device to ZFS RAIDZ.

I'm thinking about it only theoretically: After destroying ZFS pool with only RAIDZ in it. The data should be still there on the disks.

Is there a way to create new RAIDZ with old disks? If so, it should be almost the same way to add a new extra hard drive (or more) to the new RAIDZ. Only extra thing in this case is recalculate all parity. Am I wrong?

So for now the main question is:

Is there some way to create new RAIDZ with old disks (from old RAIDZ) without adding new extra disk?

share|improve this question

migrated from serverfault.com Dec 24 '11 at 22:15

This question came from our site for professional system and network administrators.

    
See this question. –  James O'Gorman Dec 6 '11 at 12:11
    
This question about adding new HDD to raidz, it is not my main question. –  BBK Dec 7 '11 at 10:24
    
Are you saying you want to re-create a RAIDZ that has been destroyed and recover its data? This isn't possible and is what backups are for. –  James O'Gorman Dec 7 '11 at 12:02
    
The main idea not about recovering the data as you can read above. But yes it is almoust the same question: Is it possible to re-create a RAIDZ that has been destroyed? –  BBK Dec 8 '11 at 10:09
    
No, it's not possible. –  ewwhite Dec 8 '11 at 10:11
show 2 more comments

1 Answer 1

This is not posible. You cannot expand an existing RAIDZ pool by adding disks.

share|improve this answer
    
You answered to the second question but not to the main one. –  BBK Dec 7 '11 at 10:22
    
I don't understand what you're asking. In any case, you can't modify any RAIDZ setup. I'm not sure what you mean by "extra disk". –  ewwhite Dec 7 '11 at 11:58
    
"extra disk" is a new one, for example never used before. –  BBK Dec 8 '11 at 10:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.