Solaris 11) -110 – HP Hitachi Dynamic Link Manager Software Licenses User Manual

Page 176

Advertising
background image

In the following example, the boot disk environment name is zfsBE2 and

the name of the device on the built-in disk is c1t0d0s0:
# luactivate zfsBE2
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/
bootblk /dev/rdsk/c1t0d0s0

5

.

Execute the init command, and then restart the host.
# init 6
Do not use the reboot command to restart the host.

6

.

Execute the zpool export command to export the root pool from the

pre-migration local boot disk environment.
# zpool export pre-migration-root-pool
In the following example, the pre-migration root pool name is rpoo2.
# zpool export rpool2

Settings required after restarting the host

The lucreate command executed in step 3 does not copy the /export

directory or /export/home directory.
If you want to copy the data under these directories, copy the /export

and /export/home directories to the post-migration environment. If you

do not know the copy procedure, contact the company with which you

have a contract for Oracle Support Services.

Migrating from a ZFS Boot Disk Environment to the Local Boot Disk

Environment (for Solaris 11)

This section explains how to migrate from a ZFS boot disk environment to the

local boot disk environment.

To migrate a boot disk environment on the current HDLM device to the local

boot disk environment, you need an LU that has the same capacity as the

boot disk.

Replacing an LU with Another LU in the Boot Disk Environment

1

.

Execute the zpool replace command to change the current ZFS boot

disk environment from the HDLM physical device specification to the

HDLM logical device specification.

# zpool replace root-pool-name current-boot-disk-environment-

device HDLM-logical-device

The logical device file of the HDLM device is the last parameter to be

specified.
In the following example, the root pool name is hdlmpool, the current

boot disk environment device is /devices/pseudo/dlmndrv@1/
dlmfdrv@w50060e8010027a80,8:a, and the HDLM logical device that is

the destination of migration is c6t50060E8010027A80d7s0:

# zpool replace hdlmpool /devices/pseudo/dlmndrv@1/

dlmfdrv@w50060e8010027a80,8:a c6t50060E8010027A80d7s0

3-110

Creating an HDLM Environment

Hitachi Dynamic Link Manager (for Solaris) User Guide

Advertising
This manual is related to the following products: