I''m looking to migrate a pool from using multiple smaller LUNs to one larger LUN. I don''t see a way to do a zpool replace for multiple to one. Anybody know how to do this? It needs to be non disruptive. -- This message posted from opensolaris.org
On 25/02/2010 15:44, Chad wrote:> I''m looking to migrate a pool from using multiple smaller LUNs to one larger LUN. I don''t see a way to do a zpool replace for multiple to one. Anybody know how to do this? It needs to be non disruptive.You can''t do that just now, this needs device removal (ie the bprewrite) functionality since you are relaying out the pool vdevs. -- Darren J Moffat
>I''m looking to migrate a pool from using multiple smaller LUNs to one larger LUN. >I don''t see a way to do a zpool replace for multiple to one. Anybody know how >to do this? It needs to be non disruptive.Depends on the zpool''s layout and the source of the old and the new files; you can only replace or attach a vdev one by one and you could theoretically do that by making different slices in on the new device. I don''t think you want that. Casper
On Thu, Feb 25, 2010 at 12:44 PM, Chad <chad.harvey at allstate.com> wrote:> I''m looking to migrate a pool from using multiple smaller LUNs to one > larger LUN. I don''t see a way to do a zpool replace for multiple to one. > Anybody know how to do this? It needs to be non disruptive. >As others have noted, it doesn''t seem possible. You could create a new zpool with this larger LUN and use zfs send/receive to migrate your data. -- Giovanni Tirloni sysdroid.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100225/4a626388/attachment.html>