HP Hitachi Dynamic Link Manager Software Licenses User Manual

Page 171

Advertising
background image

Before editing

/dev/zvol/dsk/rpool/swap -

- swap - no -

After editing

/dev/zvol/dsk/hdlmpool/swap -

- swap - no -

3

.

Execute the zfs create command to create a dump device for a file

system in the root pool (hdlmpool) after the migration.
The dump device size varies depending on the operating environment.

# zfs create -V 3G hdlmpool/dump

4

.

Execute the dumpadm command to switch to the dump device in the ZFS

boot disk environment after the migration.

# dumpadm -d /dev/zvol/dsk/hdlmpool/dump

5

.

Execute the dumpadm command to make sure that the dump device is

changed to hdlmpool/dump after the migration.

# dumpadm

Dump content: kernel pages

Dump device: /dev/zvol/dsk/hdlmpool/dump (dedicated)

Savecore directory: /var/crash

Savecore enabled: yes

Save compressed: on

Migrating data under the rpool/export or rpool/export/home

directory to a ZFS boot disk environment

Migrate data under the rpool/export or rpool/export/home directory to a

ZFS boot disk environment. Before the migration, back up data under the
rpool/export or rpool/export/home directory located in the local boot disk

environment before the migration.

To migrate the data in rpool/export, follow the procedure below. Follow the

same procedure to migrate the data in rpool/export/home.

1

.

Execute the zfs snapshot command to create a snap shot of the rpool/
export directory in the local boot disk environment before the migration.

# zfs snapshot -r rpool/[email protected]

2

.

Execute the zfs send and zfs receive commands to copy data under

the /export directory of the snapshot you created to the root pool

(hdlmpool) in the ZFS boot disk environment after the migration.

# zfs send -vRp rpool/[email protected] | zfs receive -uvdF

hdlmpool

Creating an HDLM Environment

3-105

Hitachi Dynamic Link Manager (for Solaris) User Guide

Advertising
This manual is related to the following products: