Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

At some point I'm going to build an OpenSolaris based NAS. I was wondering that if I make a 4 drive RaidZ1 pool and at some point need to move the pool to another OpenSolaris server do is there anything I need to worry about? Is as simple as unplugging the drives and then just plugging them in another server and running zpool import -f pool?

share|improve this question

2 Answers 2

up vote 6 down vote accepted

Some things you need to worry about are:

  • The architecture. Pools created on x86 wont be importable by SPARC and reciprocally unless you are using whole disks (EFI labels) as vdevs instead of slices.

  • The OpenSolaris release. If the destination server is using an older release of OpenSolaris, it will likely be impossible to successfuly import the pool and/or have the file systems mounted.

  • The pool name. If a different pool having the same name is known by the destination host, you'll need to import it by its id and rename it if the other one is still imported.

Finally, instead of forcefully importing the pool, better to properly export it from the source machine if doable:

zpool export pool

Then importing will simply be done like this:

zpool import pool
share|improve this answer

That's it, assuming you exported the pool. If not, you'll need to force and export than import as normal.

share|improve this answer

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.