==> Evacuate a disk under LVM <==

Hi all,

got the follwing LVM-Config:

- -

root@global@ffsv4133...: metastat -s TEST-ds -i

TEST-ds/d201: Soft Partition

Device: TEST-ds/d200

State: Okay

Size: 1572864 blocks (768 MB)

Extent Start Block Block count

0321572864

TEST-ds/d200: Concat/Stripe

Size: 2068480 blocks (1010 MB)

Stripe 0:

DeviceStart Block Dbase

State Reloc Hot Spare

/dev/dsk/c1t266000C0FFF04368d2s0 0No

OkayYes

Stripe 1:

DeviceStart Block Dbase

State Reloc Hot Spare

/dev/dsk/c1t266000C0FFF04368d3s0 0No

OkayYes

Device Relocation Information:

DeviceReloc Device ID

/dev/dsk/c1t266000C0FFF04368d2Yes

id1,ssd@n600c0ff00000000000436852a116f301

/dev/dsk/c1t266000C0FFF04368d3Yes

id1,ssd@n600c0ff00000000000436852a116f302

-

So as you can see, inside the disk set TEST-ds is a metadevice d100

with a soft partition d210 on it.

The second disk c1t266000C0FFF04368d3 belongs to a misconfigured

se3510. So now I will exchange this disk with another disk mapped from

our SAN witout a downtime.

Any ideas?

Thanks in advance,

Andi

[1214 byte] By [wokur] at [2007-11-26 10:56:44]
# 1
I suspect you will have to mirror both disks to a pair of new disks.Then you can drop the original pair out of the mirror.
robertcohen at 2007-7-7 3:10:00 > top of Java-index,General,Talk to the Sysop...
# 2
That is what I also thought, but after doing a metainit -f [metadev] -m [metadev] on a mounted filesystem you have to umount/mount the filesystem and that means also a downtime for the application.Greetings,Andi
wokur at 2007-7-7 3:10:00 > top of Java-index,General,Talk to the Sysop...
# 3
Your problem is that you have the soft partition created directly on a concat/stripe.If it had been created on a mirror (even with only one side), you could do this. -- Darren
Darren_Dunham at 2007-7-7 3:10:00 > top of Java-index,General,Talk to the Sysop...
# 4
Unfortunately you are right. So I think I have to stop thinking veritas minded when using Sun LVM :-((.
wokur at 2007-7-7 3:10:00 > top of Java-index,General,Talk to the Sysop...