Which method allows you to meet both requirements?

You need to migrate a UFS file system named /production_ufs to a ZFS file system named
/production_ufs. The /production_ufs file system cannot be taken down or be out of production
during the migration, and the current /production_ufs file system must remain active until the
/ptoduction_zfs file system is copied and ready.
Which method allows you to meet both requirements?
1. Copy live data from /production_ufs to /production_zfs while /production_ufs is in use.
2. When the copy is complete, /production_zfs will contain an up-to date copy of /production_ufs

You need to migrate a UFS file system named /production_ufs to a ZFS file system named
/production_ufs. The /production_ufs file system cannot be taken down or be out of production
during the migration, and the current /production_ufs file system must remain active until the
/ptoduction_zfs file system is copied and ready.
Which method allows you to meet both requirements?
1. Copy live data from /production_ufs to /production_zfs while /production_ufs is in use.
2. When the copy is complete, /production_zfs will contain an up-to date copy of /production_ufs

A.
Create a snapshot of the UFS file system.
Create the new ZFS file system.
Use cpio to copy data from the snapshot to the new ZFS file system.

B.
Create a new Boot Environment.
Create the ZFS file system.
Use lucreate -m to copy data from the Current UFS file system to the new ZFS file system.

C.
Mirror the existing UFS file system by using SVM.
After both submissions are in sync, migrate one of the submissions to a ZFS file System by using
Live Upgrade.

D.
Create the new ZFS file system by using zfs create import to import data from the existing UFS
file system into the new ZFS file system

E.
Create the new zfs file system by using the zfs create -oshadow.

Explanation:
Migrating Data With ZFS Shadow Migration
ZFS shadow migration is a tool you can use to migrate data from an existing file system to a new
file system. A shadow file system is created that pulls data from the original source as necessary.
You can use the shadow migration feature to migrate file systems as follows:
* A local or remote ZFS file system to a target ZFS file system
* A local or remote UFS file system to a target ZFS file system
Shadow migration is a process that pulls the data to be migrated:
* Create an empty ZFS file system.
* Set the shadow property on an empty ZFS file system, which is the target (or shadow) file
system, to point to the file system to be migrated.
For example:
# zfs create -o shadow=nfs://system/export/home/ufsdata users/home/shadow2
* Data from file system to be migrated is copied over to the shadow file system.

Reference: Transitioning From Oracle Solaris 10 to Oracle Solaris 11, Migrating Data With ZFS
Shadow Migration



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Saeed

Saeed

For other option, either down time or both file system will not be in sync. Only option left is E.