zfs migration

Hello,
I want to migrate one of my ZFS root filesystem to a new disk on the same server. Can someone please guide me for the same? This is a Solaris 10 box running on Intel.

# df -h /setup
Filesystem size used avail capacity Mounted on
root/ROOT/zfsroot/setup
134G 63G 30G 69% /setup

Regards,
Mahive.

You can use live upgrade for this.

  • Create a separate pool with the new disk
  • Create a new boot environment [BE] on new pool
  • Activate the new BE
  • Reboot to boot with new BE.

You can follow the link http://download.oracle.com/docs/cd/E19253-01/819-5461/ggrkz/index.html

Regards,
Vishal