metareplace - can't find component in unit
cnurbw_at_yahoo.com
Date: 02/16/05
- Next message: Zambony: "solstice backup / recover questions"
- Previous message: Sami Ketola: "Re: Solaris 10 and DNS server starting during boot"
- Next in thread: Darren Dunham: "Re: metareplace - can't find component in unit"
- Reply: Darren Dunham: "Re: metareplace - can't find component in unit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Feb 2005 10:59:44 -0800
Hi,
I have a Sun 3500 running Solaris 5.8 and DiskSuite 4.2.1 .
I had a bad submirror ( d24 ) , so I detached the submirrors,
brought the system down, and replaced the disk. I brought the system
backup, reformatted the drive, and then tried the "metareplace"
command. But
I get an error "can't find component unit" . Please see the output
below.
First is the metastat before disk replacement ( disk c3t7 was replaced
) , then
are commands I tried , then a new ( abbreviated ) metastat. Now the
former
submirror slices show up as Concat/Stripe and it doesn't show them as
being a submirror as before.
Any ideas ?
Thanks,
Carl
Initial ( abbreviated to show c3t7 disk ) metastat before disk
replacement.
d24: Submirror of d22
State: Needs maintenance
Invoke: metareplace d22 c3t7d0s4 <new device>
Size: 14687190 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c3t6d0s0 0 No Okay
Stripe 1:
Device Start Block Dbase State Hot Spare
c3t7d0s4 0 No Maintenance
d30: Submirror of d28
State: Okay
Size: 2100735 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c3t7d0s0 0 No Okay
d33: Submirror of d31
State: Okay
Size: 1019844 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c3t7d0s1 0 No Okay
d36: Submirror of d34
State: Okay
Size: 8252118 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c3t7d0s3 0 No Okay
Stripe 1:
Device Start Block Dbase State Hot Spare
c3t7d0s5 0 No Okay
System to single user
metadb -d -f /dev/dsk/c3t5d0s7
# metadetach -f d22 d24
/sbus@2,0/SUNW,socal@d,10000/sf@1,0 (sf1):
Forcing lip
d22: submirror d24 is detached
# metadetach -f d28 d30
d28: submirror d30 is detached
# metadetach -f d31 d33
d31: submirror d33 is detached
# metadetach -f d34 d36
d34: submirror d36 is detached
Powered down and replaced disk.
root@ [/] 154# metadb -a -c 1 c3t7d0s7
root@ [/] 155#
root@ [/] 155# metareplace -e d22 c3t7d0s4
metareplace: pasteur: d22: c3t7d0s4: can't find component in unit
metastat
d24: Concat/Stripe
Size: 14687190 blocks
Stripe 0:
Device Start Block Dbase
c3t6d0s0 0 No
Stripe 1:
Device Start Block Dbase
c3t7d0s4 0 No
d30: Concat/Stripe
Size: 2100735 blocks
Stripe 0:
Device Start Block Dbase
c3t7d0s0 0 No
d33: Concat/Stripe
Size: 1019844 blocks
Stripe 0:
Device Start Block Dbase
c3t7d0s1 0 No
d36: Concat/Stripe
Size: 8252118 blocks
Stripe 0:
Device Start Block Dbase
c3t7d0s3 0 No
Stripe 1:
Device Start Block Dbase
c3t7d0s5 0 No
- Next message: Zambony: "solstice backup / recover questions"
- Previous message: Sami Ketola: "Re: Solaris 10 and DNS server starting during boot"
- Next in thread: Darren Dunham: "Re: metareplace - can't find component in unit"
- Reply: Darren Dunham: "Re: metareplace - can't find component in unit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|