Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redefine disk target in a metadevice

Status
Not open for further replies.

neuralnode

Technical User
Sep 12, 2007
59
PL
Hi All,

I'd like to replace the following definition of a metadevice (concatenation):

d50 s 36GB c1t1d18s5 c1t0d19s0

to:

d50 s 36GB c1t1d18s5 c1t1d19s0

The only thing different is the Target (t1 instead of t0).
This should make d50 work again. Using t0 it's not working, because the system cannot find paths to storage via t0.

I tried to manually change md.cf and md.tab, but to no effect.
The metastat -c command still gives the old definition, with t0.

Does anyone know how to quickly tell the system to use a different target?


Thanks in advance!

 
Since you said it can not find it, it leads me to believe right now you are attempting to setup the concat?

you can not just modify it.

you have to delete it and recreate it.
How did you get the d50 created in the first place. it will not create metadevice if a physical path is non-existent?

is there data on any of these disk that must be saved?

if so, deleting d50 will not destroy the data, since d50 is just an encapsulation that goes over the disk. The important thing to remember though is the physical drives, you have to rebuild the metadevice with the exact drives and partitions in order to get the data back online.

Since i'm still not clear how you got into this situation, you may want to give more information before continuing.

do you have data that you need to save, what disks are they on?







 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top