The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem replace disk with RAID-5 volumes bonovox Filesystems, Disks and Memory 0 05-26-2008 06:02 AM
using sed to replace ' with ` mr_dba01 Shell Programming and Scripting 2 08-08-2007 05:24 AM
Replace a Failed Root Disk in AIX chinnu_mulakala AIX 1 08-14-2006 11:06 AM
How to recover Hp-ux O/S Disk from Mirro Disk waqaralam HP-UX 5 03-23-2005 09:33 AM
available disk space on disk device??? alan UNIX for Dummies Questions & Answers 4 01-02-2004 12:06 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-03-2006
Registered User
 

Join Date: Nov 2006
Posts: 4
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.
Reply With Quote
Forum Sponsor
  #2  
Old 11-05-2006
Registered User
 

Join Date: Nov 2006
Posts: 4
really that bad?
Reply With Quote
  #3  
Old 11-05-2006
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 244
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
Reply With Quote
  #4  
Old 11-06-2006
Registered User
 

Join Date: Nov 2006
Posts: 4
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.
Reply With Quote
  #5  
Old 11-16-2006
Registered User
 

Join Date: Nov 2006
Posts: 4
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0