[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] LVM and ataraid
From:       Thilo Bangert <thilo.bangert () gmx ! net>
Date:       2002-02-28 22:07:33
[Download RAW message or body]

Hi,

today i tried to setup a LVM on a ataraid device. This failed 
because, LVM-1.0.1-rc4 does not support ataraid devices. i atteched a 
new lvm-user ebuild which updates LVM to 1.0.3 (which includes 
support for ataraid devices)... it's basically a copy+paste of the 
old one.
it compiled nicely on my homemachine - and i will use it with the 
gentoo bootdisc tommorrow...

this is bug #898

thanks
Thilo


from LVM's changelog:
===
						27/05/1998 -
						$Date: 2002/02/18 17:49:01 $

Logical Volume Manager Changelog

Changelog for 1.0.2 to 1.0.3

LVM
---

Tool fixes to support physical and logical volumes bigger than 1 
Terabyte
and up to 2 Terabytes in size.


Driver
------


Tools
-----

o lvcreate
o lvextend
o lvreduce
 - support logical volume sizes up to 2TB - 1 sector

o pvcreate
  - option -s to overwrite the device size. Useful to fake physical
    volumes on smaller devices for test purposes or to set the device 
size
    correctly in case the OS reports a wrong one in rare cases

o pvmove (involves pv_move_pes() in the library as well)
  - supports moves in inactive volume groups now
  - new option "-i" to ignore read errors on flaky or otherwise
    inaccessible devices

o vgcfgrestore
  - option -b to give a backup history number together with "-n 
VolumeGroupName"
  - option -i to ignore the size of the device to be restored to
  - no need to give -n *and* -f any longer

o vgcreate: remove wrong check for ~64k extents maximum

o vgchange
  - drop snapshot logical volumes which have broken exception tables
    during volume group activation

o vgexport can now export volume groups which are not in /etc/lvmtab*

o vgscan
  - option -f to force changes of volume group and logical volume 
device numbers
    which potentially violates NFS client access in case of exported 
filesystems
    on changed logical volumes
  - option -r to remove all snapshots in all volume groups or 
snapshots in
    a specified volume group (useful in case snapshots are corrupt)


Library
-------

o lvm_check_number_ll
  - new (long long) returning function to convert
    number strings with optional size suffixes

o lvm_tab_check_free_lv_number
  - new function to check if a single logical volume device number
    is already used

o pv_get_size_ll
  - new ( long long) returning function to support 1TB < PV size < 2TB

o pv_move_pes
  - support for moves in inactive volume groups and for ignoring read 
errors

o pv_write
  - zero gap between PV structure and VG structure on disk in order
    to avoid confusing other tools



===============================================================================

Changelog for 1.0.1 to 1.0.2

LVM
---

Driver
------

o now works with 2.4.17

o reduce stack footprint with snapshots

o sparc 64 fixes (tests needed!)

o avoid oops when accessing PVs of an inactive VG

Tools
-----

o persistent LV device minors to support client recovery after
  a NFS server reboot/failover

o ataraid device support

o support loop devices (they do not show up in /proc/partitions)

o fixed contiguous PV array bug in pv_read_all_pv_of_vg.c

o avoid flushing PVs

o DAC960 recognition bugs fixed

===============================================================================

Changelog for 1.0 to 1.0.1

LVM
---

LVM now supports both version 1 and version 2 data formats.  No need 
to
upgrade !

Driver
------

o now works with 2.4.16

Tools
-----

o support for version 1 and 2 data formats

o Now stores new and changed PVs in version 1 data format!

o zero pv and lv arrays in vg_cfgrestore

o removing of PVs from VGs with snapshot now works
  (changes in pv_read_all_pv_of_vg(), pv_read_all_pe_of_vg(),
   vg_setup_for_merge(), vg_setup_for_extend(), vg_setup_for_reduce(),
   vg_setup_for_split() and liblvm.h)

o persistant LV and PV numbers

o lvmcreate_initd now supports devfs

o support for non-partitioned MDs

o SPARC compilation fixes

===============================================================================
["lvm-user-1.0.3.ebuild" (text/plain)]

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Daniel Robbins <drobbins@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/sys-apps/lvm-user/lvm-user-1.0.1_rc4-r1.ebuild,v \
1.1 2002/02/08 16:56:29 drobbins Exp

NV=1.0.3
S=${WORKDIR}/LVM/${NV}
DESCRIPTION="User-land utilities for LVM (Logical Volume Manager) software"
SRC_URI="ftp://ftp.sistina.com/pub/LVM/1.0/lvm_${NV}.tar.gz"
HOMEPAGE="http://www.mosix.org"

DEPEND="virtual/glibc"

KS=/usr/src/linux

src_compile() {
	cd ${S}
	#This ebuild doesn't like this opt setting; closes bug #598
	export CFLAGS="${CFLAGS/-fomit-frame-pointer/}"
	[ -f "Makefile" ] && ( make clean || die )
	CFLAGS="${CFLAGS} -I${KS}/include" \
		./configure --prefix=/ \
		--mandir=/usr/share/man \
		--with-kernel_dir="${KS}" || die
	make || die
}

src_install () {
	cd ${S}/tools
	CFLAGS="${CFLAGS} -I${KS}/include" \
		make install \
		-e prefix=${D} \
		mandir=${D}/usr/share/man \
		sbindir=${D}/sbin \
		libdir=${D}/lib || die
	#no need for a static library in /lib
	dodir /usr/lib
	mv ${D}/lib/*.a ${D}/usr/lib
}


["digest-lvm-user-1.0.3" (text/plain)]

MD5 17c5a6c1a32a1042a069e20893579709 lvm_1.0.3.tar.gz 371951


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic