Problem with state database


 
Thread Tools Search this Thread
Operating Systems Solaris Problem with state database
# 1  
Old 07-09-2009
Problem with state database

Hi Experts,

I am facing problem while creating a concatenated volume. I would like to decribe the process I did:

1- I created state data base with slice1,slice2,slice3,slice4,slice5,slice6 with command:

#metadb -a -f slice1 slice2 ........ slice6

From metastas, everything seems to be ok. But when I used these slices to create a concatenated volume by below command:

#metainit d20 1 2 slice1 slice2

The concatenated vol was created, but when I tried to add one more slice (c1t1d1s3) with volume d20, the below error comes:

ERROR : metainit: sun : c1t1d1s3 : overlaps with device in meta device state databse.

Please guide me to recover from this problem.

Thanks in advance!
Deepak
# 2  
Old 07-10-2009
Hi,

I am trying this on Vmware workstation where Solaris 10 is installed. However, it works with the first slices of every disks, but not other slices.

Please let me know if other info required.

Thanks again!!
Deepak
# 3  
Old 07-11-2009
It looks like you did an metainit on s2 ( the whole disk ) which is your problem.

You have to skip s2 when doing the metadb/metainit.
# 4  
Old 07-11-2009
When creating the metats state databases you only install them into one slice per disk, not to ecevry slice or else you will have no slices left for data, it is also advisable to put three metastate databases into each slice because SDS will not run with less than three so run:
Code:
# metadb -a -f -c 3 firsdiskslice7 secondiskslice7, etc.

e.g.
Code:
# metadb -a -f -c 3 firsdiskslice7 /dev/dsk/c0t0d0s7 /dev/disk/c1t0d0s7



---------- Post updated at 06:07 PM ---------- Previous update was at 05:25 PM ----------

Coirrection (got dragged away by the Mrs!) run:
Code:
# metadb -a -f -c 3 /dev/dsk/c0t0d0s7 /dev/disk/c1t0d0s7

[/quote]
# 5  
Old 07-13-2009
Thanks for your interest in my problem.

The slices I am using are from different physical disks. The same error appears when I install state databases other than the slices I will use for striped volume.

From another forum, I found that this problem is only due to same device id for every physical disk in Vmware.

Can any one guide me to change the device id for a Vmware virtual harddisk?

Thanks,
Deepak
# 6  
Old 07-20-2009
Might be worth posting that as a new question so VMWare expert sees it...
# 7  
Old 07-21-2009
Naw_deepak,
first of all correct your guestion. It is impossible create any FS on second slice of Suns internal disk.
As guys said it is advised to create 3replicas per disk,and is also advised that these replicas placed on separate slice.

Please refer to SVM doc first before you manage your disks under it.
So what is last update of your issue regarding SVM?

Good luck
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem with a script for checking the state of a process

Hello Everyone, I have a process that should be always running. Unfortunately, this process is getting down almost every 10 minutes. I want to make a script that verify the state of this process: If the process is up, the script shouldn't do nothing and if it's down he should run it. Can... (3 Replies)
Discussion started by: adilyos
3 Replies

2. AIX

Open firmware state to running state

Hi Admins, I am having a whole system lpar in open firmware state on HMC. How can I bring it to running state ? Let me know. Thanks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies

3. UNIX for Dummies Questions & Answers

Create Alert for Database Problem

Hi all, I new to scripting and i need to know how to put the script when the capture goes down in the feeds database.. I tried with this "ps -ef | grep asn" command and it displaying the capture,apply time. But the alert we are receving now is replication is failed . So i need to develop the... (1 Reply)
Discussion started by: g.nanthagopal
1 Replies

4. UNIX for Advanced & Expert Users

Problem relocating to another state with Shutdown

How are you, good afternoon, I do not speak and I do not write in English, and I'm iniciandome in unix / linux on my own, I am using the google translator, my question is this, know what are the shutdown command to change user State: # shutdown -y -g0 -i0 (completely off my system) # shutdown... (8 Replies)
Discussion started by: PrincipianteZ
8 Replies

5. Shell Programming and Scripting

Problem with backup and copy a database

Hi, I have many servers distributed on my customer locations all servers has MYSQL database. I want to backup database for each server on server at my location using scheduler. So I create Shell script file to backup and copy the database file from customer server to my server as... (3 Replies)
Discussion started by: amsbas
3 Replies

6. Shell Programming and Scripting

problem trying to access a database

hi guys, I am using the following code in order to access a database. #!/usr/bin/perl print "READ DATA FROM DATABASE\n"; use DBI; use strict; #use DBD::Oracle; my $user='reassure'; my $pass='R3Assur3'; #my $dsn="dbi:Oracle:orcl"; my $dsn='dbi:Oracle:cobscs.world'; my $dbh =... (1 Reply)
Discussion started by: chriss_58
1 Replies

7. UNIX for Advanced & Expert Users

Crontab Database Problem

Hi, I'm trying to run one shell scrip from crontab.That scrip is connecting with sybase database with isql statement. But when that scrip is going to run using crontab, it is showing following error : CT-LIBRARY error: ct_connect(): network packet layer: internal net library error: Net-Lib... (0 Replies)
Discussion started by: dipakjoshi
0 Replies

8. UNIX and Linux Applications

Problem with Database backup

Hi! This is my first post and im not that familiar with UNIX but I'll try to explain my problem.. I have a server here at work running Open UNIX Release 8.0.0 It has a special application on it that I'm trying to run a database backup on. For the last 2 weeks this has failed.. Usually the... (2 Replies)
Discussion started by: TaZ
2 Replies
Login or Register to Ask a Question