Solaris Mirroring/Hotspare Issue


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Mirroring/Hotspare Issue
# 1  
Old 08-07-2012
Solaris Mirroring/Hotspare Issue

Hi Guys,
I have an issue with my Hotspares/Metastat on an x4270m2.
I have no hotspares available, when i printed out my metastat i got


Code:
d21: Concat/Stripe
    Size: 33559785 blocks (16 GB)
    Stripe 0:
        Device                             Start Block  Dbase   Reloc
        /dev/dsk/c0t5000CCA0258B3915d0s1          0     No      Yes

d20: Concat/Stripe
    Size: 551495385 blocks (262 GB)
    Stripe 0:
        Device                             Start Block  Dbase   Reloc
        /dev/dsk/c0t5000CCA0258B3915d0s0          0     No      Yes

so I'm also shy 2 submirrors as these are not attached.

I tried to attach them and got the following error:

Code:
root@tbair1>metattach d31 /dev/dsk/c0t5000CCA0258B3915d0
metattach: tbair1: c0t5000CCA0258B3915d0: not a metadevice

root@tbair1>metattach d31 d21
metattach: tbair1: d21: submirror too small to attach

So I tried to clear the device and recreate it but i got this:
Code:
root@tbair1>metadb -a -c 2 /dev/dsk/c0t5000CCA0258B3915d0s7
metadb: tbair1: c0t5000CCA0258B3915d0s7: has a metadevice database replica

and
Code:
root@tbair1>metainit d21 1 1 /dev/dsk/c0t5000CCA0258B3915d0s7 -h hsp002
metainit: tbair1: hsp002: invalid hotspare pool

Now all reference to d21 and d20 have disappeared from my metastat - which is to be expected i suppose as I detached/cleared them. My problem now it how do I reattach them and create my hotspares?

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Root disk mirroring in Solaris 10

I would like to perform root disk mirroring task. Can someone please help me out on this. Thanks !! Regards, Rama (2 Replies)
Discussion started by: ramagore85
2 Replies

2. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

3. Solaris

Undo the Veritas mirroring and update from Solaris 8 to Solaris 10

Hi all I wish to undo the mirroring for root and update the Solaris version from 8 to 10. Since i am lack of knowledge and experience on this, hope you all can help me double check the step and correct me. Existing disk groups details root@leo # vxdg list NAME STATE ID... (3 Replies)
Discussion started by: SmartAntz
3 Replies

4. Solaris

Mirroring Solaris

Hi, I'm trying to setup mirroring, but i get an error. what have done is. prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2 Then i created the metadb. metadb -a -f c1t0d0s7 c1t1d0s7 now i wan't to metainit. metainit -f d11 1 1 c1t0d0s0 metainit -f d12 1 1... (4 Replies)
Discussion started by: jld
4 Replies

5. Solaris

Disk Mirroring on solaris 5.8

Hi Friends, I am having Sun Solaris 5.8 OS installed having 2 different size hard disk, sizes are c0t0d0s0(160 GB) and c0t2d0s0 (40GB). I have installed Sun Solaris 5.8 OS in c0t0d0s0 (160GB) harddisk. I have configured all the parameters required for disk mirroring. But when executing... (4 Replies)
Discussion started by: Vijayakumarpc
4 Replies

6. Solaris

Solaris 10 Disk Mirroring

Has anyone managed to set up disk mirroring in Solaris 10 yet? If so can you point me in the direction of some useful documentation please. Cheers (25 Replies)
Discussion started by: korfnz
25 Replies

7. Solaris

Disk Mirroring for Solaris 10 x86

I am having an issue with setting up disk mirroring for Solaris 10 on an x86 server. My main problem is that the volumes and slices have already been setup and our proprietary software has already been installed and configured. The entire drive has been allocated in this configuration and the... (2 Replies)
Discussion started by: chuck43
2 Replies

8. Solaris

[HELP] mirroring disk at solaris 8 sparc v890

hi expert, sorry i'm new in solaris system, need more advice and help :) i'm confusing with mirroring disk at my sparc v890 solaris 8, i have 6 harddisk which the structure shown below : format : AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> ... (4 Replies)
Discussion started by: bucci
4 Replies

9. UNIX for Advanced & Expert Users

Solaris 8 disk/mirroring issue

Hello! I recently inherited system administration duties for a SUN v880 box. The system has 6 physical hard disks.. In doing some basic maintenance, I found they're configured for mirroring. I ran the metastat and metadb commands, and many of the mirrors are showing they are in need of... (5 Replies)
Discussion started by: ghuber
5 Replies

10. Solaris

Solaris mirroring / non-root disk

Hi Guys, Need to add 2 disks into a JBOD array (3310). Does anyone see anything wrong with my Procedure / Doco below? 1> Logon to system, check system logs for abnormal entries. 2> Make backups of related system files: A>cp -p /etc/system /etc/system.backup.081505 B>cp -p /etc/vfstab... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
Login or Register to Ask a Question