beautypg.com

Solaris 11) -109 – HP XP P9500 Storage User Manual

Page 175

background image

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.

It is assumed that the root pool name of the ZFS boot disk environment

before the migration is hdlmpool, and the root pool name of the local boot

disk environment after the migration is rpool in this section.

1

.

Execute the zfs snapshot command to create a snapshot of the
hdlmpool/export directory in the ZFS boot disk environment.

# zfs snapshot -r hdlmpool/[email protected]

2

.

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

the hdlmpool/export directory in the ZFS boot disk environment you

created with the snapshot to the rpool/export directory in the local boot

disk environment.

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

uvdF rpool

sending from @ to hdlmpool/[email protected]

receiving full stream of hdlmpool/[email protected] into

rpool/[email protected]

sending from @2011-12-05.01 to hdlmpool/[email protected]

received 47.9KB stream in 1 seconds (47.9KB/sec)

receiving incremental stream of hdlmpool/[email protected]

into rpool/[email protected]

sending from @ to hdlmpool/export/[email protected]

received 312B stream in 3 seconds (104B/sec)

receiving full stream of hdlmpool/export/[email protected] into

rpool/export/[email protected]

sending from @2011-12-05.01 to hdlmpool/export/[email protected]

received 1.10MB stream in 1 seconds (1.10MB/sec)

receiving incremental stream of hdlmpool/export/

[email protected] into rpool/export/[email protected]

received 31.4KB stream in 2 seconds (15.7KB/sec)

3

.

Execute the zfs list command to make sure the root pool (/export)

directory in the local boot disk environment after the migration is copied.

# zfs list -r rpool

NAME USED AVAIL REFER MOUNTPOINT

rpool 8.71G 58.2G 73.5K /rpool

rpool/ROOT 2.59G 58.2G 31K legacy

rpool/ROOT/solaris 2.41G 58.2G 1.73G /

rpool/ROOT/solaris/var 337M 58.2G 171M /var

rpool/dump 4.06G 62.3G 16K -

rpool/export 1.10M 58.2G 32K /export

rpool/export/home 1.07M 58.2G 1.04M /export/home

rpool/swap 2.06G 58.3G 2.00G -

Creating an HDLM Environment

3-109

Hitachi Dynamic Link Manager User Guide for Solaris

®

This manual is related to the following products: