From: Luca Berra <bluca@comedia.it>
To: James Pattinson <jamesp@aethos.co.uk>
Cc: linux-lvm@msede.com
Subject: Re: [linux-lvm] RAID and LVM?
Date: Mon, 2 Aug 1999 15:03:01 +0200 [thread overview]
Message-ID: <19990802150301.B20900@colombina.comedia.it> (raw)
In-Reply-To: <Pine.LNX.4.10.9908020953470.2161-100000@fuse.aethos.co.uk>; from James Pattinson on Mon, Aug 02, 1999 at 09:57:24AM +0100
[-- Attachment #1: Type: text/plain, Size: 813 bytes --]
On Mon, Aug 02, 1999 at 09:57:24AM +0100, James Pattinson wrote:
> Is anyone using alan's ac12 patch for RAID and LVM? My machine at home has
> 2.2.10 with raid0145 applied, and my root partition is striped across two
> hd/s controllers. I want to be able to use LVM though.
i did test it, it seems working, unluckyly ac12 breaks isdn, so i cannot use
it much on my main machine :(
> I downloaded alan's patch, but then couldn't get LVM tools to compile at
> all. Do I need to upgrade to a new glibc or something? I'm running more or
> less a basic RH6 system.
you need this patch to build raidtools:
http://www.comedia.it/bluca/lvm/lvm-0.7.glibc.patch
(also attached here)
if you need i can also provide a spec file
or source RPM
--
Luca Berra -- bluca@comedia.it
Communications Media & Services S.r.l.
[-- Attachment #2: lvm-0.7.glibc.patch --]
[-- Type: text/plain, Size: 1667 bytes --]
--- 0.7/tools/lib/liblvm.h.glibc.orig Mon Jul 12 23:21:26 1999
+++ 0.7/tools/lib/liblvm.h Sun Jul 25 21:15:11 1999
@@ -80,6 +80,25 @@
# include <time.h>
int llseek ( unsigned int, unsigned long long, unsigned int);
+/* from genhd.h */
+#define DOS_EXTENDED_PARTITION 5
+#define LINUX_EXTENDED_PARTITION 0x85
+#define WIN98_EXTENDED_PARTITION 0x0f
+#define LINUX_SWAP_PARTITION 0x82
+
+struct partition {
+ unsigned char boot_ind; /* 0x80 - active */
+ unsigned char head; /* starting head */
+ unsigned char sector; /* starting sector */
+ unsigned char cyl; /* starting cylinder */
+ unsigned char sys_ind; /* What partition type */
+ unsigned char end_head; /* end head */
+ unsigned char end_sector; /* end sector */
+ unsigned char end_cyl; /* end cylinder */
+ unsigned int start_sect; /* starting sector counting from 0 */
+ unsigned int nr_sects; /* nr of sectors in partition */
+} __attribute__((packed));
+
#else /* __GLIBC__ < 2 */
#if LINUX_VERSION_CODE >= KERNEL_VERSION ( 2, 1, 0)
@@ -96,11 +115,11 @@
# include <linux/msdos_fs.h>
# include <malloc.h>
# include <stdio.h>
+# include <linux/genhd.h>
#endif /* __GLIBC__ > 1 */
#include <linux/lvm.h>
#include <sys/ioctl.h>
-#include <linux/genhd.h>
#include <linux/major.h>
#define LVM_LIB_IOP_VERSION 4
--- 0.7/tools/lvm_user.h.glibc.orig Mon Jul 12 23:21:27 1999
+++ 0.7/tools/lvm_user.h Sun Jul 25 21:17:54 1999
@@ -42,7 +42,6 @@
#include <features.h>
#include <liblvm.h>
-#include <linux/genhd.h>
#include <linux/major.h>
#if ( __GLIBC__ > 1)
@@ -57,6 +56,7 @@
#else
+#include <linux/genhd.h>
#include <ctype.h>
#include <fcntl.h>
#include <malloc.h>
next prev parent reply other threads:[~1999-08-02 13:03 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-14 22:38 [linux-lvm] RAID and LVM? Paul Jakma
1999-07-14 23:04 ` Heinz Mauelshagen
1999-07-14 23:15 ` Paul Jakma
1999-07-20 21:40 ` Paul Jakma
1999-07-21 20:49 ` Luca Berra
1999-07-21 21:22 ` Paul Jakma
1999-07-22 7:48 ` Luca Berra
1999-07-25 22:29 ` Luca Berra
1999-07-26 0:12 ` Paul Jakma
1999-07-26 11:11 ` Luca Berra
1999-07-26 18:54 ` Paul Jakma
1999-07-26 20:25 ` Ingo Molnar
1999-07-26 20:52 ` Paul Jakma
1999-07-27 9:47 ` Luca Berra
1999-07-28 9:31 ` Luca Berra
1999-08-02 8:57 ` James Pattinson
1999-08-02 13:03 ` Luca Berra [this message]
1999-08-02 13:25 ` James Pattinson
1999-08-02 15:37 ` Luca Berra
1999-08-02 16:12 ` S. Ryan Quick
1999-08-02 19:21 ` Paul Jakma
-- strict thread matches above, loose matches on Subject: below --
1999-07-27 12:23 Heinz Mauelshagen
1999-07-27 12:57 ` Luca Berra
1999-07-27 15:37 Heinz Mauelshagen
[not found] <852567BA.0076DBF1.00@USCOMM02.aholdusa.com>
1999-08-03 20:24 ` Paul Jakma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19990802150301.B20900@colombina.comedia.it \
--to=bluca@comedia.it \
--cc=jamesp@aethos.co.uk \
--cc=linux-lvm@msede.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.