trying to replace a disk, that's all...


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers trying to replace a disk, that's all...
# 1  
Old 11-03-2006
trying to replace a disk, that's all...

Actually have a few different issues, wondering if I could get input on (tried reading/searching for an answer, with no luck)

1. Have a v240 running sol9 that needs a bad disk replaced. So, here are the steps I took:
a. detached from mirroring
b. cleared mirroring (metaclear)
c. removed from db (metadb -d)
d. viewed disk in cfgadm -al
e. unconfig'd (cfgadm -c unconfigure <disk>)
f. verified disk no longer in cfgadm -al
g. blue light came on, disk replaced.
h. tried to reconfigure (cfgadm -c configure <disk>)
this is where it's broke (attachment point not found).
i. tried to force (cfgadm -f -c configure <disk>)
worse: failed to configure SCSI device: I/O error

Here's the second issue, same device:

2. Want to rename disk from c0::sd2 to c0::dsk/c0t2d0
a. unconfigured the disk (spare disk)
cfgadm -c unconfigure c0::sd2
b. disk shows unconfigured (no blue light), but not removed
still shows up under cfgadm -al
c. tried reseating the disk, but no change.

Any help/suggestions would be appreciated.
# 2  
Old 11-05-2006
really that bad?
# 3  
Old 11-05-2006
Before step h, did you confirm you could see the disk via format and then get its new label via cfgadm -al ?

If the disk doesn't show up with a format, you might need to run devfsadm
Tornado
# 4  
Old 11-06-2006
thanks for the reply. i did not verify with <format> that i could see the disk before unconfiguring, however, after unconfiguring, replacing, and failed attempt to reconfigure... the format output does not recognize the disk.

I'll give the devfsadm a try and post back with results.

Thanks again.
# 5  
Old 11-16-2006
devfsadm didn't to the trick...

Before starting any work, here are some command outputs.

# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t3d0 disk connected configured unknown
c0::sd2 disk connected unconfigured unknown

>> Had tech remove disk and re-insert

# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@0,0
1. c0t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> data
/pci@1c,600000/scsi@2/sd@3,0

# devfsadm
#

# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@0,0
1. c0t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> data
/pci@1c,600000/scsi@2/sd@3,0

At this point i'm going to have the disks shipped back (even though i don't believe the disks are the problem (same issue on two different v440's).

Any other suggestions would be appreciated.

Thanks,
Vlad

PS> I tried using the disconnect / remove options with cfgadm -c, but received "operation not supported for scsi device" and "operation not supported" respectively.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Bad disk, how to replace ?

Hello, I see hard and transport errors on all disks under treso pool and looks like some data corruption too. I want to take backup before, I reboot and replace disk. As of now, there are no slots free on server, so one option is, to break mirror, remove second disk (I need two disks, because... (5 Replies)
Discussion started by: solaris_1977
5 Replies

2. Solaris

Replace zpool with another disk

issue, I had a zpool which was full pool_temp1 199G 197G 1.56G 99% ONLINE - pool_temp2 199G 196G 3.09G 98% ONLINE - as you can see, full so I replaced with a larger disk. zpool replace pool_temp1 c3t600144F0FF8BA036000058CC1DB80008d0s0... (2 Replies)
Discussion started by: rrodgers
2 Replies

3. HP-UX

LVM: is possible to replace a disk?

Scenario1: VG00 lvm,not mirrored,2 disk of 36GB vg size VG00 size is under 30G. Is possible to remove a disk of 36GB and replace "on fly" with a disk of 300GB on VG00? Thanks (6 Replies)
Discussion started by: Linusolaradm1
6 Replies

4. Ubuntu

Ubunutu 8.04.4 RAID 1 mirror replace disk

Hi, I have an Ubuntu system which I have an faulted mirror. I trying to replace the disk, but I'm stuck on that it boots and only showing GRUB GRUB ## ## End Default Options ## title Ubuntu 8.04.4 LTS, kernel 2.6.24-26-server root (hd0,0) kernel ... (0 Replies)
Discussion started by: jld
0 Replies

5. Solaris

Cannot remove and replace failed disk

-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... (3 Replies)
Discussion started by: LittleLebowski
3 Replies

6. SCO

Replace Disk

Originally Posted by panos83 Hello there Sir, according to this old post, https://www.unix.com/sco/100001-warni...ler-found.html i try to restore an old image to a new hard disk drive. The problem is that i don't have basic information such as: 1) Which btld driver do i... (3 Replies)
Discussion started by: jgt
3 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 to replace disk in solaris 10?

solaris os run on X86. bootdisk have been mirrored.but there is one disk miss,I want to replace the fail disk,but after I replace the disk,the system can't boot! pls help! (2 Replies)
Discussion started by: netxjman
2 Replies

9. Filesystems, Disks and Memory

Problem replace disk with RAID-5 volumes

Good morning, I have a problem replacing a disk with raid-5 volumes. An hardware error was occurred from a disk c9t3 so all slices were in maintenace. Every slice is part of a raid-5 volume. Any replica is present. Following Volume manager manual for replacing a disk, I have: - phisically... (0 Replies)
Discussion started by: bonovox
0 Replies

10. 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
Login or Register to Ask a Question