Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

State database replicas Solaris 9 1

Status
Not open for further replies.

jhahs

Technical User
Oct 19, 2004
29
US
Fairly new to Solaris and Unix in general.
While setting up a RAID 1 mirror for three drives
I try to create database replicas on three drives.

During install of Solaris 9, I create dedicated slices (s3)
on each drive for the replicas.

After installing Solaris 9, when I try to create
the replicas on the slices, it will not
create them due to the slices being mounted.

main drive layout is:
c0t0d0s0 root 8 gig
c0t0d0s3 /VMreplica 10 meg

c0t8d0s3 /VMreplica1 10 meg
c0t8d0s4 /var 8 gig

c0t9d0s3 /VMreplica2 10 meg
c0t9d0s7 /export/home 8 gig

backup drives
c0t10d0
c0t11d0
c0t12d0

Partition structure is copied from main drives to
backup drives via Volume manager.

If I umount the slices, I can create the replicas, but
then during reboot, fsck reports the slices as having a bad magic number and the reboot stops at maintenance mode prompt.

The Volume Manager guide offers no help.
Where am I going wrong?
 
You shouldn't create filesystems on or mount the slices containing the state database replicas. They are stored in a special format, not using a filesystem.

Annihilannic.
 
jhahs;

try these links and see if they clear up a couple things for you;




It would help also if you can give us the procedure of how you are creating your state database replicas from step 1 (meaning from partition phase on.)

thanks

CA
 
Finaly got the replicas to load.
During install of Solaris 9, set the following drive layout:
c0t0d0s0 /
c0t0d0s1 swap
c0t0d0s3 replica db

c0t8d0s3 replica db
c0t8d0s4 /var

c0t10d0s3 replica db
c0t10d0s7 /export/home

After OS install, went to /etc/vfstab and commented out the entries for s3 on all drive. Now able to create replicas, sub mirros and RAID 1 mirrors.. re-sync is good.
thanks for the assistance..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top