Yes, it is possible to do using failover.
In your example partner will use “newvol0” as root.
---
With best regards
Andrey Borzenkov
Senior system engineer
Service operations
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Cotton, Randall
Sent: Monday, November 28, 2011 3:14 PM
To: 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