Painless upgrade to lvm2?
I'm running lvm-1.0.6 on a Debian/sid system, and was wondering what would be the best upgrade path? Install from debs? From source? Is there some kind of howto for making this transition?
Thanks,
Signature · 15 lines
--Brad ============================================================================ Bradley M. Alexander | Debian Developer, Security Engineer | storm [at] tux.org Debian/GNU Linux Developer | storm [at] debian.org ============================================================================ Key fingerprints: DSA 0x54434E65: 37F6 BCA6 621D 920C E02E E3C8 73B2 C019 5443 4E65 RSA 0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A C8 9C F0 93 75 A0 01 34 ============================================================================ Stay out of clouds. The silver lining everyone keeps talking about might be another airplane going in the opposite direction. Reliable sources also report that mountains have been known to hide out in clouds. --Rules of the Air, #13
Bradley,
get the LVM2 tools from
ftp://ftp.sistina.com/pub/LVM2/tools/
the device-mapper software from
ftp://ftp.sistina.com/pub/LVM2/device-mapper.
You want to get recent device-mapper kernel patches from
http://people.sistina.com/~thornber/patches/2.4-stable/
as well.
Unpack the tarballs giving you LVM2*/, device-mapper*/ and 2.4.19*/ subdirectories.
Patch a vanilla kernel with the device-mapper patches in the 2-4-19* subdir (works for 2.4.20-rc as well), activate it in the kernel configuration and generate the kernel.
Generate and install the device-mapper software (library is needed to run the LVM2 tools).
Generate and install the LVM2 tools.
You can install those in a different path in order to be able to backup to LVM1 (just in case ;)
LVM2 is format compatible to the LVM1 ondisk metadata format. It only misses pvmove which we want to add ASAP before we go for the final release.
If you want to give this a try, feel free to contact the LVM team on IRC on channel #lvm at irc.openprojects.org for interactive aid.
Regards,
Heinz -- The LVM Guy --
Quoted 4 lines · Bradley Alexander
I'm running lvm-1.0.6 on a Debian/sid system, and was wondering what would be the best upgrade path? Install from debs? From source? Is there some kind of howto for making this transition?
Quoted 24 lines
Thanks,
Signature · 22 lines
--Brad ============================================================================ Bradley M. Alexander | Debian Developer, Security Engineer | storm [at] tux.org Debian/GNU Linux Developer | storm [at] debian.org ============================================================================ Key fingerprints: DSA 0x54434E65: 37F6 BCA6 621D 920C E02E E3C8 73B2 C019 5443 4E65 RSA 0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A C8 9C F0 93 75 A0 01 34 ============================================================================ Stay out of clouds. The silver lining everyone keeps talking about might be another airplane going in the opposite direction. Reliable sources also report that mountains have been known to hide out in clouds. --Rules of the Air, #13 _______________________________________________ linux-lvm mailing list [email protected] http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Alternatively, grab the lvm2 and device-mapper packages from unstable (apt-get install lvm2 kernel-patch-device-mapper), patch your kernel (/usr/src/kernel-patches/all/device-mapper/linux-2.4.19-devmapper-ioctl.patch.gz) and recompile, enabling device-mapper support; reboot (or manually switch), and that's pretty much it. There shouldn't be any compatibility problems w/ existing metadata, and you should be able to switch between lvm10 and lvm2 packages pretty painlessly.
Note that the lvm2 packages conflict w/ the lvm10 packages; if you're working on a system that can't afford much downtime, you may want to first grab the patch, and do all the necessary kernel stuff first.
Quoted 90 lines · Heinz J . Mauelshagen
Bradley,
get the LVM2 tools from
ftp://ftp.sistina.com/pub/LVM2/tools/the device-mapper software from
ftp://ftp.sistina.com/pub/LVM2/device-mapper.
You want to get recent device-mapper kernel patches from
http://people.sistina.com/~thornber/patches/2.4-stable/as well.
Unpack the tarballs giving you LVM2*/, device-mapper*/ and 2.4.19*/ subdirectories.
Patch a vanilla kernel with the device-mapper patches in the 2-4-19* subdir (works for 2.4.20-rc as well), activate it in the kernel configuration and generate the kernel.
Generate and install the device-mapper software (library is needed to run the LVM2 tools).
Generate and install the LVM2 tools.
You can install those in a different path in order to be able to backup to LVM1 (just in case ;)
LVM2 is format compatible to the LVM1 ondisk metadata format. It only misses pvmove which we want to add ASAP before we go for the final release.
If you want to give this a try, feel free to contact the LVM team on IRC on channel #lvm at irc.openprojects.org for interactive aid.
Regards,
Heinz -- The LVM Guy --Quoted 19 lines · Bradley Alexander
I'm running lvm-1.0.6 on a Debian/sid system, and was wondering what would be the best upgrade path? Install from debs? From source? Is there some kind of howto for making this transition?
Thanks,
--
--Brad
============================================================================
Bradley M. Alexander | Debian Developer, Security
Engineer | storm [at] tux.org Debian/GNU Linux Developer |
storm [at] debian.org
============================================================================
Key fingerprints:
DSA0x54434E65: 37F6 BCA6 621D 920C E02E E3C8 73B2 C019 5443 4E65 RSA0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A C8 9C F0 93 75 A0 01 34
============================================================================
Stay out of clouds. The silver lining everyone keeps talking about might be another airplane going in the opposite direction. Reliable sources also report that mountains have been known to hide out in clouds.Quoted 7 lines
--Rules of the Air, #13_______________________________________________ linux-lvm mailing list [email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200FAX 924446=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________ linux-lvm mailing list [email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at
http://tldp.org/HOWTO/LVM-HOWTO/
Hello,
I followed the instruction but I am facing the following cimpile error. Would you provide me any help on this error?
---------------
make[1]: Entering directory `/usr/src/device-mapper.0.96.07/lib' gcc -c -Iioctl -I. -I../include -I/usr/src/linux/include -Wall -fPIC -g -fno -omit-frame-pointer ioctl/libdevmapper.c -o ioctl/libdevmapper.o gcc -c -Iioctl -I. -I../include -I/usr/src/linux/include -Wall -fPIC -g -fno -omit-frame-pointer libdm-common.c -o libdm-common.o
gcc -shared -Wl,-soname,libdevmapper.so.0.96 \
-Wl,--version-script,.export.sym ioctl/libdevmapper.o libdm-common.o -o ioctl/libdevmapper.so
/usr/bin/ld:.export.sym:1: parse error in VERSION script
collect2: ld returned 1 exit status
make[1]: *** [ioctl/libdevmapper.so] Error 1
make[1]: Leaving directory `/usr/src/device-mapper.0.96.07/lib'
make: *** [lib] Error 2
--------------------------
Additional question, If I use linux2.4.20 then Are there any patches for it or we do not need
any patch for LVM2 or device mapper?
Thanks in advance,
Bo
----- Original Message -----
From: "Bradley Alexander" <[email protected]>
To: <[email protected]>
Sent: Monday, November 25, 2002 5:36 AM
Subject: [linux-lvm] Painless upgrade to lvm2?
Quoted 8 lines
I'm running lvm-1.0.6 on a Debian/sid system, and was wondering what would be the best upgrade path? Install from debs? From source? Is there some kind of howto for making this transition?
Thanks,
--
--Brad
============================================================================
Quoted 4 lines
Bradley M. Alexander | Debian Developer, Security Engineer | storm [at] tux.org Debian/GNU Linux Developer | storm [at] debian.org
============================================================================
Quoted 4 lines
Key fingerprints:
DSA0x54434E65: 37F6 BCA6 621D 920C E02E E3C8 73B2 C019 5443 4E65 RSA0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A C8 9C F0 93 75 A0 01 34
============================================================================
Quoted 13 lines
Stay out of clouds. The silver lining everyone keeps talking about might be another airplane going in the opposite direction. Reliable sources also report that mountains have been known to hide out in clouds.
--Rules of the Air, #13_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 1 line · bmoon
/usr/bin/ld:.export.sym:1: parse error in VERSION script
Try changing the first line in lib/.export.sym from '{' to 'Base {' or alternatively update gcc & binutils etc.
Alasdair
Signature · 1 line
[email protected]
Quoted 5 lines · bmoon
Hello,
I followed the instruction but I am facing the following cimpile error. Would you provide me any help on this error?
Quoted 10 lines
---------------
make[1]: Entering directory `/usr/src/device-mapper.0.96.07/lib' gcc -c -Iioctl -I. -I../include -I/usr/src/linux/include -Wall -fPIC -g -fno -omit-frame-pointerioctl/libdevmapper.c-oioctl/libdevmapper.ogcc -c -Iioctl -I. -I../include -I/usr/src/linux/include -Wall -fPIC -g -fno -omit-frame-pointerlibdm-common.c-o libdm-common.o
gcc -shared -Wl,-soname,libdevmapper.so.0.96 \
-Wl,--version-script,.export.symioctl/libdevmapper.olibdm-common.o -o ioctl/libdevmapper.so
/usr/bin/ld:.export.sym:1: parse error in VERSION script
Please see Alasdairs answer.
Quoted 9 lines
collect2: ld returned 1 exit status
make[1]: *** [ioctl/libdevmapper.so] Error 1
make[1]: Leaving directory `/usr/src/device-mapper.0.96.07/lib'
make: *** [lib] Error 2
--------------------------Additional question, If I use linux2.4.20 then Are there any patches for it or we do not need
any patch for LVM2 or device mapper?
Use http://people.sistina.com/~thornber/patches/2.4-stable/2.4.20-dm-1.tar.bz2
Regards,
Heinz -- The LVM Guy --
Quoted 46 lines
Thanks in advance,
Bo
----- Original Message -----
From: "Bradley Alexander" <[email protected]>
To: <[email protected]>
Sent: Monday, November 25, 2002 5:36 AM
Subject: [linux-lvm] Painless upgrade to lvm2?Quoted 8 lines
I'm running lvm-1.0.6 on a Debian/sid system, and was wondering what would be the best upgrade path? Install from debs? From source? Is there some kind of howto for making this transition?
Thanks,
--
--Brad============================================================================
Quoted 4 lines
Bradley M. Alexander | Debian Developer, Security Engineer | storm [at] tux.org Debian/GNU Linux Developer | storm [at] debian.org============================================================================
Quoted 4 lines
Key fingerprints:
DSA0x54434E65: 37F6 BCA6 621D 920C E02E E3C8 73B2 C019 5443 4E65 RSA0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A C8 9C F0 93 75 A0 01 34============================================================================
Quoted 7 lines
Stay out of clouds. The silver lining everyone keeps talking about might be another airplane going in the opposite direction. Reliable sources also report that mountains have been known to hide out in clouds.
--Rules of the Air, #13Quoted 6 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Hi,
Are there any good references or document to understand the LVM2 and device mapper?
I could not find any except man pages for dm & lvm.
Thanks,
Bo
----- Original Message -----
From: "Heinz J . Mauelshagen" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 04, 2002 4:02 AM
Subject: Re: [linux-lvm] Painless upgrade to lvm2?
Quoted 9 lines · bmoon
Quoted 8 lines
Hello,
I followed the instruction but I am facing the following cimpile error. Would you provide me any help on this error?
---------------
make[1]: Entering directory `/usr/src/device-mapper.0.96.07/lib'
gcc -c -Iioctl -I. -I../include -I/usr/src/linux/include -Wall -fPIC -g -fno
Quoted 2 lines
Quoted 2 lines
-omit-frame-pointer
ioctl/libdevmapper.c-oioctl/libdevmapper.o
gcc -c -Iioctl -I. -I../include -I/usr/src/linux/include -Wall -fPIC -g -fno
Quoted 15 lines
Quoted 5 lines
-omit-frame-pointer
libdm-common.c-o libdm-common.o
gcc -shared -Wl,-soname,libdevmapper.so.0.96 \
-Wl,--version-script,.export.symioctl/libdevmapper.olibdm-common.o -o ioctl/libdevmapper.so
/usr/bin/ld:.export.sym:1: parse error in VERSION scriptPlease see Alasdairs answer.
Quoted 7 lines
collect2: ld returned 1 exit status
make[1]: *** [ioctl/libdevmapper.so] Error 1
make[1]: Leaving directory `/usr/src/device-mapper.0.96.07/lib'
make: *** [lib] Error 2
--------------------------Additional question, If I use linux2.4.20 then Are there any patches for
it
Quoted 4 lines
Quoted 2 lines
or we do not need
any patch for LVM2 or device mapper?Use
http://people.sistina.com/~thornber/patches/2.4-stable/2.4.20-dm-1.tar.bz2
Quoted 19 lines
Regards,
Heinz -- The LVM Guy --Quoted 14 lines
Thanks in advance,
Bo
----- Original Message -----
From: "Bradley Alexander" <[email protected]>
To: <[email protected]>
Sent: Monday, November 25, 2002 5:36 AM
Subject: [linux-lvm] Painless upgrade to lvm2?Quoted 2 lines
I'm running lvm-1.0.6 on a Debian/sid system, and was wondering what would be the best upgrade path? Install from debs? From source? Is
there
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
some kind of howto for making this transition?
Thanks,
--
--Brad
============================================================================
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Bradley M. Alexander | Debian Developer, Security Engineer | storm [at] tux.org Debian/GNU Linux Developer | storm [at] debian.org
============================================================================
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Key fingerprints:
DSA0x54434E65: 37F6 BCA6 621D 920C E02E E3C8 73B2 C019 5443 4E65 RSA0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A C8 9C F0 93 75 A0 01 34
============================================================================
Quoted 15 lines
Quoted 15 lines
Quoted 13 lines
Stay out of clouds. The silver lining everyone keeps talking about might be another airplane going in the opposite direction. Reliable sources also report that mountains have been known to hide out in clouds.
--Rules of the Air, #13_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 10 lines
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-
Quoted 8 lines
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-
Quoted 7 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 4 lines · bmoon
Hi,
Are there any good references or document to understand the LVM2 and device mapper?
You mean design documents? It is open source ;))
Regards,
Heinz -- The LVM Guy --
Quoted 133 lines
I could not find any except man pages for dm & lvm.
Thanks,
Bo
----- Original Message -----
From: "Heinz J . Mauelshagen" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 04, 2002 4:02 AM
Subject: Re: [linux-lvm] Painless upgrade to lvm2?Quoted 9 lines · bmoon
Quoted 8 lines
Hello,
I followed the instruction but I am facing the following cimpile error. Would you provide me any help on this error?
---------------
make[1]: Entering directory `/usr/src/device-mapper.0.96.07/lib'gcc -c -Iioctl -I. -I../include -I/usr/src/linux/include -Wall -fPIC -g -fno
Quoted 2 lines
Quoted 2 lines
-omit-frame-pointer
ioctl/libdevmapper.c-oioctl/libdevmapper.ogcc -c -Iioctl -I. -I../include -I/usr/src/linux/include -Wall -fPIC -g -fno
Quoted 15 lines
Quoted 5 lines
-omit-frame-pointer
libdm-common.c-o libdm-common.o
gcc -shared -Wl,-soname,libdevmapper.so.0.96 \
-Wl,--version-script,.export.symioctl/libdevmapper.olibdm-common.o -o ioctl/libdevmapper.so
/usr/bin/ld:.export.sym:1: parse error in VERSION scriptPlease see Alasdairs answer.
Quoted 7 lines
collect2: ld returned 1 exit status
make[1]: *** [ioctl/libdevmapper.so] Error 1
make[1]: Leaving directory `/usr/src/device-mapper.0.96.07/lib'
make: *** [lib] Error 2
--------------------------Additional question, If I use linux2.4.20 then Are there any patches for
it
Quoted 4 lines
Quoted 2 lines
or we do not need
any patch for LVM2 or device mapper?Use
http://people.sistina.com/~thornber/patches/2.4-stable/2.4.20-dm-1.tar.bz2
Quoted 19 lines
Regards,
Heinz -- The LVM Guy --Quoted 14 lines
Thanks in advance,
Bo
----- Original Message -----
From: "Bradley Alexander" <[email protected]>
To: <[email protected]>
Sent: Monday, November 25, 2002 5:36 AM
Subject: [linux-lvm] Painless upgrade to lvm2?Quoted 2 lines
I'm running lvm-1.0.6 on a Debian/sid system, and was wondering what would be the best upgrade path? Install from debs? From source? Is
there
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
some kind of howto for making this transition?
Thanks,
--
--Brad============================================================================
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Bradley M. Alexander | Debian Developer, Security Engineer | storm [at] tux.org Debian/GNU Linux Developer | storm [at] debian.org============================================================================
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Key fingerprints:
DSA0x54434E65: 37F6 BCA6 621D 920C E02E E3C8 73B2 C019 5443 4E65 RSA0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A C8 9C F0 93 75 A0 01 34============================================================================
Quoted 15 lines
Quoted 15 lines
Quoted 13 lines
Stay out of clouds. The silver lining everyone keeps talking about might be another airplane going in the opposite direction. Reliable sources also report that mountains have been known to hide out in clouds.
--Rules of the Air, #13_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/Quoted 10 lines
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-Quoted 8 lines
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200FAX 924446=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-Quoted 7 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-