beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 192

background image

3. Creating an HDLM Environment

170

7.

Execute the

metaroot

command.


# metaroot d10

8.

Reboot the host.

9.

When the host starts, check the swap device and dump device. Then execute the

mount

command to confirm that

/

(

root

) and

/usr

have been correctly

configured.


# swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d20 85,20 16 8409584 8409584

# dumpadm
Dump content: kernel pages
Dump device: /dev/md/dsk/d20 (swap)
Savecore directory: /var/crash/host
Savecore enabled: yes

# mount
/ on /dev/md/dsk/d10 read/write/setuid/devices/intr/
largefiles/logging/xattr/onerror=panic/dev=154000a on Mon
Mar 9 11:00:25 2009
/usr on /dev/md/dsk/d30 read/write/setuid/devices/intr/
largefiles/logging/xattr/onerror=panic/dev=154001e on Mon
Mar 9 11:00:25 2009

10. Set up a two-mirror configuration of

/

(

root

),

swap

, and

/usr

.


# metainit -f d12 1 1 c8t50060E08000436D1d5s0
# metattach d10 d12

# metainit -f d22 1 1 c8t50060E08000436D1d5s1
# metattach d20 d22

# metainit -f d32 1 1 c8t50060E08000436D1d5s6
# metattach d30 d32

11. Execute the

metastat

command to confirm that the two-mirror configuration

has been correctly configured.


# metastat