* [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
* Re: what i need is a little attention-RE [linux-lvm] SoftRaid and LVM Jean-Eric Cuendet
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
0 siblings, 1 reply; 3+ messages in thread
From: svetljo @ 2001-09-05 8:33 UTC (permalink / raw)
To: linux-lvm
some ideas whom should i write to and what else should i try
i've already written to the developers of e2fsprogs and to Hans Reiser
but i still don't have a reply( it was 2-3 days ago) and mr Hans Reiser
wonts $25 for looking at a problem
i'll write them again
Jean-Eric Cuendet wrote:
>>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
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ 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 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
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Dilger @ 2001-09-05 18:05 UTC (permalink / raw)
To: linux-lvm
On Sep 05, 2001 10:33 +0200, svetljo wrote:
> some ideas whom should i write to and what else should i try
> i've already written to the developers of e2fsprogs and to Hans Reiser
> but i still don't have a reply( it was 2-3 days ago) and mr Hans Reiser
> wonts $25 for looking at a problem
I don't think it has anything to do with e2fsprogs or reiserfs. The
problem is clearly in LVM, MD, or the block layer. Thousands of people
are using both e2fsprogs and reiserfsprogs, and if they had such problems
more people would know about it.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)
2001-09-05 18:05 ` Andreas Dilger
@ 2001-09-05 18:18 ` svetljo
2001-09-05 18:32 ` Andreas Dilger
0 siblings, 1 reply; 3+ messages in thread
From: svetljo @ 2001-09-05 18:18 UTC (permalink / raw)
To: linux-lvm
and what should i try now
i was writing to Nail Brown about the XFS mount problem but i think he
stop writing to me
after i couldn't recreate the problem
which kernel should i test 2.4.5 2.4.6 2.4.7
Andreas Dilger wrote:
>On Sep 05, 2001 10:33 +0200, svetljo wrote:
>
>>some ideas whom should i write to and what else should i try
>>i've already written to the developers of e2fsprogs and to Hans Reiser
>>but i still don't have a reply( it was 2-3 days ago) and mr Hans Reiser
>>wonts $25 for looking at a problem
>>
>
>I don't think it has anything to do with e2fsprogs or reiserfs. The
>problem is clearly in LVM, MD, or the block layer. Thousands of people
>are using both e2fsprogs and reiserfsprogs, and if they had such problems
>more people would know about it.
>
>Cheers, Andreas
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)
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
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Dilger @ 2001-09-05 18:32 UTC (permalink / raw)
To: linux-lvm
On Sep 05, 2001 20:18 +0200, svetljo wrote:
> i was writing to Nail Brown about the XFS mount problem but i think he
> stop writing to me after i couldn't recreate the problem
>
> which kernel should i test 2.4.5 2.4.6 2.4.7
If you had one that previously worked, then start with that one and
work forwards until it stops working (maybe dividing the kernel version
numbers in half for each try to narrow it down quicker).
If you have never had this working properly, try some early kernel like
2.4.5 and see if it works. If not then I suspect you have a RAM problem,
and you may want to swap/remove SIMM/DIMMs to see if you can isolate it.
There is a whole document in linux/Documentation/, like Oops-tracing.txt,
BUG-HUNTING, etc.
Nobody HAS to help you with this problem (and it seems the Sistina
folks are quiet on this issue) because you are not paying them anything.
That is one of the good/bad features of Linux - you can _usually_ get
free support for a problem, but you may have to do it yourself too.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)
2001-09-05 18:32 ` Andreas Dilger
@ 2001-09-05 18:57 ` svetljo
2001-09-05 22:46 ` Andreas Dilger
0 siblings, 1 reply; 3+ messages in thread
From: svetljo @ 2001-09-05 18:57 UTC (permalink / raw)
To: linux-lvm
i can not understand one thing
Andreas Dilger wrote:
>If you had one that previously worked, then start with that one and
>work forwards until it stops working (maybe dividing the kernel version
>numbers in half for each try to narrow it down quicker).
>
i maked the VG and the LV's under 2.4.9-xfs lvm-1.0.1rc1
but i had the XFS- mount problem with it and JFS had no problems
and i upgraded to 2.4.10-pre2-xfs lvm-1.0.1rc2 and had no problems with
JFS and XFS
i tried with 2.4.9-ac5 lvm-1.0 and vanila 2.4.9 lvm-1.0.1rc1
with all these kernels it seemd that the LVM is working but i couldn't
format the LV with reiserfs and ext2
mke2fs and mkreiserfs simply segfaults without errors
>If you have never had this working properly, try some early kernel like
>2.4.5 and see if it works. If not then I suspect you have a RAM problem,
>and you may want to swap/remove SIMM/DIMMs to see if you can isolate it.
>
i can not understand why do you think that i could have RAM problems
if i had RAM problems why would XFS and JFS working without problem and
mke2fs and mkreiserfs segfaulting
>
>There is a whole document in linux/Documentation/, like Oops-tracing.txt,
>BUG-HUNTING, etc.
>
i'll take a look at it
>
>Nobody HAS to help you with this problem (and it seems the Sistina
>folks are quiet on this issue) because you are not paying them anything.
>That is one of the good/bad features of Linux - you can _usually_ get
>free support for a problem, but you may have to do it yourself too.
>
>Cheers, Andreas
>
i know that and i really appreciate that you are trying to help me
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)
2001-09-05 18:57 ` svetljo
@ 2001-09-05 22:46 ` Andreas Dilger
2001-09-05 23:05 ` svetljo
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Dilger @ 2001-09-05 22:46 UTC (permalink / raw)
To: linux-lvm
On Sep 05, 2001 20:57 +0200, svetljo wrote:
> i maked the VG and the LV's under 2.4.9-xfs lvm-1.0.1rc1
> but i had the XFS- mount problem with it and JFS had no problems
> and i upgraded to 2.4.10-pre2-xfs lvm-1.0.1rc2 and had no problems with
> JFS and XFS
When you say you have no problems, does that mean "mkfs.{jfs,xfs} completed
without errors" or does that mean "I have been using {JFS,XFS} under load
or running dbench/bonnie++ on it without errors". Since you say that
memtest86 does not show errors on your system, you could also try dbench,
bonnie++, or even cerberus (from VA Linux) to stress test these filesystems.
I'm pretty sure they will also show problems under stress, and this will
convince you it is a kernel or hardware problem.
> i tried with 2.4.9-ac5 lvm-1.0 and vanila 2.4.9 lvm-1.0.1rc1
> with all these kernels it seemd that the LVM is working but i couldn't
> format the LV with reiserfs and ext2
> mke2fs and mkreiserfs simply segfaults without errors
The fact that mkfs.* is causing a kernel OOPS is a sure sign of problems
in the kernel, because these are just user-space applications, and do
not run in the kernel at all. I don't think it could possibly be a
problem with these tools.
> >If you have never had this working properly, try some early kernel like
> >2.4.5 and see if it works. If not then I suspect you have a RAM problem,
> >and you may want to swap/remove SIMM/DIMMs to see if you can isolate it.
> >
> i can not understand why do you think that i could have RAM problems
> if i had RAM problems why would XFS and JFS working without problem and
> mke2fs and mkreiserfs segfaulting
There have been problems with mke2fs in the past (and maybe mkreiserfs too)
where they make a LOT of blocks dirty which exposes problems in the block
I/O layer inside the kernel. This does not mean that these tools are bad,
it means the kernel is bad, or your system is bad, and these are tools
that show this problem best.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)
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
0 siblings, 1 reply; 3+ messages in thread
From: svetljo @ 2001-09-05 23:05 UTC (permalink / raw)
To: linux-lvm
Andreas Dilger wrote:
>On Sep 05, 2001 20:57 +0200, svetljo wrote:
>
>>i maked the VG and the LV's under 2.4.9-xfs lvm-1.0.1rc1
>>but i had the XFS- mount problem with it and JFS had no problems
>>and i upgraded to 2.4.10-pre2-xfs lvm-1.0.1rc2 and had no problems with
>>JFS and XFS
>>
>
>When you say you have no problems, does that mean "mkfs.{jfs,xfs} completed
>without errors" or does that mean "I have been using {JFS,XFS} under load
>or running dbench/bonnie++ on it without errors". Since you say that
>memtest86 does not show errors on your system, you could also try dbench,
>bonnie++, or even cerberus (from VA Linux) to stress test these filesystems.
>I'm pretty sure they will also show problems under stress, and this will
>convince you it is a kernel or hardware problem.
>
well i already downloaded dbench and bonnie++ and i'll try to find cerberus
but i had downloaded vanila 2.4.7 at 2.3k/s so it took me some time and
i was thinking to try to boot with / on the LV
and i had to make some backups
>>i tried with 2.4.9-ac5 lvm-1.0 and vanila 2.4.9 lvm-1.0.1rc1
>>with all these kernels it seemd that the LVM is working but i couldn't
>>format the LV with reiserfs and ext2
>>mke2fs and mkreiserfs simply segfaults without errors
>>
>
>The fact that mkfs.* is causing a kernel OOPS is a sure sign of problems
>in the kernel, because these are just user-space applications, and do
>not run in the kernel at all. I don't think it could possibly be a
>problem with these tools.
>
i couldn't find any OOPS 's after running mkreiserfs and mke2fs
>>>If you have never had this working properly, try some early kernel like
>>>2.4.5 and see if it works. If not then I suspect you have a RAM problem,
>>>and you may want to swap/remove SIMM/DIMMs to see if you can isolate it.
>>>
>>i can not understand why do you think that i could have RAM problems
>>if i had RAM problems why would XFS and JFS working without problem and
>>mke2fs and mkreiserfs segfaulting
>>
>
>There have been problems with mke2fs in the past (and maybe mkreiserfs too)
>where they make a LOT of blocks dirty which exposes problems in the block
>I/O layer inside the kernel. This does not mean that these tools are bad,
>it means the kernel is bad, or your system is bad, and these are tools
>that show this problem best.
>
>Cheers, Andreas
>
thanks a lot
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)-2.4.7
2001-09-05 23:05 ` svetljo
@ 2001-09-06 17:27 ` svetljo
2001-09-07 14:50 ` Jonathan DeHaan
0 siblings, 1 reply; 3+ messages in thread
From: svetljo @ 2001-09-06 17:27 UTC (permalink / raw)
To: linux-lvm
Hi again
it took me some time but it's the same with 2.4.7
mke2fs and mkreiserfs segfaults and there are no OOPSes
and jfs has no problems
vanila 2.4.7 with jfs-1.0.4 and LVM-cvs from about an hour ago
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)-2.4.7
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
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan DeHaan @ 2001-09-07 14:50 UTC (permalink / raw)
To: linux-lvm
svetljo,
I think I've done what you are trying to do.
Starting with Mandrake 8.1b1:
kernel 2.4.9
patch-2.4.9-xfs-2001-08-26
lvm-1.0.1-rc2
xfsprogs-1.3.5
Apply xfs patch before doing make in lvm.
Configure lvmtools with --enable-static_link
/dev/md/0 is RAID0 over three partitions - hda1, sda1, sdb1
pvcreate /dev/md/0
vgcreate vg /dev/md/0
lvcreate -s 4G -n root vg
mkfs -t xfs /dev/vg/root
mount /dev/vg/root /mnt
No errors.
If this same sequence of commands produces errors on your system, then I
would suspect something other than md, lvm, or xfs. Unless you really have a
need to run both, I would not patch both XFS and JFS into the same kernel. I
also would not use modules for any filesystems that I expect to use daily.
Hope this helps,
Jonathan DeHaan
jdehaan@home.com
> -----Original Message-----
> From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
> Behalf Of svetljo
> Sent: Thursday, September 06, 2001 1:28 PM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] PBs with LVM over software RAID ( and XFS ?
> ext2 reiserfs?)-2.4.7
>
>
> Hi again
> it took me some time but it's the same with 2.4.7
> mke2fs and mkreiserfs segfaults and there are no OOPSes
> and jfs has no problems
>
> vanila 2.4.7 with jfs-1.0.4 and LVM-cvs from about an hour ago
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ 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.