UPDATE: metadevices unavailable after reboot

From: Douglas Palmer (palmer@nyed.uscourts.gov)
Date: Fri Jul 16 2004 - 09:49:51 EDT


One reply asking for more information and about 20 or so OOO messages.
Those MUAs must be a bear to configure.

The system does not see SUNWmdu or SUNWmdr as installed. I copied the
files for those packages from patch 113073-13 to /sbin and /usr/sbin and
was able to re-initialize the md database and recreate the metadevices.
Now all the commands work. Not a great solution -- I have no idea why
those packages are not showing installed.

We also found that /etc/lvm/mddb.cf was empty as of the date of the prior
reboot (when the recommended patch cluster was last installed). The
/kernel/drv/md.conf file also had an empty "MDD database info" segment. I
was not able to recover the data on the metadevices, but I could recreated
them. The next test will be to see if they survive a reboot.

-- DCP

Original message in part:

> We had a small problem with a critical process that made us reboot the
> system.
>
> After coming back up the system complained that the metadevices
> (/dev/md/dsk/d10,/dev/md/dsk/d11) were not valid devices (no such
> device). All the commands that we usually use (metastat, metadb,
> metainit) fail with various errors depending on which one is run.
>
> The programs in /sbin seem to run, but they fail thus:
>
> # metastat
> metastat : artemis : invalid argument
> # metadb
> metadb : artemis : invalid address
>
> The programs in /usr/sbin fail totally:
>
> # metastat
> Bus Error(coredump)
> # metadb
> Bus Error(coredump)
>
> The only indication I could get that anything is being seen at all was
> with /sbin/metastat:
>
> # metastat -t d10
> metastat : artemis : d10: invalid interlace
>
> I thought that perhaps sometime in the past few weeks a patch had been
> partially installed, so I got the latest recommended set for Solaris 9
> (which has updates to DiskSuite) and installed. No change at all.
>
> I really need some help here. I have backup of the volumes but I need to
> get them back online to restore if necessary. It's been six hours and I
> am getting nowhere.

-- 
_______________________________________________
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:29:06 EDT