Don't forget to check the exports file if you use nfs...
There used to be times where this was not properly updated when doing the procedure you describe.
(regarding exporting the root or vol0 volume....all others should still be ok)
 
--tmac

RedHat Certified Engineer #804006984323821 (RHEL4)
RedHat Certified Engineer #805007643429572 (RHEL5)

Principal Consultant


On Fri, Nov 14, 2008 at 6:09 PM, Ray Van Dolson <rvandolson@esri.com> wrote:
On Fri, Nov 14, 2008 at 02:17:04PM -0800, Nicholas Bernstein wrote:
> On 11/14/08 1:55 PM, "Ray Van Dolson" <rvandolson@esri.com> wrote:
>
> >
> > So go the volume all moved.  Went well.  However, I just realized that
> > vol0 is on aggr0!  Argh.  Is there any way to relocate vol0 safely
> > while the filer is running?
> >
> > I guess I could snapshot it, vol copy it to aggr1... what would be the
> > side-effects though?
> >
> > Ray
>
> There's no side-effects that I know of, it's a normal vol copy, afik. The
> new volume won't be the "root" volume until you give it a: "vol options
> newvol root" though; once you reboot your filer newvol is then root.
>
> -Nick

FWIW I did the following:

 * aggr0 is the old aggregate I need to get rid of containing vol0
  which is the default root volume currently

 > vol create root aggr1 90g
 > ndmpd on
 > ndmpcopy /etc /vol/root/etc
 > ndmpd off
 > vol options root root
 > aggr options aggr1 root

At a later time I'll perform these steps:

 > reboot
 > vol offline vol0
 > vol rename root vol0
 > aggr offline aggr0
 > aggr destroy aggr0
 > aggr rename aggr1 aggr0

Then I should be able to remove my shelf and hopefully all will be
well. :)

Ray