HP XP P9500 Storage User Manual
Page 158
# mount /dev/dsk/c8t50060E80004361D1d1s0 /mnt0
# mount /dev/dsk/c8t50060E80004361D1d1s6 /mnt1
# mount /dev/dsk/c8t50060E80004361D1d1s3 /mnt2
4
.
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 -)
5
.
Delete the rootdev parameter if it has been set in the /etc/system file in
the post-migration environment, and you were using SDS, SVM, VxVM, or
Sun StorageTek Traffic Manager software (or, in Solaris 10, the Solaris
multipathing software MPxIO).
6
.
Execute the ls -l command to display information about the slice
containing the / (root) file system of the post-migration boot disk.
This example shows how to execute the command. The underlined HDLM
physical device file name will be used in step 7.
# ls -l /dev/dsk/c8t50060E80004361D1d1s0
lrwxrwxrwx 1 root root 60 Nov 6 17:09 /dev/dsk/
c8t50060E80004361D1d1s0
-> ../../devices/pseudo/dlmndrv@1/dlmfdrv@w50060e80004361d1,1:a
7
.
Set the rootdev parameter for the slice containing the / (root) file
system of the post-migration boot disk to the /etc/system file of the
post-migration boot disk.
In the rootdev parameter, specify the physical device file name of the
HDLM device. In the following example, the underlined part is the physical
device file name displayed in the execution example in step 6.
rootdev:/pseudo/dlmndrv@1/dlmfdrv@w50060e80004361d1,1:a
8
.
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/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
/dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /usr ufs 1 no -
/dev/did/dsk/d24s3 /dev/did/rdsk/d24s3 /global/.devices/
node@1 ufs 2 no global
After editing
3-92
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide for Solaris
®