beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 205

background image

3. Creating an HDLM Environment

183


# newfs /dev/md/rdsk/d10
# newfs /dev/md/rdsk/d30

5.

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


# mount /dev/md/dsk/d10 /mnt0
# mount /dev/md/dsk/d30 /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 a metadevice

(

/dev/md/dsk/d20

) and change the definition of

/usr

after the migration to a

metadevice (

/dev/md/ds/d30

).

Before change:

/dev/md/dsk/d200 - swap - no -
/dev/md/dsk/d300 /dev/md/rdsk/d30 /usr ufs 1 no -

After change:

/dev/md/dsk/d20 - swap - no -
/dev/md/dsk/d30 /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/d200

After change:

DUMPADM_DEVICE=/dev/md/dsk/d20