beautypg.com

HP XP P9500 Storage User Manual

Page 174

background image

Set the disk slices for an LU as follows:

¢

Slice 0: All disk areas are allocated.

¢

Slice 2: All disk areas are allocated.

Other slices are not used.

2

.

Execute the zpool create command to create a root pool on a built-in

disk.
# zpool create root-pool-name slice-0-of-internal-disk
In the following example, the root pool name is rpool3 and the name of

the device on the built-in disk is c1t0d0s0.
# zpool create rpool3 c1t0d0s0

3

.

Execute the lucreate command to copy the ZFS boot disk environment

to LU#0.
# lucreate -n new-boot-environment-name -p root-pool-name
In the following example, the boot disk environment name is zfsBE2 and

the root pool name is rpool3.
# lucreate -n zfsBE2 -p rpool3
When the command terminates normally, the boot disk is copied to
rpool3.

4

.

Execute the following to allow the system to boot in the ZFS boot disk

environment.
# luactivate boot-environment-name
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/
bootblk internal-disk-device-(raw-device)
Note that the device on the built-in disk specified for the installboot

command must be a raw device.
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

3-108

Creating an HDLM Environment

Hitachi Dynamic Link Manager User Guide for Solaris

®

This manual is related to the following products: