I've done this a couple of times (although it's been on DOT 8.0.X). No problems whatsoever.
//Johan
From: "Cotton, Randall" <recotton@uif.uillinois.edumailto:recotton@uif.uillinois.edu> Date: Mon, 28 Nov 2011 12:14:13 +0100 To: "toasters@teaparty.netmailto:toasters@teaparty.net" <toasters@teaparty.netmailto:toasters@teaparty.net> Subject: moving vol0 from one aggregate to another with zero downtime using failover?
On an N3400 active/active w/DOT 7.3.5.1P1:
I need to move vol0 from aggr0 to aggr1 on node A (so I can nuke its aggr0).
I’ve done this kind of thing on a single independent node – it’s fairly well-documented in the “Storage Management Guide”.
Basically:
1. Create a newvol0 on the destination aggregate of adequate size
2. ndmpcopy /vol/vol0/etc over to newvol0
3. vol options newvol0 root
4. reboot
But in this situation, there’s stuff on aggr1 I’d like to keep serving during this transition. I’d like it very much if I could use failover to do that.
Is it possible to pull this off with a takeover/giveback?
It seems it might be problematic what with the takeover node presumably using /vol/vol0 as the root vol and the other node booting up using /vol/newvol0 as the root vol. Would the giveback work OK?
It seems there’s room here to really hose things up.
Any advice?
Anyone seen documentation on such a procedure? R