All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)-2.4.7
@ 2001-09-07 15:21 Svetoslav  Dimitrov Slavtchev
  0 siblings, 0 replies; 3+ messages in thread
From: Svetoslav  Dimitrov Slavtchev @ 2001-09-07 15:21 UTC (permalink / raw)
  To: linux-lvm

well
i have it working with JFS and XFS but i can not format the LV with ext2 and reiserfs

and i've tested it with
vanila 2.4.7 lvm-1.0.1rc2
vanila 2.4.9 lvm-1.0.1rc1
Alan Cox's 2.4.9-ac5 lvm-1.0
XFS cvs kernels 2.4.9-xfs lvm-1.0.1rc1
                2.4.10-pre2-xfs lvm-1.0.1rc2
                2.4.10-pre4-xfs lvm-1.0.1rc2
i'll try it ( hopefully after 2h) with 
vanila 2.4.4 
the VG:
/dev/hdh10
/dev/md6 linear software RAID
/dev/md7 linear software RAID
the LV's are striped over the 3 devices

and i had it working some time ago 
on software RAID-0 with lvm-0.9beta6
XFS progs from the cvs tree
JFS progs 1.0.3
reiserfs 3.x.0j
e2fsprogs 1.23 1.24 1.24a

---
Svetoslav Dimitrov Slavtschev
svetoslav@mail.com
svetljo@mailcity.com



Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

^ permalink raw reply	[flat|nested] 3+ messages in thread
* 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:33 ` svetljo
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-07 15:21 [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)-2.4.7 Svetoslav  Dimitrov Slavtchev
  -- strict thread matches above, loose matches on Subject: below --
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: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       ` 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

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.