Skip to contentSkip to conversation

lvm2 debian packages

linux-lvm Andres Salomon 2 participants 5 messages May 7, 2002 – May 18, 2002

lore
Share & tools
lore
#0 lore raw

For debian users who are interested in testing out LVM2, debian packages are now in unstable (apt-get install lvm2). They've been successfully built for all 10 architectures; I'm especially interested in reports from people trying out lvm2 on non-x86 archs.

Signature · 1 line
Andres Salomon  <[email protected]>
#1 lore raw
Quoted 6 lines · Andres Salomon

For debian users who are interested in testing out LVM2, debian packages are now in unstable (apt-get install lvm2). They've been successfully built for all 10 architectures; I'm especially interested in reports from people trying out lvm2 on non-x86 archs.

I have tried building a new system with LVM2 and was not able to get it to boot from an ext2 ram disk, after ensuring the additional dm-mod module was included and demanded in. Is there a standard boot procedure builder yet? Is libdevmapper needed at boot time as its normal home is in /usr/lib rather than /lib?

I then left root as a standard ext2 partition and made some of the basic directories - tmp, usr and var into lvm'd partitions. The system wouldnt recognise vgs at first as /var was only a mount point, I had to create the /var/lock dir for vgscan and vgchange to work. Then the boot script /etc/init.d/lvm2 failed as it uses things like awk which are in /usr/lib I was able to manually go back and mount the missing partitions in maintainance mode so its almost there...

Hope this is of use
Regards
Andy

Signature · 4 lines
            ---  ===  ~~~  Lands of Stone ~~~ === ---
UK Mudders, too lagged to the States? then have you considered 
 http://www.landsofstone.org/   telnet://mud.landsofstone.org:4801
            ---  ===  ~~~  Lands of Stone ~~~ === ---
#2 lore raw

Try the newer packages (-3), they fix these issues.

Quoted 37 lines · Andy Baillie
Quoted 6 lines · Andres Salomon

For debian users who are interested in testing out LVM2, debian packages are now in unstable (apt-get install lvm2). They've been successfully built for all 10 architectures; I'm especially interested in reports from people trying out lvm2 on non-x86 archs.

I have tried building a new system with LVM2 and was not able to get it to boot from an ext2 ram disk, after ensuring the additional dm-mod module was included and demanded in. Is there a standard boot procedure builder yet? Is libdevmapper needed at boot time as its normal home is in /usr/lib rather than /lib?

I then left root as a standard ext2 partition and made some of the basic directories - tmp, usr and var into lvm'd partitions. The system wouldnt recognise vgs at first as /var was only a mount point, I had to create the /var/lock dir for vgscan and vgchange to work. Then the boot script /etc/init.d/lvm2 failed as it uses things like awk which are in /usr/lib I was able to manually go back and mount the missing partitions in maintainance mode so its almost there...

Hope this is of use
Regards
Andy

Signature · 10 lines
            ---  ===  ~~~  Lands of Stone ~~~ === ---
UK Mudders, too lagged to the States? then have you considered 
 http://www.landsofstone.org/   telnet://mud.landsofstone.org:4801
            ---  ===  ~~~  Lands of Stone ~~~ === ---

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 4 lines
<dilinger> people fear what they don't understand
<zinx> that is not true
<zinx> most people fear what they don't understand, and the rest get killed
	by those people
#3 lore raw

Much better,

a blank install, utilising an ext2 root partition now only needs the device-mapper patch to be bootable, once DM is in the main tree then I won't be running custom kernels at last!

The only other issue outstanding is that the vgscan process uses /var/lock if this directory does not exist when the vgscan occurs then the scan fails. Though I mount /var as an lvm partition I have created /var/lock from root and this seems to work fine. I havn't found any problems with that yet.

Initial testing shows it appears robust and it looks like my new server gets to go into service soon!

Regards
Andy

Quoted 28 lines · Andres Salomon

Try the newer packages (-3), they fix these issues.

Quoted 24 lines · Andy Baillie
Quoted 6 lines · Andres Salomon

For debian users who are interested in testing out LVM2, debian packages are now in unstable (apt-get install lvm2). They've been successfully built for all 10 architectures; I'm especially interested in reports from people trying out lvm2 on non-x86 archs.

I have tried building a new system with LVM2 and was not able to get it to boot from an ext2 ram disk, after ensuring the additional dm-mod module was included and demanded in. Is there a standard boot procedure builder yet? Is libdevmapper needed at boot time as its normal home is in /usr/lib rather than /lib?

I then left root as a standard ext2 partition and made some of the basic directories - tmp, usr and var into lvm'd partitions. The system wouldnt recognise vgs at first as /var was only a mount point, I had to create the /var/lock dir for vgscan and vgchange to work. Then the boot script /etc/init.d/lvm2 failed as it uses things like awk which are in /usr/lib I was able to manually go back and mount the missing partitions in maintainance mode so its almost there...

Hope this is of use
Regards

Signature · 4 lines
            ---  ===  ~~~  Lands of Stone ~~~ === ---
UK Mudders, too lagged to the States? then have you considered 
 http://www.landsofstone.org/   telnet://mud.landsofstone.org:4801
            ---  ===  ~~~  Lands of Stone ~~~ === ---
#4 lore raw

I've committed some code which should fix this, assuming the problem you're having is related to mkdir("/var/lock/lvm") failing because of a missing /var/lock (and not because /var is read-only or something).

On Wed, May 15, 2002 at 05:17:19PM +0100, Andy Baillie wrote:
[...]

Quoted 7 lines

The only other issue outstanding is that the vgscan process uses /var/lock if this directory does not exist when the vgscan occurs then the scan fails. Though I mount /var as an lvm partition I have created /var/lock from root and this seems to work fine. I havn't found any problems with that yet.

[...]

Signature · 4 lines
<dilinger> people fear what they don't understand
<zinx> that is not true
<zinx> most people fear what they don't understand, and the rest get killed
	by those people