beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 183

background image

3. Creating an HDLM Environment

161

# newfs /dev/rdsk/c0t0d0s0
# newfs /dev/rdsk/c0t0d0s6
# newfs /dev/rdsk/c0t0d0s3

11. Mount the Solaris file system in the post-migration environment. If using Sun

Cluster, also mount the Sun Cluster global device file system.
The following shows an example of executing the command:


# mount /dev/dsk/c0t0d0s0 /mnt0
# mount /dev/dsk/c0t0d0s6 /mnt1
# mount /dev/dsk/c0t0d0s3 /mnt2

12. Copy the Solaris file system from the pre-migration environment to the

post-migration environment. If using Sun Cluster, also copy the Sun Cluster

global device file system to the post-migration environment.
The following shows an example of executing the command:


# ufsdump 0f - / | (cd /mnt0; ufsrestore rf -)
# ufsdump 0f - /usr | (cd /mnt1; ufsrestore rf -)
# ufsdump 0f - /global/.devices/node@1 | (cd /mnt2;
ufsrestore rf -)

13. In the post-migration

/etc/system

file, delete the

rootdev

parameter that

specifies the HDLM physical device file name.

14. Edit the post-migration boot disk's

/etc/vfstab

file, changing the Solaris file

system to the HDLM logical device file name of the post-migration boot disk. If
using Sun Cluster, change the mount device

#

of the Sun Cluster global device file

system in the same way.
An example is shown below.
Before editing

/dev/dsk/c8t50060E80004361D1d1s0 /dev/rdsk/

c8t50060E80004361D1d1s0 / ufs 1 no -

/dev/dsk/c8t50060E80004361D1d1s6 /dev/rdsk/

c8t50060E80004361D1d1s6 /usr ufs 1 no -

/dev/did/dsk/d30s3 /dev/did/rdsk/d30s3 /global/

.devices/node@1 ufs 2 no global

After editing

/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -