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

From: Zaigui Wang (zaigui_at_yahoo.com)
Date: 10/29/03

  • Next message: Smith Denise (esc1des): "Can't boot U10/Need to get it fixed ASAP"
    Date: Wed, 29 Oct 2003 10:41:27 -0800 (PST)
    To: sunmanagers@sunmanagers.org
    
    

    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


  • Next message: Smith Denise (esc1des): "Can't boot U10/Need to get it fixed ASAP"

    Relevant Pages

    • RE: Breaking and using a mirrored drive
      ... creation and use of a boot disk, ... server's OS now BUT in order to break the mirror set and make the new C: ... partition active I need to get into the Computer Management console's Disk ... if performing a recovery installation from the OS installation CD restore all ...
      (microsoft.public.win2000.general)
    • Re: RAID 1
      ... >> at boot to know if it is a raid device or not. ... but a general decision that people take to mirror ... partitions and not whole drives. ... > still have a copy of everything, but because grub didn't make the ...
      (comp.os.linux.networking)
    • Re: cant boot from mirrored boot drive
      ... If the disk containing the primary partition fails you will have to create a fault tolerant boot floppy to recover the installation. ... Do I break the mirror, shutdown and remove the good boot disk rdiskand just leave the disk that doesn't want to boot in and boot to the recovery conole to check it out? ... They are sata drives, drive 0 and drive 1 on the main system board's controller. ...
      (microsoft.public.windows.server.general)
    • Re: Adding a new HDD - how do I move / everything ?
      ... Boot your old system with the new drive at hdb. ... Observe your old partition table with fdisk -l. ... Build file systems and a swap area on the new drive. ... Insert your Debian install CD and reboot. ...
      (Debian-User)
    • [opensuse] Co-existing in a dynamic network Howto?
      ... I have several computers running SuSE and use fstab to do a number of automounts of file systems that exist on other computers within our network. ... I use fstab to define what I want automounted, so as to be able to run some scripts that access available remote file systems during boot up. ... during boot up, if the automount process finds one computer that does not exist, it times out and seems to give up on mounting any of the rest of the computers in the list. ...
      (SuSE)