Hitachi Dynamic Link Manager Software Users Guide for Solaris (7.6)
Boot disk File system Mirror Sub mirror
/usr d300 d301
d302
After migration /(root)
d10 d11
d12
swap d20 d21
d22
/usr d30 d31
d32
2. Create metadevices on the sd/ssd device, and then mirror them. (Single
mirror)
# metainit -f d11 1 1 c6t50060E08000436D1d6s0
# metainit d10 -m d11
# metainit -f d21 1 1 c6t50060E08000436D1d6s1
# metainit d20 -m d21
# metainit -f d31 1 1 c6t50060E08000436D1d6s6
# metainit d30 -m d31
3. Set the boot block of the post-migration environment by specifying slice 0
(/ (root) file system) after the migration.
For example:
# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/
md/rdsk/d10
4. Initialize the Solaris basic file system of the post-migration environment.
For example:
# 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 -)
Creating an HDLM Environment
3-129
Hitachi Dynamic Link Manager User Guide for Solaris
®