I was looking for a way to do this without downtime... It seems that this kind of basic relayout operation should be easy to do.
On Mon, Jul 19, 2010 at 12:44 PM, Freddie Cash <fjwc...@gmail.com> wrote: > On Mon, Jul 19, 2010 at 9:06 AM, Max Levine <max...@gmail.com> wrote: >> Is it possible in ZFS to do the following. >> >> I have an 800GB lun a single device in a pool and I want to migrate >> that to 8 100GB luns. Is it possible to create an 800GB concat out of >> the 8 devices, and mirror that to the original device, then detach the >> original device? It is possible to do this online in VxVM. > > I don't think you can do that within a single pool. But you can fake > it like so: > > zpool create newpool lun1 lun2 lun3 lun4 lun5 lun6 lun7 lun8 > zfs send oldpool | zfs recv newpool > zpool destroy oldpool > zpool rename newpool oldpool > > The commands are not exact, read the man pages to get the exact syntax > for the send/recv part. > > However, doing so will make the pool extremely fragile. Any issues > with any of the 8 LUNs, and the whole pool dies as there is no > redundancy. > > -- > Freddie Cash > fjwc...@gmail.com > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss