HP Hitachi Dynamic Link Manager Software Licenses User Manual
Page 179

# beadm create -p rpool -a solaris-2
5
.
Execute the beadm list command to check that the ZFS boot disk
environment was created.
Make sure that R appears in the Active column of the hdlmboot row for
the created ZFS boot disk environment.
# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
hdlmboot NR / 2.06G static 2011-12-06 11:37
solaris - - 2.93G static 2011-11-29 14:42
solaris-2 R - 4.84G static 2011-12-11 14:01
6
.
Execute the eeprom command to specify the post-replacement device as
the boot device.
In the following example, the boot environment is specified as disk0 for
the local disk.
# eeprom boot-device=disk0
7
.
Execute the init command to restart the host.
# init 6
Do not use the reboot command to restart the host.
8
.
Execute the beadm list command to check whether the OS booted from
the created boot environment.
Make sure that NR appears in the Active column of the solaris-2 row
for the created boot environment.
# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
hdlmboot R - 2.06G static 2011-12-06 11:37
solaris - - 2.93G static 2011-11-29 14:42
solaris-2 NR / 4.84G static 2011-12-11 14:01
Configuring the Post-Migration ZFS Boot Disk Environment
This section explains how to configure the post-migration ZFS boot disk
environment.
The procedure below assumes that the root pool name for the pre-migration
local boot disk environment is hdlmpool and that the root pool name for the
post-migration ZFS boot disk environment is rpool. This procedure migrates
the swap device and the dump device to the ZFS boot disk environment.
1
.
If rpool/swap does not exist as a file system, execute the zfs create
command to create a swap device for the file system in the post-
migration root pool rpool, and then enable the device. Then, stop use of
the swap device in hdlmpool. The swap device size and the block size
differ depending on the usage environment.
# zfs create -V 4G -b 8k rpool/swap
# swap -a /dev/zvol/dsk/rpool/swap
# swap -d /dev/zvol/dsk/hdlmpool/swap
2
.
Edit the /etc/vfstab file of the post-migration ZFS boot disk
environment, and change the swap device definition from the local boot
Creating an HDLM Environment
3-113
Hitachi Dynamic Link Manager (for Solaris) User Guide