Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want to create a new Zpool and move data from an old zpool

The old zpool is like this:

rpool [mirror-0 (c1t0d0s0 c1t1d0s0) ]

I will insert two new hard drives and want to configure a new zpool like the old one. Then i want to move /data-tmp to a new zfs in the new zpool.

Can anyone tell me the steps?

share|improve this question

closed as not a real question by Brent Pabst, Scott Pack, Michael Hampton, jscott, voretaq7 Dec 11 '12 at 2:50

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
We don't provide step-by-step tutorials here. If you have an actual question regarding performing the above change or run into problems we can certainly help with those types of questions. Please see the FAQ for more information. –  Brent Pabst Dec 10 '12 at 13:11

1 Answer 1

I'm fairly sure that this should be as simple as taking a snapshot of the zfs to be moved, and then using zfs send and zfs recv to move that snapshot between zpools:

zfs send oldpool/my-data@snap1 | zfs recv newpool/my-data

(taken from http://docs.oracle.com/cd/E19963-01/html/821-1448/gbchx.html#gbinw)

share|improve this answer
    
Ok growse, thanks. I want know what else i have to do. I mean: zpool create, zfs create, zfs mount, zfs mountedpoint... etc –  garci86 Dec 10 '12 at 14:22

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