Cannot remove and replace failed disk


 
Thread Tools Search this Thread
Operating Systems Solaris Cannot remove and replace failed disk
# 1  
Old 06-22-2011
Cannot remove and replace failed disk

Code:
-bash-3.00# zpool detach zonepool c1t1d0
cannot detach c1t1d0: only applicable to mirror and replacing vdevs
-bash-3.00# zpool remove zonepool c1t1d0
cannot remove c1t1d0: only inactive hot spares, cache, top-level, or log devices can be removed
-bash-3.00# zpool offline zonepool c1t1d0
-bash-3.00# zpool remove zonepool c1t1d0
cannot remove c1t1d0: only inactive hot spares, cache, top-level, or log devices can be removed
-bash-3.00# zpool detach zonepool c1t1d0
cannot detach c1t1d0: only applicable to mirror and replacing vdevs
-bash-3.00# zpool replace -f zonepool c1t1d0 c1t1d0
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c1t1d0s0 is part of active ZFS pool zonepool. Please see zpool(1M).
-bash-3.00#

# 2  
Old 06-22-2011
Post output of
Code:
zpool status zonepool

# 3  
Old 06-22-2011
Code:
-bash-3.00# zpool status zonepool
  pool: zonepool
 state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
        repaired.
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        zonepool    DEGRADED     0     0     0
          raidz1-0  DEGRADED     0     0     0
            c1t1d0  FAULTED      0     0     0  too many errors
            c1t2d0  ONLINE       0     0     0
            c1t3d0  ONLINE       0     0     0

errors: No known data errors
-bash-3.00#

# 4  
Old 06-22-2011
I think you just have to pull out the failed disk and replace it physically... Then run
Code:
zpool clear zonepool c1t1d0

You might try to run
Code:
zpool offline zonepool c1t1d0

before pulling out the disk. After you replace it run
Code:
zpool online zonepool c1t1d0

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Replacing a failed disk using SVM

Hi Please can you help me on replacing or removing a faulty disk drive on a SUN NETRA X4250server with 4 internal drives only. the format comand show me the following: format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <drive type unknown> ... (9 Replies)
Discussion started by: fretagi
9 Replies

2. AIX

Failed Disk,unable to varyonvg

Iam new to AIX I am unable varyonvg on the vios,some of the disk are reported as harware failure. I am going to replace the disk,Please tell me how to remove the disk without any corruption in the VG lspv -l hdiskx also didn't work (0 Replies)
Discussion started by: roayaix
0 Replies

3. Solaris

Recover failed system disk

I have an oldish Solaris 10 system (SunFire x4240), which due to a recent heating event in the server room, lost it's system disk. I have rsync backups of all the other (data) disks, but apparently I do not have a backup of /. :-( I can start the machine up in failsafe mode, but running fsck on... (4 Replies)
Discussion started by: jj5406
4 Replies

4. Red Hat

Find out the failed disk

Hi Masters, How to find out the failed disk in redhat linux (OR) How to decalare whether our hard disk goes bad ? My option is: dmesg | grep "failed" check in /var/log/messages with the kernel error. Please corrrect me if im wrong. And also i heard "smartctl" command. But it's... (2 Replies)
Discussion started by: abhay1983
2 Replies

5. UNIX for Advanced & Expert Users

Identify failed disk in Linux RAID

Good Evening, 2 years ago, I set up an Ubuntu file-server for a friend, who is a photograph amateur. Basically, the server offers a software RAID-5 that can be accessed remotely from a MAC. Unfortunately, I didn't labeled the hard drives (i.e. which physical drive corresponds to the /dev/sdX... (2 Replies)
Discussion started by: Loic Domaigne
2 Replies

6. Solaris

Step by step to replace Failed disk

Hi all. This may be a stupid question but here goes: I lost a disk on my Sun-Fire 480-r and want to replace it. I don't care about the data, I just need to get a new disk in. Can anyone supply me with step by step procedure please. I am not an expert by any means and it is a dev box so I... (1 Reply)
Discussion started by: jamie_collins
1 Replies

7. Solaris

How to replace failed disk?

Dear all Please can any one explain me how to replace failed disk in Solaris 10. Please tell me the step by step procedure. (9 Replies)
Discussion started by: suneelieg
9 Replies

8. Solaris

How can we confirm that, the disk has failed in Solaris?

Hi All, Seems to be one of the disk has failed on my Solaris server. How do i confirm that disk has really failed or not? Here are alert details. ------- iostat -En out/put c1t3d0 Soft Errors: 1884 Hard Errors: 153 Transport Errors: 54 Vendor: FUJITSU Product:... (3 Replies)
Discussion started by: Naresh Kommina
3 Replies

9. AIX

Replace a Failed Root Disk in AIX

My root disk is failed and how to replace the root disk in AIX. Can u give a detailed explanation in step wise. Pls give the answer taking different scenarios. Regards Praveen (1 Reply)
Discussion started by: chinnu_mulakala
1 Replies

10. UNIX for Advanced & Expert Users

Scsi Disk Failed

My WS boot disk has failed so when i want to boot system (by OK boot -s or Ok boot disk0 ) i get these mesgs: disk read error boot :can not find misc/sparc9v/krtld boot:error loading interperetor (misc/sparc9v/krtld) Elf64 read error. boot failed. although it's probed ,finally i try... (1 Reply)
Discussion started by: nikk
1 Replies
Login or Register to Ask a Question