Skip to contentSkip to conversation

pvmove

linux-lvm Juan Pablo Giménez 2 participants 2 messages Jul 12, 2003

lore
Share & tools
lore
#0 lore raw

What's more secure, the Redhat patched pvmove or the original one?

BTW, I have a little patch to fix RedHat patched pvmove and make it work with unpatched kernels...

        --- lib/pv_move.c	2003-07-11 19:10:26.000000000 -0300
        +++ lib/pv_move.c.rcom	2003-07-11 19:09:35.000000000 -0300
        @@ -916,7 +916,7 @@
         	ret = ioctl(group, PE_LOCKED_COPY, &pe_copy_req);
         	if (ret < 0)
         		ret = -errno;
        -	if (ret == -EINVAL)
        +	if (ret == -EINVAL || ret == -ENOTTY)
         		ret = -LVM_EPV_LOCKED_COPY_EINVAL;
         	
         	close(group);

Juan Pablo Giménez

http://www.rcom.com.ar/
http://www.rcom.com.ar/comunidad/
Llave GnuPG:
MIT keyserver
Web Rcom

GnuPG fingerprint: ED97 6FB8 A9BE
26A6 789B 6657 0A15 EC2B D3D8 FD2B

http://www.greenpeace.org.ar/secciones/cyberactivismo/nuclear.php3

#1 lore raw
Quoted 1 line · Juan Pablo Gim?nez

What's more secure, the Redhat patched pvmove or the original one?

The origininal pvmove has some serious problems that can make it deadlock. Redhats version attempts to correct these.

The most recent LVM2 tools (see Alasdairs recent email) contain a pvmove implementation as well.

- Joe