Linux LVM users
 help / color / mirror / Atom feed
* 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

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

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.
>

^ 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-04 17:08 svetljo
       [not found] ` <20010904190937.A9131@colombina.comedia.it>
@ 2001-09-04 19:40 ` Lewis Bergman
  1 sibling, 0 replies; 18+ messages in thread
From: Lewis Bergman @ 2001-09-04 19:40 UTC (permalink / raw)
  To: linux-lvm

I don't know if you saw my post or if it was helpfull. I posted my complete 
configs regarding my software RAID 1 config and my LVM configs. It should be 
in that same thread.
-- 
Lewis Bergman
Texas Communications
4309 Maple St.
Abilene, TX 79602-8044
915-695-6962

^ 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

* Re: what i need is a little attention-RE [linux-lvm] SoftRaid and LVM   Jean-Eric Cuendet
  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
  0 siblings, 0 replies; 18+ messages in thread
From: svetljo @ 2001-09-05  7:17 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 3712 bytes --]

Hi
some month's ago i had a running  LVM over sofware RAID-0 setup
i have currently also a normal VG ( PV's are normal partitions) wich has 
no troubles with ext2 nad reiserfs
but the new VG (containing striped LV's) which is
/dev/hdh10
/dev/md6  linear software RAID
/dev/md7 linear software RAID

i can not format with ext2 or reiserfs , when i try mke2fs mkreiserfs 
they segfaults
because of the troubles with ext2 and reiserfs i think that i can not be 
sure that everything with the LV's works
but probably i'll try cpio-ing my installation over it and give it a try

i'm running ABIT's BP6 2xCelleron533 512Mb RAM 2xWD 30Gb 1xMaxtor 40Gb
raidtools-0.90 lvm-1.0.1rc2 e2fsprogs1.23 1.24 1.24a reiserfs-progs-3.x.0j

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



Jean-Eric Cuendet wrote:

>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
>>
>
>_______________________________________________
>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
>


[-- Attachment #2: a_simple_partition_table.txt --]
[-- Type: text/plain, Size: 2655 bytes --]


/dev/hde1  dos partition
/dev/hde5 /boot
/dev/hde6 ------X----------> /dev/md7 linear software RAID  ------------------------------------------------ |
/dev/hde11------|              ( raid-devs hde6 hde11)                                                       |
/dev/hde7--------------------X---->   VG wish   PV's hde7 hdg8 hdh5                                          |
/dev/hde8 -----------X---> that is /dev/md0 sofware RAID-0                                                   |
/dev/hde9 swap       |       |                                                                               |
/dev/hde10 ----------|-------|-----------X-------> /dev/md1 software RAID-0                                  |                 
                     |       |           |                                                                   |
/dev/hdg1------------|-------|-----------|-------X------> /dev/md6 linear software RAID----------------------X--> VG myData
/dev/hdg5------------|-------|-----------|-------X           ( raid-devs hdg1 hdg5 hdg6 hdg12 )              | PV's hdh10 md6 md7
/dev/hdg6------------|-------|-----------|-------X                                                           |
/dev/hdg7------------|-------|-----------|-------|------------X-----> /dev/md8 software RAID-0               |
/dev/hdg8 -----------|-------X           |       |            |       (raid-devs hdg7 hdh8 )                 |
/dev/hdg9 -----------|-------|-----------X       |            |                                              |
/dev/hdg10 ----------X       |           |       |            |                                              |
/dev/hdg11 swap      |       |           |       |  	      | 					     |
/dev/hdg12 ----------|-------|-----------|-------|            |                                              |
		     |	     |		 |		      | 				             |
/dev/hdh1  dos partiton      |           |                    |  	                                     |
/dev/hdh5 -----------|-------|           |                    |   	                                     |
/dev/hdh6 -----------|                   |                    |                                              |
/dev/hdh7--------------------------------|                    |                                              |
/dev/hdh8-----------------------------------------------------|         				     |
/dev/hdh9 swap                                                      				             |
/dev/hdh10---------------------------------------------------------------------------------------------------|

 X notifies conection   

i hope it's almost understandable now

^ 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  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  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
  1 sibling, 0 replies; 18+ messages in thread
From: svetljo @ 2001-09-05  8:26 UTC (permalink / raw)
  To: linux-lvm

thanks

i think it was 2.4.9 and Alan Cox still doesn't wont it, it's quite a 
long time 2.4.9 being out there
 
 
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] 18+ 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:26 ` svetljo
@ 2001-09-05  8:33 ` svetljo
  2001-09-05 18:05   ` Andreas Dilger
  1 sibling, 1 reply; 18+ 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] 18+ 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; 18+ 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] 18+ 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       ` svetljo
  2001-09-05 18:32       ` Andreas Dilger
  0 siblings, 2 replies; 18+ 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] 18+ 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       ` svetljo
  2001-09-05 18:32       ` Andreas Dilger
  1 sibling, 0 replies; 18+ messages in thread
From: svetljo @ 2001-09-05 18:32 UTC (permalink / raw)
  To: linux-lvm

i'm building curently 2.4.10-pre4-xfs with the patches from Neil Brown
and i'll try with a Mandrake-2.4.5 i'll have to update the LVM-code of 
the is it necessary to be lvm-1.0.1rc2
or i can do it with lvm-1.0 for the mandrake kernel (my internet 
connection pretty slow currently)  

svetljo wrote:

> 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
>>
>
>
>
> _______________________________________________
> 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] 18+ 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       ` svetljo
@ 2001-09-05 18:32       ` Andreas Dilger
  2001-09-05 18:57         ` svetljo
  1 sibling, 1 reply; 18+ 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] 18+ 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
  2001-09-06  6:44           ` [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?) Luca Berra
  0 siblings, 2 replies; 18+ 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] 18+ 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
  2001-09-06  6:44           ` [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?) Luca Berra
  1 sibling, 1 reply; 18+ 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] 18+ 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; 18+ 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] 18+ 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-06  6:44           ` Luca Berra
  1 sibling, 0 replies; 18+ messages in thread
From: Luca Berra @ 2001-09-06  6:44 UTC (permalink / raw)
  To: linux-lvm

On Wed, Sep 05, 2001 at 08:57:02PM +0200, svetljo wrote:
> 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 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

i have an older kernel 2.4.4-ac11 and it works beautifully.
i will try to upgrade this weekend and will let you know.
besides 2.4.9-ac does not even boot on my hardware.

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 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