HP Hitachi Dynamic Link Manager Software Licenses User Manual

Page 195

Advertising
background image

# newfs /dev/md/rdsk/d300

5

.

Mount the Solaris basic file system of the post-migration environment.
For example:

# mount /dev/md/dsk/d100 /mnt0

# mount /dev/md/dsk/d300 /mnt1

6

.

Copy the existing Solaris basic file system to the post-migration

environment.
For example:

# ufsdump 0f - / | (cd /mnt0; ufsrestore rf -)

# ufsdump 0f - /usr | (cd /mnt1; ufsrestore rf -)

7

.

Edit the file /etc/vfstab (/mnt0/etc/vfstab) of the boot disk after the

migration to change the definition of the swap after the migration to the

metadevice /dev/md/dsk/d200 and the definition of /usr after the

migration to the metadevice /dev/md/ds/d300.
Before change:

/dev/md/dsk/d20 - swap - no -

/dev/md/dsk/d30 /dev/md/rdsk/d30 /usr ufs 1 no -

After change:

/dev/md/dsk/d200 - swap - no -

/dev/md/dsk/d300 /dev/md/rdsk/d300 /usr ufs 1 no -

8

.

Edit the file /etc/dumpadm.conf (/mnt0/etc/dumpadm.conf) of the boot

disk after the migration to change the definition of the dump device

specified for the parameter DUMPADM_DEVICE to the boot disk of the post-

migration environment.
Before change:

DUMPADM_DEVICE=/dev/md/dsk/d20

After change:

DUMPADM_DEVICE=/dev/md/dsk/d200

9

.

Execute the metaroot command, using the -R option to specify the mount

point of the / (root) file system after the migration.

# metaroot -R /mnt0 d100

10

.

In order to boot from the post-migration environment, determine the boot

device name for the OBP.
Only the path used by HDLM to determine the logic device file name of

the HDLM device of the boot disk can be specified as the boot device.

Creating an HDLM Environment

3-129

Hitachi Dynamic Link Manager (for Solaris) User Guide

Advertising
This manual is related to the following products: