Redefine disk target in a metadevice
Redefine disk target in a metadevice
(OP)
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!
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!
RE: Redefine disk target in a metadevice
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?