Linux LVM users
 help / color / mirror / Atom feed
* RE: what i need is a little attention-RE [linux-lvm] SoftRaid and LVM   Jean-Eric Cuendet
@ 2001-09-05  7:57 Jean-Eric Cuendet
  2001-09-05  8:26 ` svetljo
  2001-09-05  8:33 ` svetljo
  0 siblings, 2 replies; 18+ messages in thread
From: Jean-Eric Cuendet @ 2001-09-05  7:57 UTC (permalink / raw)
  To: linux-lvm

> and one more question about the min-max
> i don't speak "C" can you tell me how to do it with pre
> linux-2.4.9patches wich i wont to aply to linux-2.4.10pre2 
> and they are giving me problems 
> with min-max definition

The min/max functions are simple functions that return the min/max of
two numbers.
Ex: min(3,4) return 3
Now, Linus has added a type to those functions in 2.4.8 (I think):
Ex: min(int, 3, 4) = 3
Or: min(float, -6.45, 4.5) = -6.45

So, either you change the call from:
min(a, b) to min(int,a,b)
Or you add the provided replacement functions:
#define min(a,b) (((a)<(b))?(a):(b)) 
#define max(a,b) (((a)>(b))?(a):(b)) 
At the *beginning* of the file (before anything else).

Note that these are not real functions but just macros. That's why it's
so simple (just add them and forget).

Bye
-jec

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: what i need is a little attention-RE [linux-lvm] SoftRaid and LVM   Jean-Eric Cuendet
@ 2001-09-05  5:44 Jean-Eric Cuendet
  2001-09-05  7:17 ` svetljo
  0 siblings, 1 reply; 18+ messages in thread
From: Jean-Eric Cuendet @ 2001-09-05  5:44 UTC (permalink / raw)
  To: linux-lvm

Hi,
I'll give you my setup.
I have a 5 36Gb SCSI disks machine which do MD+LVM+ext2 on them
Each disk is splitted in 4 (~9Gb each partition) and then grouped 5 by 5
to form 4 MD (md5, md6, md7, md8) each ~36Gb in RAID5.
Then these 4 MDs are added in a VG and LVs are created for each need
(CVS, HOMES, FILES, ...). 
The machine is a PIII 733 with 256Mb RAM and has RH7.1 installed
I use MD 0.90.0, LVM 1.0.1rc1 and e2fsprogs 1.23. I have NO reiserfs nor
XFS nor JFS.

All that works fine for me with little problems since upgrade to
LVM-0.9.1-beta7

Each partition on the physical disk is marked as fd (Linux RAID
autodectect) then pvcreate is made on /dev/md[5678] . There is no need
to put either "Linux Native (83)" nor "Linux LVM (8e)" on the /dev/md1
or something like that. Just the fd on physical partitions will do the
trick.

Hope this helps.
-jec

> -----Original Message-----
> From: svetljo [mailto:galia@st-peter.stw.uni-erlangen.de] 
> Sent: mardi, 4. septembre 2001 19:44
> To: bluca@comedia.it; linux-lvm@sistina.com
> Subject: Re: what i need is a little attention-RE [linux-lvm] 
> SoftRaid and LVM Jean-Eric Cuendet
> 
> 
> well the problem currently is that i can not format the LV 
> with ext2 or 
> reiserfs
> in the beginning i could access the LV only with IBM's JFS and i had 
> troubles mounting it with XFS
> but i've upgraded to 2.4.10-pre2-xfs-cvs and now i have no 
> problem with XFS but i still have the problem with ext2 and 
> reiserfs which i think is not 
> normal
> and i'm wondering whether it's safe to use the LV
> 
> i used e2fsprogs-1.23 and 1.24 and reiserfs progs  3.x.0j
> but when i try to format the LV mke2fs and mkreiserfs segfaults
> 
> and i can format normal partitions and software raid with mke2fs and 
> mkreiserfs
> 
> 
> the VG :
> 
> /dev/hdh10
> /dev/md6  software linear RAID
> /dev/md7 software linear RAID
> 
> the LV's are striped over the 3 PV's
> 
> Luca Berra wrote:
> 
> >On Tue, Sep 04, 2001 at 07:08:10PM +0200, svetljo wrote:
> >
> >>if smbd take a look at all meseages with sender svetljo and with 
> >>subject
> >>releated to PB's with LVM on software RAID
> >> i think he'll get the idea what is all about
> >>
> >OK i am using lvm over softraid
> >can you please do a recap.
> >
> >L.
> >
> 
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com 
> http://lists.sistina.com/mailman/listinfo/linu> x-lvm
> read the 
> LVM HOW-TO at 
> http://www.sistina.com/lvm/Pages/howto.html
> 

^ permalink raw reply	[flat|nested] 18+ messages in thread
* what i need is a little attention-RE [linux-lvm] SoftRaid and LVM   Jean-Eric Cuendet
@ 2001-09-04 17:08 svetljo
       [not found] ` <20010904190937.A9131@colombina.comedia.it>
  2001-09-04 19:40 ` Lewis Bergman
  0 siblings, 2 replies; 18+ messages in thread
From: svetljo @ 2001-09-04 17:08 UTC (permalink / raw)
  To: linux-lvm

i had only  reply from Andreas Dilger (3 the previous month and 1 this) 
and all the other posts are from me
what am i doing , what the results are
i'm still waiting smbd to help me

all started  here
http://lists.sistina.com/pipermail/linux-lvm/2001-August/008579.html

if smbd take a look at all meseages with sender svetljo and with subject 
releated to PB's with LVM on software RAID
 i think he'll get the idea what is all about

thank's

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

end of thread, other threads:[~2001-09-07 14:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-05  7:57 what i need is a little attention-RE [linux-lvm] SoftRaid and LVM Jean-Eric Cuendet Jean-Eric Cuendet
2001-09-05  8:26 ` svetljo
2001-09-05  8:33 ` svetljo
2001-09-05 18:05   ` Andreas Dilger
2001-09-05 18:18     ` [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?) svetljo
2001-09-05 18:32       ` svetljo
2001-09-05 18:32       ` Andreas Dilger
2001-09-05 18:57         ` svetljo
2001-09-05 22:46           ` Andreas Dilger
2001-09-05 23:05             ` svetljo
2001-09-06 17:27               ` [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)-2.4.7 svetljo
2001-09-07 14:50                 ` Jonathan DeHaan
2001-09-06  6:44           ` [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?) Luca Berra
  -- strict thread matches above, loose matches on Subject: below --
2001-09-05  5:44 what i need is a little attention-RE [linux-lvm] SoftRaid and LVM Jean-Eric Cuendet Jean-Eric Cuendet
2001-09-05  7:17 ` svetljo
2001-09-04 17:08 svetljo
     [not found] ` <20010904190937.A9131@colombina.comedia.it>
2001-09-04 17:43   ` svetljo
2001-09-04 19:40 ` Lewis Bergman

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