0

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?

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

This question came from our site for 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
2

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

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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