Replica database queries - Newbie

Replica database queries - Newbie

Post by Dolphi » Tue, 27 Jun 2006 14:52:02



Hi,

There are 4 new disks in the V880 system running Solaris 9. I was asked to
create RAID 5 for the 4 disks. Before creating the RAID 5 volume, the metadb
output is as follows:

        flags           first blk       block count
     a m  p  luo        16              8192            /dev/dsk/c1t0d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t0d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t0d0s7
     a    p  luo        16              8192            /dev/dsk/c1t1d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t1d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t1d0s7

I have added 1 replicas in each of the 4 disks and the output is as follows:

        flags           first blk       block count
     a m  p  luo        16              8192            /dev/dsk/c1t0d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t0d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t0d0s7
     a    p  luo        16              8192            /dev/dsk/c1t1d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t1d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t1d0s7
     a        u         16              8192            /dev/dsk/c1t2d0s7
     a        u         16              8192            /dev/dsk/c1t3d0s7
     a        u         16              8192            /dev/dsk/c1t4d0s7
     a        u         16              8192            /dev/dsk/c1t5d0s7

Is this correct? If not, how should I go about it? The RAID 5 volume has
already been created by using slice 2 of the disks.

Thanks in advance.

 
 
 

Replica database queries - Newbie

Post by Dan Cav » Tue, 27 Jun 2006 20:00:07


Dolphin

That looks fine, as you have three sets of metadb db's for each disk.
:D

D

Quote:> Hi,

> There are 4 new disks in the V880 system running Solaris 9. I was asked to
> create RAID 5 for the 4 disks. Before creating the RAID 5 volume, the metadb
> output is as follows:

>         flags           first blk       block count
>      a m  p  luo        16              8192            /dev/dsk/c1t0d0s7
>      a    p  luo        8208            8192            /dev/dsk/c1t0d0s7
>      a    p  luo        16400           8192            /dev/dsk/c1t0d0s7
>      a    p  luo        16              8192            /dev/dsk/c1t1d0s7
>      a    p  luo        8208            8192            /dev/dsk/c1t1d0s7
>      a    p  luo        16400           8192            /dev/dsk/c1t1d0s7

> I have added 1 replicas in each of the 4 disks and the output is as follows:

>         flags           first blk       block count
>      a m  p  luo        16              8192            /dev/dsk/c1t0d0s7
>      a    p  luo        8208            8192            /dev/dsk/c1t0d0s7
>      a    p  luo        16400           8192            /dev/dsk/c1t0d0s7
>      a    p  luo        16              8192            /dev/dsk/c1t1d0s7
>      a    p  luo        8208            8192            /dev/dsk/c1t1d0s7
>      a    p  luo        16400           8192            /dev/dsk/c1t1d0s7
>      a        u         16              8192            /dev/dsk/c1t2d0s7
>      a        u         16              8192            /dev/dsk/c1t3d0s7
>      a        u         16              8192            /dev/dsk/c1t4d0s7
>      a        u         16              8192            /dev/dsk/c1t5d0s7

> Is this correct? If not, how should I go about it? The RAID 5 volume has
> already been created by using slice 2 of the disks.

> Thanks in advance.


 
 
 

Replica database queries - Newbie

Post by Dolphi » Wed, 28 Jun 2006 10:11:45


Hi,

Currently there is 1 replica in each of the RIAD 5 disk. Just for my
learning purpose, can the number of the replica in the RAID 5 disk be
changed to 2 or more without disturbing the data in the RAID 5 volume? If
so, how to go about it?

Thanks in advance.


Quote:

> Dolphin

> That looks fine, as you have three sets of metadb db's for each disk.
> :D

> D

>> Hi,

>> There are 4 new disks in the V880 system running Solaris 9. I was asked
>> to
>> create RAID 5 for the 4 disks. Before creating the RAID 5 volume, the
>> metadb
>> output is as follows:

>>         flags           first blk       block count
>>      a m  p  luo        16              8192            /dev/dsk/c1t0d0s7
>>      a    p  luo        8208            8192            /dev/dsk/c1t0d0s7
>>      a    p  luo        16400           8192            /dev/dsk/c1t0d0s7

>>      a    p  luo        16              8192            /dev/dsk/c1t1d0s7
>>      a    p  luo        8208            8192            /dev/dsk/c1t1d0s7
>>      a    p  luo        16400           8192            /dev/dsk/c1t1d0s7

>> I have added 1 replicas in each of the 4 disks and the output is as
>> follows:

>>         flags           first blk       block count
>>      a m  p  luo        16              8192            /dev/dsk/c1t0d0s7
>>      a    p  luo        8208            8192            /dev/dsk/c1t0d0s7
>>      a    p  luo        16400           8192            /dev/dsk/c1t0d0s7
>>      a    p  luo        16              8192            /dev/dsk/c1t1d0s7
>>      a    p  luo        8208            8192            /dev/dsk/c1t1d0s7
>>      a    p  luo        16400           8192            /dev/dsk/c1t1d0s7
>>      a        u         16              8192            /dev/dsk/c1t2d0s7
>>      a        u         16              8192            /dev/dsk/c1t3d0s7
>>      a        u         16              8192            /dev/dsk/c1t4d0s7
>>      a        u         16              8192            /dev/dsk/c1t5d0s7

>> Is this correct? If not, how should I go about it? The RAID 5 volume has
>> already been created by using slice 2 of the disks.

>> Thanks in advance.

 
 
 

Replica database queries - Newbie

Post by Darren Dunha » Thu, 29 Jun 2006 00:15:26



> Currently there is 1 replica in each of the RIAD 5 disk. Just for my
> learning purpose, can the number of the replica in the RAID 5 disk be
> changed to 2 or more without disturbing the data in the RAID 5 volume?

If the space in the slice is sufficient for another copy (by default
each copy is about 4M), then yes.

In your particular case I wouldn't recommend it.  I would rather not
have my raid system replicas outnumber my root disk replicas.

Quote:> If
> so, how to go about it?

Remove the copy(copies) on the slice.  Add copies back to it with the -c
parameter to specify the number you want.

--

Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

 
 
 

1. State Database and State Database Replicas problem?

Hello all,
I am trying to figure out why when I created 4 extra state databases on
the second disk the metadb is saying that they are marked with "r".Which
means r - replica does not have device relocation information.

Here it is my senario. I have a V480 server with 2 disks and solaris 9
12/02 installed in the first disk.
I created 2 partitions in each disks slice6 and slice 7.
I create the meta database like this
metadb -a -f -c2 c1t0d0s6 c1t0d0s7
metadb -a -c2 c1t1d0s6 c1t1d0s7
and when I run metadb -i I see that in the state databases for the
second disk has the flug "r",all states has the flug "u".

Is this normal?

Regards,
Pavlos

2. Y2K Quest

3. State Database Replicas

4. firewall with three ethernet cards

5. partition size for raid database replicas

6. email from AIX

7. Solaris 9: cannot create state database replicas

8. socket problem

9. SDS 4.1 Trans Metadevice question, related to state database replicas

10. delete master meta database replica

11. Questions about DiskSuite state database replica and slices config.

12. Creating metastate database replicas

13. Solaris Volume Manage Master Replica Database