Hi, According to http://www.sun.com/emrkt/campaign_docs/expertexchange/knowledge/solaris_zfs_install.html#2 we will have a tool for data migration to ZFS (not a root file system). Do you know when this is happening? Thanks, Rafael. -- => Rafael Friedlander => Sun Microsystems => OEM Specialist => +972 544 971 564
Hi Rafael, The information on that site looks very out-of-date. I will attempt to resolve this problem. Other than using Live Upgrade to migrate a UFS root file system to a ZFS root file system, you can use ufsdump and ufsrestore to migrate UFS data to ZFS file system. Other data migration processes are mostly manual. If something else is in the works, we''ll let you know. Cindy Rafael Friedlander wrote:> Hi, > According to > http://www.sun.com/emrkt/campaign_docs/expertexchange/knowledge/solaris_zfs_install.html#2 > > we will have a tool for data migration to ZFS (not a root file system). > > Do you know when this is happening? > > Thanks, Rafael. >
Rafael, If you are talking just about moving a bunch of data, take a look at rsync. I think it will work nicely for moving files from one volume to another, preserving attributes. It comes bundled with 2008.11 and up. On Thu, Feb 26, 2009 at 10:41 AM, <Cindy.Swearingen at sun.com> wrote:> Hi Rafael, > > The information on that site looks very out-of-date. I will attempt to > resolve this problem. > > Other than using Live Upgrade to migrate a UFS root file system to a ZFS > root file system, you can use ufsdump and ufsrestore to migrate UFS data to > ZFS file system. > > Other data migration processes are mostly manual. > > If something else is in the works, we''ll let you know. > > Cindy > > Rafael Friedlander wrote: >> >> Hi, >> According to >> http://www.sun.com/emrkt/campaign_docs/expertexchange/knowledge/solaris_zfs_install.html#2 >> we will have a tool for data migration to ZFS (not a root file system). >> >> Do you know when this is happening? >> >> Thanks, Rafael. >> > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
Blake wrote:> Rafael, > If you are talking just about moving a bunch of data, take a look > at rsync. I think it will work nicely for moving files from one > volume to another, preserving attributes. It comes bundled with > 2008.11 and up. > > >But not ACLs. -- Ian.
You can use ufsrestore/ufsdump, tar, and cpio to migrate the POSIX-ACLs to ZFS-ACLs. Ian Collins wrote:> Blake wrote: >> Rafael, >> If you are talking just about moving a bunch of data, take a look >> at rsync. I think it will work nicely for moving files from one >> volume to another, preserving attributes. It comes bundled with >> 2008.11 and up. >> >> >> > But not ACLs. >-- Darin Perusich Unix Systems Administrator Cognigen Corporation 395 Youngs Rd. Williamsville, NY 14221 Phone: 716-633-3463 Email: darinper at cognigencorp.com
Ah - I think I was getting confused by my experience with the modified rsync on OS X. On Thu, Feb 26, 2009 at 1:54 PM, Ian Collins <ian at ianshome.com> wrote:> Blake wrote: >> >> Rafael, >> ? If you are talking just about moving a bunch of data, take a look >> at rsync. ?I think it will work nicely for moving files from one >> volume to another, preserving attributes. ?It comes bundled with >> 2008.11 and up. >> >> >> > > But not ACLs. > > -- > Ian. > >
On 27 February, 2009 - Ian Collins sent me these 0,4K bytes:> Blake wrote: >> Rafael, >> If you are talking just about moving a bunch of data, take a look >> at rsync. I think it will work nicely for moving files from one >> volume to another, preserving attributes. It comes bundled with >> 2008.11 and up. >> >> >> > But not ACLs.Rsync supports POSIX Draft ACLs (UFS/NFSv3), but not ZFS ACLs.. However, you can do a sneaky thing.. Mount your ZFS filesystem over NFSv4 from yourself and rsync -A from /ufsthingie/ to /nfs4mountedzfs/ .. that will copy all ACLs.. /Tomas -- Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se
Tomas ?gren wrote:> On 27 February, 2009 - Ian Collins sent me these 0,4K bytes: > > >> Blake wrote: >> >>> Rafael, >>> If you are talking just about moving a bunch of data, take a look >>> at rsync. I think it will work nicely for moving files from one >>> volume to another, preserving attributes. It comes bundled with >>> 2008.11 and up. >>> >>> >>> >>> >> But not ACLs. >> > > Rsync supports POSIX Draft ACLs (UFS/NFSv3), but not ZFS ACLs.. However, > you can do a sneaky thing.. Mount your ZFS filesystem over NFSv4 from > yourself and rsync -A from /ufsthingie/ to /nfs4mountedzfs/ .. that > will copy all ACLs.. > >Nice trick. I''ve found cpio to be the most reliable tool. I''ve also used it to copy newer ZFS filesystems to older ones (for replication to servers running older Solaris updates). -- Ian.
On Feb 26, 2009, at 14:20, Tomas ?gren wrote:> Rsync supports POSIX Draft ACLs (UFS/NFSv3), but not ZFS ACLs.. > However, > you can do a sneaky thing.. Mount your ZFS filesystem over NFSv4 from > yourself and rsync -A from /ufsthingie/ to /nfs4mountedzfs/ .. that > will copy all ACLs..On Feb 26, 2009, at 14:16, Blake wrote:> Ah - I think I was getting confused by my experience with the modified > rsync on OS X.Just try to use rsync 3.x for best results. Any support for ACLs (and extend attributes) in 2.x is via third-party patches (e.g., like Apple). From the release notes:> - Added the --acls (-A) option to preserve Access Control Lists. > This is an improved version of the prior patch that was available, > and it even supports OS X ACLs. If you need to have backward > compatibility with old, ACL-patched versions of rsync, apply the > acls.diff file from the patches dir. > > - Added the --xattrs (-X) option to preserve extended attributes. > This is an improved version of the prior patch that was available, > and it even supports OS X xattrs (which includes their resource fork > data). If you need to have backward compatibility with old, xattr- > patched versions of rsync, apply the xattrs.diff file from the > patches dir.http://samba.anu.edu.au/ftp/rsync/src/rsync-3.0.0-NEWS