Hi, I need to copy files from an old ZFS pool on an old hard drive to a new one on a new HD. With UFS, you can just mount a partition from an old drive to copy files to a new drive. What''s the equivalent process to do that with ZFS? Thanks. This message posted from opensolaris.org
Hello Michael,
Monday, March 5, 2007, 11:36:57 PM, you wrote:
ML> Hi,
ML> I need to copy files from an old ZFS pool on an old hard drive to a new
one on a new HD.
ML> With UFS, you can just mount a partition from an old drive to copy files
to a new drive.
ML> What''s the equivalent process to do that with ZFS?
How old are we talking?
If you think about ZFS version 1 which was in S10U1 (or was it v2?)
then just import those two pools and copy data.
--
Best regards,
Robert mailto:rmilkowski at task.gda.pl
http://milek.blogspot.com
Michael Lee wrote:> Hi, > > I need to copy files from an old ZFS pool on an old hard drive to a new one on a new HD. > With UFS, you can just mount a partition from an old drive to copy files to a new drive. > What''s the equivalent process to do that with ZFS?Use ''zpool import'' to make the old pool available on the system. You can use the -R flag to specify an alternate mountpoint. Check the zpool(1m) manpage for details. --matt