[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lvmcfg commited to d-i



Hi all,

I have commited my basic implementation of the lvmcfg (Logical Volume
Manager).

The lvmcfg currently support the following stuff:
 - create, delete, extend, reduce volume groups
 - create, delete logical volumes
 - import old volume groups on startup

The di-utils-* program can fully use the created logical volumes or
volume groups.

So, please test everything and help finding bugs, or give me probosals
to extend the lvmcfg.

Unfortunately, the current lvm10-udeb is completly broken, and doesn't
contain all required binaries. I have attached a small patch, which fix
these problems. Apply it, and build lvm10 from source please. Bugreports
are already written.

Thanks,
Thorsten


-- 
Thorsten Sauter
<tsauter@gmx.net>

				(Is there life after /sbin/halt -p?)

diff -Naur lvm10-1.0.7/debian/rules lvm10-1.0.7.new/debian/rules
--- lvm10-1.0.7/debian/rules	2003-03-12 12:37:28.000000000 +0100
+++ lvm10-1.0.7.new/debian/rules	2003-03-12 12:37:17.000000000 +0100
@@ -91,12 +91,17 @@
 	install -d -o root -g root -m 755 debian/tmp/DEBIAN
 	install -d -o root -g root -m 755 debian/tmp/lib
 	install -d -o root -g root -m 755 debian/tmp/sbin
-	install -p -o root -g root -m 755 debian/lvm-udeb.postinst debian/tmp/DEBIAN/postinst
+	install -s $(REV)/tools/lvcreate `pwd`/debian/tmp/sbin
+	install -s $(REV)/tools/lvremove `pwd`/debian/tmp/sbin
 	install -s $(REV)/tools/pvcreate `pwd`/debian/tmp/sbin
+	install -s $(REV)/tools/pvscan `pwd`/debian/tmp/sbin
+	install -s $(REV)/tools/vgchange `pwd`/debian/tmp/sbin
 	install -s $(REV)/tools/vgcreate `pwd`/debian/tmp/sbin
-	install -s $(REV)/tools/lvcreate `pwd`/debian/tmp/sbin
+	install -s $(REV)/tools/vgdisplay `pwd`/debian/tmp/sbin
+	install -s $(REV)/tools/vgextend `pwd`/debian/tmp/sbin
+	install -s $(REV)/tools/vgreduce `pwd`/debian/tmp/sbin
+	install -s $(REV)/tools/vgremove `pwd`/debian/tmp/sbin
 	install -s $(REV)/tools/vgscan   `pwd`/debian/tmp/sbin
-	install -s $(REV)/tools/vgchange `pwd`/debian/tmp/sbin
 	install -s -m 644 $(REV)/tools/lib/liblvm-$(IOPL).so.1.0 `pwd`/debian/tmp/lib
 	ln -s liblvm-$(IOPL).so.1.0 `pwd`/debian/tmp/lib/liblvm-$(IOPL).so.1
 	dh_makeshlibs -plvm$(IOPL)-udeb

Attachment: pgpqi0DBiwtWQ.pgp
Description: PGP signature


Reply to: