Re: oninit: Cannot open chunk '/dev/rdsk/c0t1d0s6'. errno = 2
Posted in 2000
From: raf.vanhaute@just.fgov.be
>
>When I run oninit (Sparc Sun Solaris 7 en IDS 7.23), I receive this
>messages:
>
>hvbbg-sun:/tmp(31)# oninit
>oninit: Cannot open chunk '/dev/rdsk/c0t1d0s6'. errno = 2
>oninit: Fatal error in shared memory initialization
>
>The log file looks like this:
>Wed Aug 2 09:29:03 2000
>
>09:29:03 Event alarms enabled. ALARMPROG =
>'/opt/informix/etc/log_full.sh'
>09:29:08 DR: DRAUTO is 0 (Off)
>09:29:08 Informix Dynamic Server Version 7.31.UC5 Software Serial
>Number *********
>09:29:10 Assert Failed: chunk failed sanity check
>
>09:29:10 Informix Dynamic Server Version 7.31.UC5
>09:29:10 Who: Session(1, root@hvbbg-sun, 0, 211795992)
> Thread(7, main_loop(), c9d4018, 3)
> File: rspartn.c Line: 7355
>09:29:10 Results: Chunk 1 is being taken OFFLINE.
>09:29:10 Action: Restore chunk from archive. If this is a temporary>dbspace
> chunk, drop and add the dbspace to enable it.
>09:29:10 See Also: /tmp/af.3efcdc6
>09:29:11 I/O error, Primary Chunk '/dev/rdsk/c0t1d0s6' -- Offline
>(sanity)>
>What did I do? Well,
>
>The db was up and running but without mirroring. So I tried to drop the
>dbspaces and blobspaces and all the databases. Only rootdbs on the
>sysmaster db I could'nt drop. So I formatted the drive (using
>format-utility in Sun). After this format, I receive always the messages
>described above when doing oninit? Can someone help me with this. I've
>already installed informix in an other directory and have the rootdbs on
>another disk. Always the same prob.
>
>What does this sanity check mean and how can I get rid of a whole db
>without problems?
Thanks! I was having a really bad day and needed a good chuckle.
Run
oninit -ivy
to restart your database.
A couple of things:
1. You should really make links to the raw devices -- if you have a disk
crash, you can chuck another disk in and just move the link.
2. RTFM. http://www.informix.com/answers
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com