Skip to contentSkip to conversation

adding mirroring feature

DISCUSSION pritam bhavsar 2 participants 2 messages Mar 18, 2005 – Mar 22, 2005 Device mapper

lore
Share & tools
lore
#0 lore raw

I am adding the mirroring feature to LVM2 tools that means creating a LV on VG that contains two PVs and whatever data I am writing to LV it should get mirrored to the second PV under the same VG.. for this purpose I have already developed the command for lvcreate but I am not getting the idea about where to make changes in dm ... can anybody help me...that where should I make changes in dm files etc etc?

---------------------------------
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!

#1 lore raw
Quoted 1 line · pritam bhavsar

I am adding the mirroring feature to LVM2 tools that means creating a LV on VG that contains two PVs and whatever data I am writing to LV it should get mirrored to the second PV under the same VG..

For user-space (lvm2 tools):
Mirroring is being actively worked on. There is a bit of clean-up to be done followed by the push to include the changes in the main repository. We are hoping that they will start appearing over the coming weeks.

Quoted 2 lines

for this purpose I have already developed the command for lvcreate
but I am not getting the idea about where to make changes in dm ... can anybody help me...that where should I make changes in dm files etc etc?

What changes are you looking to make in dm? I am currently working to ready the mirror target for general use (dm-raid1.c dm-log.c).

brassow