Migrating From A Zfs Boot Disk Environment To The Local Boot Disk Environment - Hitachi XP P9500 User Manual

Hitachi dynamic link manager software user guide for solaris (6.6) (hit5205-96011, november 2011)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

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
on page
Migrating from a ZFS Boot Disk Environment to the Local Boot Disk
Environment
This section explains how to migrate from a ZFS boot disk environment to the
local boot disk environment.
1
Set the disk slices for LU#0 and LU#1.
.
Set the disk slices for an LU as follows:
¢
¢
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.
3-85.
Slice 0: All disk areas are allocated.
Slice 2: All disk areas are allocated.
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Solaris(R))
Setting Up the Post-Migration Environment
3-95

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dynamic link manager

Table of Contents