Can't perform metattach with new disk, need advise.


 
Thread Tools Search this Thread
Operating Systems Solaris Can't perform metattach with new disk, need advise.
# 1  
Old 10-30-2013
Can't perform metattach with new disk, need advise.

Hi Guys,

I m not ble to perform metattaach with new disk.

Getting below Error:-

Code:
-bash-3.00$ sudo /usr/sbin/metattach d0 d10
metattach: server03: /dev/md/rdsk/d10: No such device or address

This is wht my metastat -p shows:-

Code:
-bash-3.00$ sudo /usr/sbin/metastat -p
Password:
d4 -m d24 1
d24 1 1 c1t1d0s4
d3 -m d23 1
d23 1 1 c1t1d0s3
d1 -m d21 1
d21 1 1 c1t1d0s1
d0 -m d20 1
d20 1 1 c1t1d0s0
d14 1 1 c1t0d0s4
d13 1 1 c1t0d0s3
d11 1 1 c1t0d0s1
d10 1 1 c1t0d0s0
-bash-3.00$

metadb -i :-
Code:
-bash-3.00$ sudo /usr/sbin/metadb -i
Password:
        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/c1t1d0s6
     a    p  luo        8208            8192            /dev/dsk/c1t1d0s6
     a    p  luo        16400           8192            /dev/dsk/c1t1d0s6
     a    p  luo        16              8192            /dev/dsk/c1t0d0s6
     a    p  luo        8208            8192            /dev/dsk/c1t0d0s6
     a    p  luo        16400           8192            /dev/dsk/c1t0d0s6
     a    p  luo        16              8192            /dev/dsk/c1t1d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t1d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t1d0s7
 r - replica does not have device relocation information
 o - replica active prior to last mddb configuration change
 u - replica is up to date
 l - locator for this replica was read successfully
 c - replica's location was in /etc/lvm/mddb.cf
 p - replica's location was patched in kernel
 m - replica is master, this is replica selected as input
 W - replica has device write errors
 a - replica is active, commits are occurring to this replica
 M - replica had problem with master blocks
 D - replica had problem with data blocks
 F - replica had format problems
 S - replica is too small to hold current data base
 R - replica had device read errors
-bash-3.00$

I have checked the both the disk re showing correct partition table as well.

However even time of metinit it ws displying output tht the sub mirror is lredy set up. whih I guess should not be displyed t the time of creating new error.


My both disk re lso showing zero error:-

Code:
-bash-3.00$ /usr/local/bin/sudo iostat -iEn c1t0d0
c1t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST373207LSUN72G  Revision: 065A Device Id: id1,sd@TSEAGATE_ST373207LSUN72G_3KT27KZ8
Size: 73.41GB <73407865856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
-bash-3.00$ /usr/local/bin/sudo iostat -iEn c1t1d0
c1t1d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU  Product: MAT3073N SUN72G  Revision: 0602 Device Id: id1,sd@SFUJITSU_MAT3073N_SUN72G_000519B04NMU____AAN0P5504NMU
Size: 73.41GB <73407865856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
-bash-3.00$

Plese dvise the steps I need to take care of.

Thanks
# 2  
Old 10-30-2013
Show us output of:
Code:
metastat d10
ls -l /dev/md/rdsk/d10

This User Gave Thanks to bartus11 For This Post:
# 3  
Old 10-30-2013
Hi,

Code:
-bash-3.00$ sudo /usr/sbin/metastat d10
Password:
d10: Concat/Stripe
    Size: 67110720 blocks (32 GB)
    Stripe 0:
        Device     Start Block  Dbase   Reloc
        c1t0d0s0          0     No      Yes

Device Relocation Information:
Device   Reloc  Device ID
-bash-3.00$

Code:
-bash-3.00$ ls -l /dev/md/rdsk/d10
lrwxrwxrwx   1 root     root          37 Oct  6  2009 /dev/md/rdsk/d10 -> ../../../devices/pseudo/md@0:0,10,raw

# 4  
Old 10-30-2013
Try running:
Code:
metadevadm -r

Then try "metattach" again.
This User Gave Thanks to bartus11 For This Post:
# 5  
Old 11-11-2013
Solved!
I had to do metaclear again
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Would you like to advise a beginner !

Im new in unix, I learned some commands, I have a small idea in MS Dos Would you like to advise me where and how to start ? (2 Replies)
Discussion started by: BaxxterHp
2 Replies

2. Solaris

Submirrors swapped after metattach

We had few mirror disks e.g d0 had two submirrors Submirror 0: d2 Submirror 1: d1 I opened mirrors for some activity. by command metadetach d0 d2 After activity I reattach mirrors with command metattach d0 d2 But after that strangely sumirror position is swaped ... (3 Replies)
Discussion started by: kashif_islam
3 Replies

3. Solaris

Experts !!! Please advise

Hi, I work on sun Solaris. Am hosting few web services on my server which are accessed over the internet. Now to check whether the web service is responding or not, i first have to log in to the web service URL. If it doesn't respond there, i come back to my server box and restart the service... (4 Replies)
Discussion started by: sting672744
4 Replies

4. Linux

Please advise me.

Hello all, I have a question, and would like some advice please. I am a windows guy by trade....5 years in the Marines is where I learnt a lot of what i know. I took a junior level sys admin job...learned a bit more...and now I do IT security. All of this happened in the last 8 years. So I'm 27... (2 Replies)
Discussion started by: Quality
2 Replies

5. Solaris

Can't metattach root partition

I'm mirroring up a T2000. Able to metainit and metattach all partitions with the exception of root. Getting the following error: metattach: <hostname>; c1t1d0s0; is mounted on / I'm stumped. By the way, target 1 is the boot disk. (7 Replies)
Discussion started by: Probos
7 Replies

6. UNIX for Dummies Questions & Answers

your advise on mysql, please

My intention is to set up a mysql on unix. Could you provide some info, please, useful for realization of the plan (other than "read the documentation" that will be done anyway)? vaguely yours` sehrguey (2 Replies)
Discussion started by: serguey
2 Replies

7. UNIX for Dummies Questions & Answers

I am one of the newbies, please advise

I am new to UNIX and Linux. I have some experiences with Windows server. I am thinking to start with those OS (Unix/Linux) and more specifically with the OS for the server. however, i have no idea which one would i start first, unix or linux? Because i also dont know how they are different. ... (3 Replies)
Discussion started by: sanlen
3 Replies

8. UNIX for Dummies Questions & Answers

Need your advise for which version ?

Hi ... I'm new when it comes to using a computer , I have in the last few years kind of learn Windows xp but I find that Microsoft is ripping people off with their operating system and I would very much like to try to learn Unix operating system , so far all I know about Linux/Unix its totally... (3 Replies)
Discussion started by: terryfox
3 Replies
Login or Register to Ask a Question