[zfs-discuss] moving pool to larger disk

John Covici covici at ccs.covici.com
Fri Nov 23 16:49:04 EST 2018


Thanks for your quick response.

OK, then how to rename the new pool to the old one -- I didn't see
anything in the manual to do this?

On Fri, 23 Nov 2018 16:44:28 -0500,
Gregor Kopka (@zfs-discuss) via zfs-discuss wrote:
> 
> John,
> 
> depending on the layout of the pool you could zpool attach the new drive
> and - after resilver completed - detach the small one.
> 
> The other option (in case you currently have a pool with the 240gb and
> the 120gb  as top-level vdevs) is to create a new pool, snapshot -R the
> old one, zfs send/recv to the new one and then destroy the old one.
> 
> Gregor
> 
> Am 23.11.2018 um 16:46 schrieb John Covici via zfs-discuss:
> > Hi.  I want to move a pool to a larger ssd disk.  Right now its on a
> > 240g ssd and a 120g ssd and I am getting a 1tb ssd.  I want to move it
> > maybe by send/receive and rename the pool to the old name after
> > destroying the old pool, but I don't see any way how to do this.  I
> > don't see how to mirror both disks to the single disk, or am I
> > thinking wrongly?
> >
> > Thanks in advance for any suggestions.
> >
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici at ccs.covici.com


More information about the zfs-discuss mailing list