beautypg.com

HP XP P9500 Storage User Manual

Page 185

background image

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

d10: Mirror

Submirror 0: d11

State: Okay

Submirror 1: d12

State: Okay

Pass: 1

Read option: roundrobin (default)

Write option: parallel (default)

Size: 25190400 blocks (12 GB)

d11: Submirror of d10

State: Okay

Size: 25190400 blocks (12 GB)

Creating an HDLM Environment

3-119

Hitachi Dynamic Link Manager User Guide for Solaris

®

This manual is related to the following products: