Unmirroring Disks With Disksuite - HP Dl180 - G6 E5504 2X2gb 4Lff Svr Deployment Manual

Sun solaris 10 deployment guide for hp proliant servers
Hide thumbs Also See for Dl180 - G6 E5504 2X2gb 4Lff Svr:
Table of Contents

Advertisement

/dev/md/dsk/d6 /dev/md/rdsk/d6 /opt ufs 2 yes nosuid,logging
swap - /tmp tmpfs - yes -
Reboot the system.
11.
# lockfs -fa
# init 6
Attach the second submirror to the mirror. This causes the data from the boot disk to be
12.
synchronized with the mirrored drive. You can run metastat to track the mirroring progress.
# metattach d0 d20
# metattach d1 d21
# metattach d4 d24
# metattach d5 d25
# metattach d6 d26
# metattach d7 d27
Change the crash dump device to the DiskSuite swap metadevice (Solaris 7 and later).
13.
# dumpadm -d `swap -l | tail -1 | awk '{print $1}'`
Determine the physical device path of the mirror disk.
14.
$ ls -l /dev/dsk/c0t1d0s0
lrwxrwxrwx 1 root root 50 Jan 16 10:20 /dev/rdsk/c0t1d0s0 ->
../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:a
Replace the major name (e.g. dad) in the physical device path with disk when creating the
device alias below.
Create a mirror device alias for the mirror disk:
15.
# eeprom "nvramrc=devalias mirror
/pci@1f,0/pci@1,1/ide@3/disk@1,0:a"
# eeprom "use-nvramrc?=true"
You can also configure the device alias from the Open Boot (ok) prompt:
nvalias mirror /pci@1f,0/pci@1,1/ide@3/disk@1,0:a
You might want to add the mirror device alias to the boot-device Open Boot parameter in case
of a problem with the standard boot device. For instance:
# eeprom boot-device
boot-device=disk net
In case of an issue with the disk device alias, the system attempts to boot from the mirror device
alias and then the network with the following change.
# eeprom "boot-device=disk mirror net"
From the Open Boot prompt, type boot mirror to boot from the mirror disk.
If you only have two internal disks (for example,. the boot disk and mirror disk), consider adding
16.
the following parameter to /etc/system to bypass the SVM/DiskSuite quorum rule.
set md:mirrored_root_flag = 1
Without this parameter, the system will not boot in multiuser mode if half or fewer of its state
database replicas are available.

Unmirroring disks with DiskSuite

Detach the mirror from its sub-mirror using
1.
metadetach mirror sub-mirror
Check the status of the mirror using metastat.
2.
Detach the mirror. metastat -p will list the sub-mirrors and the mirrors associated.
3.
Optional configuration tasks 36

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents