Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] lvm2 debian packages
@ 2002-02-21  3:14 Andres Salomon
  0 siblings, 0 replies; 6+ messages in thread
From: Andres Salomon @ 2002-02-21  3:14 UTC (permalink / raw)
  To: linux-lvm

I've built experimental lvm2 debian packages.  There are a few kinks to
work out, but they work for the most part (I'm using them now on a
server).

Add the following to your /etc/apt/sources.list:
deb http://incandescent.mp3revolution.net/lvm2 ./
deb-src http://incandescent.mp3revolution.net/lvm2 ./

Run the following:
apt-get update && apt-get install lvm2 kernel-patch-device-mapper;

Patch your linux-2.4.1[67] kernel w/
/usr/src/kernel-patches/all/device-mapper/linux-2.4.1[67]-devmapper-ioctl.patch.gz,
make config, enabled device mapper, compile and install.  If built as a
module, /etc/init.d/lvm2 start will modprobe it in.

Comments welcome.  I've also committed these to cvs HEAD, so feel free
to check out device-mapper/LVM2 and build yourself.

Additional packages include libdevmapper, libdevmapper-dev, and dmsetup.

-- 
"I think a lot of the basis of the open source movement comes from
  procrastinating students..."
	-- Andrew Tridgell <http://www.linux-mag.com/2001-07/tridgell_04.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [linux-lvm] lvm2 debian packages
@ 2002-05-07 20:17 Andres Salomon
  2002-05-13 11:08 ` Andy Baillie
  0 siblings, 1 reply; 6+ messages in thread
From: Andres Salomon @ 2002-05-07 20:17 UTC (permalink / raw)
  To: linux-lvm

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.


-- 
Andres Salomon  <dilinger@voxel.net>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] lvm2 debian packages
  2002-05-07 20:17 [linux-lvm] lvm2 debian packages Andres Salomon
@ 2002-05-13 11:08 ` Andy Baillie
  2002-05-13 21:42   ` Andres Salomon
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Baillie @ 2002-05-13 11:08 UTC (permalink / raw)
  To: linux-lvm

On Tue, May 07, 2002 at 09:18:51PM -0400, Andres Salomon wrote:
> 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

-- 
            ---  ===  ~~~  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 ~~~ === ---

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] lvm2 debian packages
  2002-05-13 11:08 ` Andy Baillie
@ 2002-05-13 21:42   ` Andres Salomon
  2002-05-15 11:14     ` Andy Baillie
  0 siblings, 1 reply; 6+ messages in thread
From: Andres Salomon @ 2002-05-13 21:42 UTC (permalink / raw)
  To: linux-lvm

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


On Mon, May 13, 2002 at 05:14:18PM +0100, Andy Baillie wrote:
> 
> On Tue, May 07, 2002 at 09:18:51PM -0400, Andres Salomon wrote:
> > 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
> 
> -- 
>             ---  ===  ~~~  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
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 
<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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] lvm2 debian packages
  2002-05-13 21:42   ` Andres Salomon
@ 2002-05-15 11:14     ` Andy Baillie
  2002-05-18 22:50       ` Andres Salomon
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Baillie @ 2002-05-15 11:14 UTC (permalink / raw)
  To: linux-lvm

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

On Mon, May 13, 2002 at 10:40:53PM -0400, Andres Salomon wrote:
> Try the newer packages (-3), they fix these issues.
> 
> 
> On Mon, May 13, 2002 at 05:14:18PM +0100, Andy Baillie wrote:
> > 
> > On Tue, May 07, 2002 at 09:18:51PM -0400, Andres Salomon wrote:
> > > 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
-- 
            ---  ===  ~~~  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 ~~~ === ---

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] lvm2 debian packages
  2002-05-15 11:14     ` Andy Baillie
@ 2002-05-18 22:50       ` Andres Salomon
  0 siblings, 0 replies; 6+ messages in thread
From: Andres Salomon @ 2002-05-18 22:50 UTC (permalink / raw)
  To: linux-lvm; +Cc: Andy Baillie

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:
[...]
> 
> 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.
> 
[...]

-- 
<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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-18 22:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-07 20:17 [linux-lvm] lvm2 debian packages Andres Salomon
2002-05-13 11:08 ` Andy Baillie
2002-05-13 21:42   ` Andres Salomon
2002-05-15 11:14     ` Andy Baillie
2002-05-18 22:50       ` Andres Salomon
  -- strict thread matches above, loose matches on Subject: below --
2002-02-21  3:14 Andres Salomon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox