Replacing a failed disk using SVM


 
Thread Tools Search this Thread
Operating Systems Solaris Replacing a failed disk using SVM
# 8  
Old 03-15-2017
for dumpadm:
Code:
root@mhcominf01:/# dumpadm
      Dump content: kernel pages
       Dump device: /dev/md/dsk/d30 (dedicated)
Savecore directory: /var/crash/mhcominf01
  Savecore enabled: yes
   Save compressed: on

for swap -l
Code:
root@mhcominf01:/# swap -l
swapfile             dev  swaplo blocks   free
/dev/md/dsk/d20     85,20      8 20980880 20980880
root@mhcominf01:/#

when running metastat, I come across the following:
Code:
d32: Submirror of d30
    State: Needs maintenance
    Invoke: metareplace d30 c0t2d0s3 <new device>
    Size: 459940950 blocks (219 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c0t2d0s3          0     No     Maintenance   Yes

,
and:

Code:
d22: Submirror of d20
    State: Needs maintenance
    Invoke: metareplace d20 c0t2d0s1 <new device>
    Size: 20980890 blocks (10 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c0t2d0s1          0     No     Maintenance   Yes

these are two different stattements. What do they mean, what is the impact on the system?
Please explain
# 9  
Old 03-15-2017
Ok, it seems that c0t0d0 disk is not in use.
One check is missing:
Code:
zpool status

should not list the c0t0d0.
The next challenge is to find the physical disk that is c0t0d0.
The d30 and d20 mirrors are degraded, because the submirrors d32 and d22 failed. Obviously because the c0t2d0 disk failed. But they still work because the other submirrors are okay.
I would surface-scan the disk c0t2d0, by means of format, pick the c0t2d0, analyze, read.
If this passes without errors, I would resync them, e.g. by the commands
Code:
metareplace -e d30 c0t2d0s3
metareplace -e d20 c0t2d0s1

Then metastat should show they are resyncing (data is restored from the other submirror).
If all submirrors are okay then the full redundancy is restored, and the mirrors' state become okay.
# 10  
Old 03-15-2017
If your disk has failed completely, format would say "drive type unknown", like the c0t0d0 disk.

So at this point, you can try to resync the mirror. If it fails to complete the resync, then replace the disk.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Replacing a Disk in a ODS/SVM Mirror

Hi All BAsed on the below I would like to verifu two things (1) The udnerlying mirroris for '/mnt' na dit onlcy contaisne 1 sub-mirror, with one sliceon is one disk and hence, data loss on the mount point (the mount point, '/mnt' is backed up) (2) the Procedure for renewal # df -kh /mnt... (2 Replies)
Discussion started by: stevie_velvet
2 Replies

2. Solaris

Root disk mirroring in SVM

I tried doing rootdisk mirroring in my local host , i added a new Ide disk in my system and copied the prtvtoc from root disk to the newly added disk, and then when i tried to add database replicas on both the disks, it was added for boot disk but for the newly added disk i gave the error, which... (6 Replies)
Discussion started by: Laxxi
6 Replies

3. Solaris

Replacing a hard disk (SVM) with a soft partition?

The following is the summarry:- 1) Four disks in server ie (c1t0d0. c1t1d0, c1t2d0, c1t3d0). c1t2d0 is the disk to be replaced. c1t0d0 and c1t2d0 are mirrors. c1t1d0 and c1t3d0 are mirrors. Metadb to be deleted is in c1t2d0s7 a) Mirror d35 has 2 submirrors d38 and d39 d38 is a stripe... (0 Replies)
Discussion started by: aji1729
0 Replies

4. Solaris

Root Disk mirroring in SVM

Dear All, Please help me to configure root mirroring using SVM in Solaris 9. Thanks and Regards, Lakkireddy BR (3 Replies)
Discussion started by: lbreddy
3 Replies

5. Solaris

Command to find the failed disks in SVM and VxVM

How to find & replace bad disks in solaris & VXVM?plz explain step by step? (2 Replies)
Discussion started by: xtreams
2 Replies

6. Solaris

Disk space missing under SVM

Hi Gurus, I've got an issue here: (1) Hardware: Sun NetraT1, (2) OS: Solaris 10, (3) SVM metastat shows /var having 12 GB. df shows /var having 4 GB. Real space for /var is about 4 GB since I can't move a big file to it. How is 8 GB space missing? Does /var/run swap need to account? Can I... (5 Replies)
Discussion started by: aixlover
5 Replies

7. Solaris

mirroring root disk using svm - but no free slices for metadb's

Hi all, we have an existing system that was configured using just one of the (two) internal disks. I want to mirror the disk using SVM, but have realised there is no free slice for creating the metadb's. Is there a workaround I can use for this? In the past we have always kept slice 7 free -... (8 Replies)
Discussion started by: badoshi
8 Replies

8. Solaris

Removing Disk from SVM

Hi All, I have to remove the disk from SVM. Kindly guide me or suggest me some link where in I can steps to remove SVM from Solaris 10 .Also I have one metaset which require deletion. Thanks in anticipation! (10 Replies)
Discussion started by: kumarmani
10 Replies

9. Solaris

Disk Replacement SVM

Hello, Can someone advise the proper procedure for replacing a mirrored disk in SVM. I have checked the docs and various websites but the procedure seems to vary. This is what I would do... 1. Remove the db replicas from the bad disk. 2. Detach it from the mirror 3. Clear it with... (4 Replies)
Discussion started by: Actuator
4 Replies

10. Solaris

Disk replacement with svm

I dont even know what raid level this is, but its raid 5 mirrored from the looks of it. I have a failed disk (t12) within this mirror. What is the best way to replace this disk? 2 things concern me, isn't there a command to prepare the disk for a hot swap? and what should i do with the... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
Login or Register to Ask a Question