HP XP P9500 Storage User Manual
Page 171
Assume that the root pool name of the local boot disk environment before the
migration is rpool and the root pool name of the ZFS boot disk environment
after the migration is hdlmpool.
Migrating a swap device and a dump device to a ZFS boot disk
environment
Migrate a swap device and a dump device to a ZFS boot disk environment.
1
.
Execute the zfs create command to create a swap device for a file
system in the root pool (hdlmpool) after the migration.
The swap device size and the block size vary depending on the operating
environment.
# zfs create -V 4G -b 8k hdlmpool/swap
2
.
Edit the /etc/vfstab file for the ZFS boot disk environment after the
migration to change the swap device definition from the local boot disk in
the environment before the migration to the ZFS boot disk in an
environment after the migration.
An example is shown below.
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
Creating an HDLM Environment
3-105
Hitachi Dynamic Link Manager User Guide for Solaris
®