3. Creating an HDLM Environment
175
# newfs /dev/md/rdsk/d100
# 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
Comentarios a estos manuales