From: Jeff Horwitz (jhorwitz75@yahoo.com)
Date: Thu Apr 29 2004 - 16:24:10 EDT
Hello managers,
This one's been bugging me for a while. I have a V480 running Solaris 8 and
DiskSuite 4.2.1 that used to be attached to an FC StorEdge A5200. This machine
was moved to another location where we had no use for the A5200. However,
before moving the server I did not clear any of the A5200 metadevices (soft
partitions from a RAID 0+1 pool), and DiskSuite thinks they still exist.
I had trouble clearing the devices in runlevel 3, so i rebooted into single
user mode after telling the mirrors not to sync using metaparam -p 0. Now I am
able to break the RAID 0+1 mirror (d100), but when try to clear any of the soft
partitions (e.g. d50), it tries to access the underlying disk device and fails
miserably:
# metaclear -f d50
WARNING: md: d101: cannot load driver ssd
WARNING: md: d101: cannot load driver ssd
WARNING: md: d101: cannot load driver ssd
WARNING: md: d101: cannot load driver ssd
WARNING: md: d101: cannot load driver ssd
WARNING: md: d101: cannot load driver ssd
WARNING: md: d101: cannot load driver ssd
WARNING: md d100: open error on /dev/dsk/c3t0d0s3
[more errors]
metaclear: no error
So my question is: short of blowing away and recreating the metadb, has anyone
been able to clear metadevices whose physical devices have been removed? And
are these soft partitions particularly stubborn b/c of the extent headers that
are on the devices themselves?
Thanks,
-jeff
P.S. metastat output is below.
d10: Mirror
Submirror 0: d11
State: Needs maintenance
Submirror 1: d12
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 1027216 blocks
d11: Submirror of d10
State: Needs maintenance
Invoke: metasync d10
Size: 1027216 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c0t0d0s0 0 No Okay
d12: Submirror of d10
State: Needs maintenance
Invoke: metasync d10
Size: 1027216 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c0t1d0s0 0 No Okay
d20: Concat/Stripe
Size: 17245920 blocks
Stripe 0: (interlace: 248 blocks)
Device Start Block Dbase
c0t0d0s7 4712 Yes
c0t1d0s7 4712 Yes
d30: Soft Partition
Component: d100
State: Okay
Size: 125829120 blocks
Extent Start Block Block count
0 2890 104857600
1 249563982 20971520
d40: Soft Partition
Component: d100
State: Okay
Size: 125829120 blocks
Extent Start Block Block count
0 104860491 104857600
1 228592461 20971520
d50: Soft Partition
Component: d100
State: Okay
Size: 18874368 blocks
Extent Start Block Block count
0 209718092 18874368
d100: Mirror
Submirror 0: d101
State: Okay
Pass: 0
Read option: roundrobin (default)
Write option: parallel (default)
Size: 426745746 blocks
d101: Submirror of d100
State: Okay
Hot spare pool: hsp001
Size: 426745746 blocks
Stripe 0: (interlace: 107 blocks)
Device Start Block Dbase State Hot Spare
c3t0d0s3 0 No Okay
c3t1d0s3 2889 No Okay
c3t2d0s3 2889 No Okay
c3t3d0s3 2889 No Okay
c3t4d0s3 2889 No Okay
c3t5d0s3 2889 No Okay
hsp001: 1 hot spare
c3t6d0s3 Available 71127180 blocks
hsp002: 1 hot spare
c4t22d0s3 Available 71127180 blocks
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:34 EDT