beautypg.com

System -102 – HP XP P9500 Storage User Manual

Page 168

background image

4

.

Execute the installboot command to set the LU#1 to be used for a ZFS

boot disk environment. Execute the following command to allow the

system to boot in a new boot disk environment.
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/
bootblk HDLM-device-(raw-device)-after-replacement
Note that the SCSI device specified for the installboot command must

be a raw device.
In the following example, the HDLM physical device is /devices/pseudo/
dlmndrv@1/dlmfdrv@w50060e8010253330,1:a.
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/
bootblk
/devices/pseudo/dlmndrv@1/dlmfdrv@w50060e8010253330,1:a,raw

5

.

Boot the system in the ZFS boot disk environment you have set up in step

4.
For details on how to obtain the boot path to be specified in the OpenBoot

PROM (OBP), see step 11 in

Setting Up the Post-Migration Environment

on page 3-91

.

Creating a ZFS Boot Disk Environment (for Solaris 11)

This section describes how to create a ZFS boot disk environment for Solaris

11.

Moving a local boot disk environment to an LU (HDLM device) in a storage

system

Migrate a local boot disk environment to an LU (HDLM device) in a storage

system. Before doing so, back up the /(root) directory, the /var directory,

and the /export directory in the local boot disk environment.

1

.

Execute the ls -l command to check the physical device file name of the

HDLM device to be used as the boot disk after the migration.
Below is an example assuming that the logical device file name in the

current local boot disk environment is c6t50060E8010027A80d7s0. The

underlined section is the physical device file name of the HDLM device.

# ls -l /dev/dsk/c6t50060E8010027A80d7s0

lrwxrwxrwx 1 root root 60 Nov 29 15:56 /dev/dsk/

c6t50060E8010027A80d7s0 -> ../../devices/pseudo/dlmndrv@1/

dlmfdrv@w50060e8010027a80,7:a

2

.

Execute the the zpool create command using the physical device file

name of the HDLM device you checked in step 1 to create a root pool in a

SCSI device.
The following is an example assuming that the root pool name is
hdlmpool.

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

dlmfdrv@w50060e8010027a80,7:a

3-102

Creating an HDLM Environment

Hitachi Dynamic Link Manager User Guide for Solaris

®

This manual is related to the following products: