Is there a documented way or suggestion on how to migrate data from VXFS to ZFS? Thanks Morris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20121205/8e3a9413/attachment.html>
Hi Morris, I hope someone has done this recently and can comment, but the process is mostly manual and it will depend on how much gear you have. For example, if you have some extra disks, you can build a minimal ZFS storage pool to hold the bulk of your data. Then, you can do a live migration of data from the existing VxFS config to the new ZFS pool by using rsync or your favorite tool. After the data migration is complete, you can tear down the VxFS config and add the disks to expand the minimal ZFS storage pool. If you don''t have enough disks to do live data migration, then the steps are backup the data, tear down the VxFS config, create the ZFS storage pool, restore the data. In the Solaris 11 release, I think you could live migrate the data by using shadow migration. Thanks, Cindy On 12/05/12 15:11, Morris Hooten wrote:> Is there a documented way or suggestion on how to migrate data from VXFS > to ZFS? > > > > Thanks > > Morris > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
On 2012-12-05 23:11, Morris Hooten wrote:> Is there a documented way or suggestion on how to migrate data from VXFS > to ZFS?Off the top of my head, I think this would go like any other migration - create the new pool on new disks and use rsync for simplicity (if your VxFS setup does not utilize extended attributes or anything similarly special), or use Solaris tar or cpio of such attributes are used (IIRC VxFS was a prime citizen in Solaris, so native tools - unlike GNU ones and rsync - should support the intimate details). Also note that if you have VxFS, then you likely come from a clustered setup, which may be quite native and safe to VxFS. ZFS does not support simultaneous pool-imports by several hosts, so you''d have to set up the clusterware to make sure only one host controls the pool at any time. HTH, //Jim
On Thu, Dec 6, 2012 at 5:11 AM, Morris Hooten <mhooten at us.ibm.com> wrote:> Is there a documented way or suggestion on how to migrate data from VXFS to > ZFS?Not zfs-specific, but this should work for solaris: http://docs.oracle.com/cd/E23824_01/html/E24456/filesystem-3.html#filesystem-15 For illumos-based distros, you''d probably just use rsync/tar/whatever -- Fajar