Re: Setting up Rootdbs on a raw disk
Posted in 2000
Could you post the exact error message (just copy&paste)
you receive from oninit and any messages you get in your
online.log file ?
On Thu, Jan 06, 2000 at 08:21:33AM -0700, Anne Shelp wrote:
>
>
> >>>> Octav Chiriac <com@netinfo-moldova.com> 01/05/00 11:47PM >>>
> >It could be a typo, but in your onconfig file the file is
> >/dbdisks/rootdbs
> >and you have created the link as /dbdisk/rootdisk.
> >Is it right.
>
> Yes it is a typo
>
> >Another question - have you created the mirror device file (/dbdisks/mirrorroot)?
>
> Yes I created mirrorroot.
>
> >And the last question - have you changed the ownership/group of files
> >to informix:informix and the permissions to 660 on the link AND on the
> >device special file ?
>
> Yes again
>
> >Best Regards,
> >Octav
>
> >On Wed, Jan 05, 2000 at 05:49:57PM -0700, Anne Shelp wrote:
> > Hi all,
> >
> > I got the part about setting up databases on raw files. I understand that using links is the way to go. What I am
> > having problems with is actually getting it to work. I created a link to a raw disk.
> >
> > ln /dev/rdsk/c0t2d0p3 /dbdisk/rootdisk (I also tried ln -s).
> >
> > When I try to initialize the database - oninit -i or through onmonitor I get the error "Error opening file "dbdiisk/rootdisk" I know that I must be missing some obvious step (and probably silly). Any ideas?
> >
> > Info follows:
> >
> >
> > Solaris 2.6 x86
> > Compaq 4500
> > Informix 7.23UC1
> >
> > #**************************************************************************
> > #
> > # INFORMIX SOFTWARE, INC.
> > #
> > # Title: onconfig.std
> > # Description: INFORMIX-OnLine Configuration Parameters
> > #
> > #**************************************************************************
> >
> > # Root Dbspace Configuration
> >
> > ROOTNAME rootdbs # Root dbspace name
> > ROOTPATH /dbdisks/rootdbs> > # Path for device containing root dbspace
> > ROOTOFFSET 20 # Offset of root dbspace into device (Kbytes)
> > ROOTSIZE 960000 # Size of root dbspace (Kbytes)> >
> > # Disk Mirroring Configuration Parameters
> >
> > MIRROR 1 # Mirroring flag (Yes = 1, No = 0)
> > MIRRORPATH /dbdisks/mirrorroot> > # Path for device containing mirrored root
> > MIRROROFFSET 20 # Offset into mirrored device (Kbytes)> >
> > # Physical Log Configuration
> >
> > PHYSDBS rootdbs # Location (dbspace) of physical log
> > PHYSFILE 15000 # Physical log file size (Kbytes)> >
> > # Logical Log Configuration
> >
> > LOGFILES 20 # Number of logical log files
> > LOGSIZE 10000 # Logical log size (Kbytes)>
> [snip]
>
> >
> > TIA
> > Anne Shelp
> --
> Octav Chiriac Phone: (373) 2 22 99 67
> NetInfo S.R.L. Fax: (373) 2 21 36 59
> Chisinau (373) 2 22 84 88
> Moldova, Republic of mailto:com@netinfo-moldova.com
--
Octav Chiriac Phone: (373) 2 22 99 67
NetInfo S.R.L. Fax: (373) 2 21 36 59
Chisinau (373) 2 22 84 88
Moldova, Republic of mailto:com@netinfo-moldova.com