Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
8Activity
0 of .
Results for:
No results containing your search query
P. 1
Mirrored Hardisk Replacement Procedure in Solaris Volume Manager

Mirrored Hardisk Replacement Procedure in Solaris Volume Manager

Ratings:

4.0

(1)
|Views: 706 |Likes:
Published by venkatanrm

More info:

Published by: venkatanrm on Nov 10, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/11/2013

pdf

text

original

 
 Disk0 – c0t0d0Disk1- c0t1d01 Backup these files
 
 /etc/lvm/mddb.cf or /etc/lvm/md.cf files.
 
 /etc/vfstab
 
metadb -i output
 
metastat –p output
 
metadb output
 
 /kernaldrv/md.conf 2 Add an entry in /etc/system
 
set md: mirrored_root_flag=13 Reboot the server
4 Check their application is working
5 shutdown the sever6 remove defective harddisk6 insert the new harddisk7 execute following command
 
 prtvtoc /dev/rdsk/c0t0d0s2| fmthard -s - /dev/rdsk/c0t1d0s2
After that check the partition table.8 Now check metadb -i
 
Output is look like this
flags first blk block counta m p luo 16 8192 /dev/dsk/c0t0d0s7a p luo 8208 8192 /dev/dsk/c0t0d0s7a p luo 16400 8192 /dev/dsk/c0t0d0s7M 16 unknown /dev/dsk/c0t1d0s7M 8208 unknown /dev/dsk/c0t1d0s7
M 16400 unknown /dev/dsk/c0t1d0s7
 
State database replicas with a capitalized status flag are in error. State database replicas with alowercase status flag are functioning normally.
9 Then we have to delete state database replicas on slice c0t1d0s7
Metadb –d c0t1d0s7
10 Then we have to create state database replicas on slice c0t1d0s7
Metadb –a –c 3 c0t1d0s7
11 we have to check metadb – 
I
 
The correct output looks like this
 
flags first blk block counta m p luo 16 8192 /dev/dsk/c0t0d0s7a p luo 8208 8192 /dev/dsk/c0t0d0s7a p luo 16400 8192 /dev/dsk/c0t0d0s7a p luo 16 8192 /dev/dsk/c0t1d0s7a p luo 8208 8192 /dev/dsk/c0t1d0s7a p luo 16400 8192 /dev/dsk/c0t1d0s7
12 we have to check metastat
 
Output is looks like this3d9: MirrorSubmirror 0: d10State: OkaySubmirror 1: d11State: Needs maintenancePass: 1Read option: roundrobin (default)Write option: parallel (default)Size: 529152 blocks (258 MB)d10: Submirror of d9State: OkaySize: 529152 blocks (258 MB)Stripe 0:Device Start Block Dbase State Reloc Hot Sparec0t0d0s6 0 No Okay Yesd11: Submirror of d9State: Needs maintenanceInvoke: metareplace d9 c0t1d0s6 <new device>Size: 529152 blocks (258 MB)Stripe 0:Device Start Block Dbase State Reloc Hot Sparec0t1d0s6 0 No Maintenance Yes
 
 d6: MirrorSubmirror 0: d7State: Needs maintenanceSubmirror 1: d8State: Needs maintenancePass: 1Read option: roundrobin (default)Write option: parallel (default)Size: 10491456 blocks (5.0 GB)d7: Submirror of d6State: Needs maintenanceInvoke: after replacing "Maintenance" components:metareplace d6 c0t0d0s5 <new device>Size: 10491456 blocks (5.0 GB)Stripe 0:Device Start Block Dbase State Reloc Hot Sparec0t0d0s5 0 No Last Erred Yesd8: Submirror of d6State: Needs maintenanceInvoke: after replacing "Maintenance" components:metareplace d6 c0t1d0s5 <new device>Size: 10491456 blocks (5.0 GB)Stripe 0:Device Start Block Dbase State Reloc Hot Sparec0t1d0s5 0 No Last Erred Yesd3: MirrorSubmirror 0: d4State: OkaySubmirror 1: d5State: Needs maintenancePass: 1Read option: roundrobin (default)Write option: parallel (default)Size: 8395200 blocks (4.0 GB)d4: Submirror of d3State: OkaySize: 8395200 blocks (4.0 GB)Stripe 0:Device Start Block Dbase State Reloc Hot Sparec0t0d0s1 0 No Okay Yesd5: Submirror of d3State: Needs maintenanceInvoke: metareplace d3 c0t1d0s1 <new device>Size: 8395200 blocks (4.0 GB)Stripe 0:Device Start Block Dbase State Reloc Hot Sparec0t1d0s1 0 No Maintenance Yes

Activity (8)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
seenuvasan1985 liked this
John Oliver liked this
samir.roul5530 liked this
syedanwar85 liked this
Anuj Sharma liked this
reji50 liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->