breaking root mirror with disksuite (metaroot, metadetach, etc)

From: Zaigui Wang (zaigui@yahoo.com)
Date: Wed Oct 29 2003 - 13:41:27 EST


Managers,

the / and swap file systems on my server are disksuite
metadevices like this

/dev/md/dsk/d0 ------> /
/dev/md/dsk/d1 ------> swap

both d0 and d1 are set up as mirrors:

d0 ---- d10 (c0t0d0s0)
   \
    \ d20 (c0t1d0s0)

d1 ----- d11 (c0t0d0s1)
   \
    \ d21 (c0t1d0s1)

I am currently testing to boot from the submirrors and
physical slices. For example,

if I metadetach the second submirror and reboot the
machine, it works fine. If I "metaroot c0t0d0s0" and
reboot, the machine works fine too.

However, when I do "metaroot c0t1d0s0", or "ok> boot
mirror" (mirror is aliased to the slice on the second
drive), it fails to boot with this error:

Executing last command: boot mirror
Boot device: /pci@1f,0/pci@1,1/scsi@2/disk@1,0 File
and args:
SunOS Release 5.8 Version Generic_108528-23 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights
reserved. configuring IPv4 interfaces: hme0 hme1.
Hostname: jump-64
mount: /dev/dsk/c0t0d0s0 is not this fstype.
/sbin/rcS: /etc/dfs/sharetab: cannot create
failed to open /etc/coreadm.confsyseventd: Unable to
open daemon lock file '/etc/sysevent/syseventd_lock':
'Read-only file system'
INIT: Cannot create /var/adm/utmpx

INIT: failed write of utmpx entry:" "

INIT: failed write of utmpx entry:" "

INIT: SINGLE USER MODE

Type control-d to proceed with normal startup,
(or give root password for system maintenance):

I have already install the boot block onto the seond
drive.

Any solutions?

Thanks

Zaigui

=====
Regards,
Zaigui Wang
(408)544-8612
(408)425-0236

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:22 EDT