Migrating Data From An Active Nfs Server Using The Cli - Oracle ZFS Storage Appliance Administration Manual

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

As part of capacity planning, remember to take into account default/user group quotas
Note -
because the quotas could be exceeded if the source is larger than the destination. Also, shadow
migration will fail if the target runs out of disk space.
1.
Configure the source so that the appliance has root access to the share.
This typically involves adding an NFS host-based exception or setting
the anonymous user mapping (the latter having more significant security
implications).
2.
Create a share on the local filesystem with the shadow attribute set to 'nfs://
<host>/<snapshotpath>' in the CLI or just '<host>/<snapshotpath>' in the BUI
(with the protocol selected as 'NFS'). The snapshot should be read-only copy of
the source. If no snapshots are available, a read-write source can be used, but
may result in undefined errors.
3.
Validate that file contents and identity mapping are correctly preserved by
traversing the file structure.
If the data source is read-only (as with a snapshot), let the migration complete
4.
and verify that there were no errors in the transfer.

Migrating Data from an Active NFS Server using the CLI

Use the following procedure to migrate data from an active NFS server using the CLI. Note that
shadow migration fails if it encounters files under procfs or the following special file types:
doors, sockets, and event ports.
1.
Schedule downtime during which clients can be quiesced and reconfigured to
point to a new server.
2.
Configure the source so that the appliance has root access to the share.
This typically involves adding an NFS host-based exception or setting
the anonymous user mapping (the latter having more significant security
implications).
3.
Configure the source to be read-only. This step is technically optional, but it is
much easier to guarantee compliance if it is impossible for misconfigured clients
to write to the source while migration is in progress.
Create a share on the local filesystem with the shadow attribute set to 'nfs://
4.
<host>/<path>' in the CLI or just '<host>/<path>' in the BUI (with the protocol
selected as 'NFS').
Migrating Data from an Active NFS Server using the CLI
Shadow Migration
435

Advertisement

Table of Contents
loading

Table of Contents