unconfigure using cfgadm


 
Thread Tools Search this Thread
Operating Systems Solaris unconfigure using cfgadm
# 15  
Old 05-18-2009
Quote:
Originally Posted by incredible
just pull out the device should be removed from the device tree, offlines it, and possibly even powers the device down.
After executing 'luxadm -e offline <devicename>', verified the disk didn't show in 'luxadm inq c?t?d?s2' or format. We then executed devfsadm -C to clear the devices from the /dev device list. Follow your steps
Thanks for your timely inputs!

I did go ahead and pulled out the drive. I did not try the luxadm -e offline command which I should have probably.

Put the new disk in , ran devfsadm -C

saw the new disk in format, then went ahead with my steps.

following command did not run properly,
Quote:
metadevadm -u c2t1d0
c2t1d0 not found in local set. Check your syntax
wonder why?

Other steps went fine and Sync is now done, checked with metastat too.

iostat -En still shows the old HITACHI DISK Smilie

Quote:
iostat -En
c1t0d0 Soft Errors: 2 Hard Errors: 0 Transport Errors: 3
Vendor: TOSHIBA Product: DVD-ROM SD-C2612 Revision: 1011 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0
c2t0d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0
Vendor: HITACHI Product: DK32EJ72FSUN72G Revision: 2Q09 Serial No: 0340W1F62F
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
ssd3 Soft Errors: 0 Hard Errors: 36 Transport Errors: 1754
Vendor: HITACHI Product: DK32EJ72FSUN72G Revision: 2Q09 Serial No: 0340W1FNCZ
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c0t5006016041E033A8d0 Soft Errors: 28 Hard Errors: 0 Transport Errors: 0
Vendor: DGC Product: LUNZ Revision: 0324 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 28 Predictive Failure Analysis: 0
c5t6006016037A11600A48D3AB42A6DDC11d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: DGC Product: RAID 5 Revision: 0224 Serial No:
Size: 0.54GB <536870912 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
c2t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAW3073FCSUN72G Revision: 1303 Serial No: 0806B0PRMV
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
but I don't see any error messages on system console and it also showed DISK Okay immediately after putting new disk. I feel the old drive information might go away after rebooting but I do not really want to do this at this time.

luxadm inq /dev/rdsk/c?t?d?s2

INQUIRY:
Physical Path:
/devices/pci@8,700000/ide@6/sd@0,0:c,raw
Vendor: TOSHIBA
Product: DVD-ROM SD-C2612
Revision: 1011
Serial Number Unsupported
Device type: 0x5 (CD-ROM device)
Removable media: yes
ISO version: 0
ECMA version: 0
ANSI version: 0 (Device might or might not comply to an ANSI version)
Response data format: 2
Additional length: 0x5b
VENDOR-SPECIFIC PARAMETERS
Byte# Hex Value ASCII
36 30 34 2f 31 37 2f 30 32 00 00 00 00 00 00 00 00 04/17/02........
00 00 00 00 ....

INQUIRY:
Physical Path:
/devices/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000087151713,0:c,raw
Vendor: HITACHI
Product: DK32EJ72FSUN72G
Revision: 2Q09
Serial Number 40W1F62F0045P39M0687
Device type: 0x0 (Disk device)
Removable media: no
Medium Changer Element: no
ISO version: 0
ECMA version: 0
ANSI version: 3 (Device complies to SCSI-3)
Terminate task: no
Response data format: 2
Additional length: 0x8b
Cmd received on port: b
Command queueing: no
VENDOR-SPECIFIC PARAMETERS
Byte# Hex Value ASCII
52 00 00 00 00 ....
96 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 Copyright (C) 20
30 32 20 48 69 74 61 63 68 69 20 41 6c 6c 20 72 02 Hitachi All r
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

INQUIRY:
Physical Path:
/devices/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e019df5171,0:c,raw
Vendor: FUJITSU
Product: MAW3073FCSUN72G
Revision: 1303
Serial Number 000806B0PRMV DGN0P820PRMV
Device type: 0x0 (Disk device)
Removable media: no
Medium Changer Element: no
ISO version: 0
ECMA version: 0
ANSI version: 4Reserved
Terminate task: no
Response data format: 2
Additional length: 0x5b
Cmd received on port: b
Command queueing: no
VENDOR-SPECIFIC PARAMETERS
Byte# Hex Value ASCII
52 00 00 00 00 ....


Another problem I have to solve now is, this node was part of sun cluster (2 node) 'cluster status' still shows a disk fail,

Quote:
=== Cluster DID Devices ===

Device Instance Node Status
--------------- ---- ------
/dev/did/rdsk/d1 lumtest1 Ok
lumtest2 Ok

/dev/did/rdsk/d3 lumtest2 Ok

/dev/did/rdsk/d4 lumtest2 Fail

/dev/did/rdsk/d5 lumtest1 Ok
lumtest2 Ok

/dev/did/rdsk/d7 lumtest1 Ok

/dev/did/rdsk/d8 lumtest1 Ok

I wonder if there are commands or steps to correct this device group information.

For information I am attaching vxdisk path outout from this system,
Quote:
vxdisk path
SUBPATH DANAME DMNAME GROUP STATE
c2t1d0s2 disk_0 - - DISABLED
c2t0d0s2 disk_1 - - ENABLED
c5t6006016037A11600A48D3AB42A6DDC11d0s2 emc_clariion0_46 - - ENABLED

cfgadm -al
Quote:
Ap_Id Type Receptacle Occupant Condition
c0 fc-fabric connected configured unknown
c0::5006016041e033a8 disk connected configured unknown
c0::5006016130206b9d disk connected configured unknown
c0::5006016830206b9d disk connected configured unknown
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 CD-ROM connected configured unknown
c2 fc-private connected configured unknown
c2::2100000087140f53 disk connected configured failing
c2::2100000087151713 disk connected configured unknown
c2::500000e019df5171 disk connected configured unknown

Last edited by upengan78; 05-18-2009 at 04:27 PM..
# 16  
Old 05-18-2009
for Sun cluster, I ran the following commands on node with disk failure
Quote:
cldevice repair /dev/rdsk/c2t1d0
cldevice refresh
Disk status is Ok now. Smilie

Now I don't care what vxdisk path shows because I did not use VxVM to mirror these local disks.

Only thing bothers me now is old HITACHI in iostat -En
# 17  
Old 05-18-2009
reboot is required to get it off.
# 18  
Old 05-19-2009
Quote:
Originally Posted by incredible
reboot is required to get it off.
Ahh, okay.

Thank you for helping me out. I appreciate your timely help.

Good day.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Solaris

Hot swapping disks on V240 - blue light not lit after cfgadm -c unconfigure

Hot swapping a drive on V240. So, I do cfgadm -c unconfigure <disk>. Then cfgadm -al reports disk as unconfigured as expected. format then tells me there is no disk. BUT, blue light does not come on. Done the exact same command on my V440 and blue light does come on. V240 Server Admin... (0 Replies)
Discussion started by: psychocandy
0 Replies

2. Solaris

Remove old subpaths from vxvm/format/cfgadm

Hi, I`m having a server, that was initially having 2 HBA`s, and dmpnodes were creates with 2 subpaths: # vxdisk -o alldgs list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto:none - ... (5 Replies)
Discussion started by: masloff
5 Replies

3. Solaris

Issue with cfgadm

I have an issue with on T3-Lun where Veritas dont like it anymore and OS-system have issues with it too. So I thought to unconfigure it but even that does not work cfgadm -al | grep c17 c17::50020f230000eae0 disk connected unconfigured unkown then I tried a cfgadm -c unconfigure... (2 Replies)
Discussion started by: manni2
2 Replies

4. Solaris

cfgadm - is this an error?

# cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown c0::dsk/c0t0d0 CD-ROM connected configured unknown c1 scsi-bus ... (8 Replies)
Discussion started by: robsonde
8 Replies
Login or Register to Ask a Question