Summary: Fixing inode error on mirrored Root disks.

JimLaPeer_at_ferris.edu
Date: 11/29/05

  • Next message: mike_josh_at_verizon.net: "cannot relay email messages"
    To: sunmanagers@sunmanagers.org
    Date: Tue, 29 Nov 2005 11:17:47 -0500
    
    

    Apologies for the delay in posting this summary (original email back on
    6/2/2005); I actually did not get a change window to perform the work
    until last week... Much thanks to the many folks that offered help &
    suggestions. To name a few...Paul Robertson, Sal Serafin, David
    Livingston, Matthew Lee Stier, Stan Pietkiewicz, Bill R. Williams, Millie
    Sefcyk. Believe me, it made a difference.

    Here's what worked (Sunfire V480, SVM):
    ------------------------------------------------------------------------------------------------------------------------------------
    d10=Mirror /dev/md/dsk/d10 /dev/md/rdsk/d10
           d11=SubMirror /dev/dsk/c1t0d0s0
    /dev/rdsk/c1t0d0s0
           d12=SubMirror /dev/dsk/c1t1d0s0
    /dev/rdsk/c1t1d0s0
    -------------------------------------------------------------------------------------------------------------------------------------
    Process Steps:

    1.) Detach sub-mirror d12.
          /usr/sbin/metadetach d10 d12 (detach d12 SubMirror (c1t1d0s0)
    from d10 Mirror.)
    2.) Init system into OBP
          init 0
    3.) Boot system off CDROM, single-user mode
          Solaris Install CD #1
          boot cdrom -s
    4.) Run fsck against the (still) attached sub-mirror d11.
          Make sure that root partition is unmounted.
          fsck -y -o f /dev/rdsk/c1t0d0s0 (will resync submirror d12
    after reboot, when reattached,
                                              as per David Livingston email)
    5.) Init system into OBP
          sync
          init 0
    6.) Boot system normally (System will come up normally,
    but not mirrored)
          boot
    7.) Perform a metaattach command, to attach the 'un-attached' sub-mirror.
    This will sync up the unattached submirror, fixing the inode problem. May
    take couple hours.
          /usr/sbin/metattach d10 d12 (reattach & resync d12 SubMirror
    to d10 Mirror.)
          /usr/sbin/metastat | grep Resync (check current percentage of
    resync completion.)
    8.) When completed, system is ready; Reboot optional?

    Again, thanks to all who helped.
    Jim LaPeer
    Sr. Systems Programmer
    Ferris State University
    Phone: (231) 591-2142

    __________________

    I'm fairly new to Solaris administration... (Retread IBM Mainframe sysprog)

    We have observed the following error message on one of our V1280 servers
    that has a mirrored Root partition. This server is running Solaris 9,
    using Solaris Volume Manager for mirroring.

    [ID 879645 kern.notice] NOTICE: /: unexpected free inode 427288, run fsck
    (1M) -o f

    The gentleman that set this server up (top notch sysadmin) went on to a
    better opportunity, so I am learning fast. Looks like the following
    sequence of steps would get me through a correction... I would appreciate
    any critiquing, or pointers, from more experienced folks. Thanks in
    advance - I will summarize in return.

    1.) Bring down server to OBP level
    2.) Boot server off CDROM, single user mode (installation CDROM #1 ?)
    3.) Mount root partition "/dev/dsk/c1t0d0s0" on " /a " (1st submirror)
    4.) Run fsck on " /a "
    5.) umount " /a "
    6.) Repeat process for second submirror.
    7.) Reboot back into multi-user mode.

    Again, thanks for any advice that might be offered.

    Jim LaPeer
    Sr. Systems Programmer
    Ferris State University
    Phone: (231) 591-2142
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
     http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: mike_josh_at_verizon.net: "cannot relay email messages"

    Relevant Pages

    • Re: CVSUP Mirror
      ... My supfile on my mirror server looks identical to yours. ... your system until you type "make install". ... a few questions so that I can set up your CVSup server properly. ...
      (freebsd-questions)
    • Re: hardware for Exchange 2003
      ... your current server will work fine. ... in daily bases or weekly bases in order to commit the T.L files into Exchange ... one(or mirror or RAID 1) for Transaction Log files and let's call this D: ... ALL SCSI drives running at 15krpm for maximum throughput. ...
      (microsoft.public.exchange.design)
    • Re: SBS 2000 install problems (need to reinstall from scratch)
      ... They are just simple IDE drives running as dynamic disks ... I am familiar with the Active Directory replication from one server to ... the SBS install will change the AD schema to accomodate Exchange. ... >> Do I need to go into disk management and break the mirror first or just ...
      (microsoft.public.backoffice.smallbiz2000)
    • Re: FW: [opensuse] FlightGear
      ... choose a mirror near you. ... Click Add, HTTP, Next and in the Server Name either ... other issue may be with my ISP - but considering the complaints from others ... with YaST not being able to "reach" the repos). ...
      (SuSE)
    • Re: mirroring 2 servers for disaster
      ... swapping shadow copies to restore your DS or Exchange server. ... to use the VSS (Volume Shadow copy Service) infrastructure in Windows ... > offsite DC you'd need to break the mirror, introduce the shadow copy disk, ... With DFS, database sync, and AD replication he'd lose less ...
      (microsoft.public.windows.server.active_directory)