All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [linux-lvm] SoftRaid and LVM
@ 2001-09-04 14:35 Jean-Eric Cuendet
  2001-09-04 14:43 ` Ray Miller
  0 siblings, 1 reply; 12+ messages in thread
From: Jean-Eric Cuendet @ 2001-09-04 14:35 UTC (permalink / raw)
  To: linux-lvm

Hi,
It seems that you use a fresh 2.4.9 kernel. In kernel 2.4.9, the version
of LVM is 0.9.0-beta2, which is what you get with dmesg or cat /proc/lvm
Then you installed tools from 1.0.1rc2. You must upgrade your kernel
with LVM 1.0.1rc2 if you want all that to be consistent (or use beta2
tools, which is not the good way IMHO).

Recompile 2.4.9 with LVM-1.0.1rc2 and you'll be OK.
Bye
-jec

> -----Original Message-----
> From: Thorsten Sauter [mailto:sar@viastore.de] 
> Sent: mardi, 4. septembre 2001 16:22
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] SoftRaid and LVM
> 
> 
> 
> Hi,
> 
> sorry for these short description :-)!
> 
> Currently I'm using kernel 2.4.9 with the raidtools-0.90.
> The md0 device is a simple RAID1-Mirroring between hda1 and hda2.
> 
> If I create a simple vg over these two disks and one disk 
> goes bad, all of my datas are lost, isn't it? So I think it 
> would be a nice idee to create a simple, minimum safety, 
> mirror array and active the lvm over this array. From now on, 
> I have the flexibilty from the lvm and the safety from the raid!?
> 
> I've found some patches for older lvm version in the internet (google,
> ...) and a patch on this list from october last year. But all 
> these patches (?) are for very old lvm versions (0.8x) so I 
> tink they don't work on newer lvm-versions.
> 
> The problem, as described below, is that I can't create a 
> volume group on a md-device.
> 
> Are these infos enought? I hope so.
> 
> Between my to mails I've created a new "blank" md-device (no 
> old datas, no old fdisk probs). But the problem is the same. 
> The lvm-howto and the raid-howtos doens't provide any 
> informations for interacting raid with lvm. :-(
> 
> Thanks for your help!
> 
> Thorsten Sauter
> viastore systems GmbH
> 
> 
> --
> Your mouse has moved.
> Windows NT must be restarted for the change to take effect. 
> Reboot now?  [OK]
> 
> On Tue, 4 Sep 2001, svetljo wrote:
> 
> > Hi
> > where did you find this patches
> > and what do you wont to do
> >
> > what kind of software RAID do you wont to use
> > can you give us a bit more information
> >
> >
> >
> >
> >
> >
> > Thorsten Sauter wrote:
> >
> > >Hello LVM-Gurus,
> > >
> > >I would like to create a volume group based on an sofraid device 
> > >(/dev/md0). I know, there are many emails about this topic, but I 
> > >think no one has the solution for this. I have found some 
> > >code-patches for older versions of the lvm for fix this 
> problem. But, 
> > >what is the current state in the new lvm-1.0.1-rc2 version.
> > >
> > >The following things I have made before:
> > >$ mkraid --realy-force /dev/md0
> > >$ mkreiserfs /dev/md0
> > >$ mount /dev/md0 /mnt
> > >-> so I think, the raid device is ok
> > >
> > >$ pvcreate /dev/md0
> > >
> > >>pvcreate -- device "/dev/md0" has a partition table
> > >>
> > >
> > >$ fdisk -l /dev/md0
> > >
> > >>Disk /dev/md0: 2 heads, 4 sectors, 2441880 cylinders
> > >>Units = cylinders of 8 * 512 bytes
> > >>
> > >>    Device Boot    Start       End    Blocks   Id  System
> > >>
> > >$ uname -a
> > >
> > >>Linux lxclust1 2.4.9 #6 Mon Jan 3 19:52:54 CET 2000 i686 unknown
> > >>
> > >$ dmesg | grep -i lvm
> > >
> > >>LVM version 0.9.1_beta2  by Heinz Mauelshagen  
> (18/01/2001) lvm -- 
> > >>Driver successfully initialized
> > >>
> > >
> > >LVM-Version: 1.0.1-rc2      -> why is this an other 
> version as reported
> > >by kernel?
> > >
> > >Does anyone know, how can I initialize the /dev/md0 device 
> for te the 
> > >lvm?
> > >
> > >Thanks for your help,
> > >
> > >Thorsten Sauter
> > >viastore systems GmbH
> > >
> > >
> > >--
> > >Your mouse has moved.
> > >Windows NT must be restarted for the change to take effect. Reboot 
> > >now?  [OK]
> > >
> > >
> > >_______________________________________________
> > >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
> > >
> >
> >
> >
> >
> > _______________________________________________
> > 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
> >
> 
> 
> _______________________________________________
> 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] 12+ messages in thread
* RE: [linux-lvm] SoftRaid and LVM
@ 2001-09-04 15:46 Jean-Eric Cuendet
  2001-09-04 15:58 ` svetljo
  0 siblings, 1 reply; 12+ messages in thread
From: Jean-Eric Cuendet @ 2001-09-04 15:46 UTC (permalink / raw)
  To: linux-lvm

I don't understand what you mean!
Your request is offtopic. You ask for help on a thread not related to
you...
But on the thread there :
<http://lists.sistina.com/pipermail/linux-lvm/2001-September/008611.html
> you already got help from many!

What do you mean and want exactly???
-jec

> -----Original Message-----
> From: svetljo [mailto:galia@st-peter.stw.uni-erlangen.de] 
> Sent: mardi, 4. septembre 2001 17:03
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] SoftRaid and LVM
> 
> 
> Hei why does nobody try to help me
> 
> [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 
> reiserfs?) 
> <http://lists.sistina.com/pipermail/linux-lvm/2001-September/0
08611.html>

i've done pretty much trys and almost nobody seems to wont to help me am
i invisable

svetljo

Ray Miller wrote:

>On Tue, Sep 04, 2001 at 04:35:40PM +0200, Jean-Eric Cuendet wrote:
>
>>Hi,
>>It seems that you use a fresh 2.4.9 kernel. In kernel 2.4.9, the 
>>version of LVM is 0.9.0-beta2, which is what you get with dmesg or cat

>>/proc/lvm Then you installed tools from 1.0.1rc2. You must upgrade 
>>your kernel with LVM 1.0.1rc2 if you want all that to be consistent 
>>(or use beta2 tools, which is not the good way IMHO).
>>
>>Recompile 2.4.9 with LVM-1.0.1rc2 and you'll be OK.
>>
>
>I applied the 1.0.1-rc2 patch to a clean 2.4.9 kernel tree and was able

>to create a logical volume on top of s/w RAID 1 without any trouble. 
>However, a bonnie++ run on an ext2 (or ext3) filesystem on the logical 
>volume caused the system to lock up, with kswapd going uninterruptible.

>I suspect a VM (rather than LVM) problem, as a similar lock-up occurred

>on another system with 2.4.8 kernel and no LVM. We've reverted to 
>kernel 2.4.7 on both systems and had no problems since.
>




_______________________________________________
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] 12+ messages in thread
* [linux-lvm] SoftRaid and LVM
@ 2001-09-04 13:42 Thorsten Sauter
  2001-09-04 14:03 ` svetljo
  0 siblings, 1 reply; 12+ messages in thread
From: Thorsten Sauter @ 2001-09-04 13:42 UTC (permalink / raw)
  To: linux-lvm

Hello LVM-Gurus,

I would like to create a volume group based on an sofraid device
(/dev/md0). I know, there are many emails about this topic, but I think no
one has the solution for this. I have found some code-patches for older
versions of the lvm for fix this problem. But, what is the current state
in the new lvm-1.0.1-rc2 version.

The following things I have made before:
$ mkraid --realy-force /dev/md0
$ mkreiserfs /dev/md0
$ mount /dev/md0 /mnt
-> so I think, the raid device is ok

$ pvcreate /dev/md0
> pvcreate -- device "/dev/md0" has a partition table

$ fdisk -l /dev/md0
> Disk /dev/md0: 2 heads, 4 sectors, 2441880 cylinders
> Units = cylinders of 8 * 512 bytes
>
>     Device Boot    Start       End    Blocks   Id  System
$ uname -a
> Linux lxclust1 2.4.9 #6 Mon Jan 3 19:52:54 CET 2000 i686 unknown
$ dmesg | grep -i lvm
> LVM version 0.9.1_beta2  by Heinz Mauelshagen  (18/01/2001)
> lvm -- Driver successfully initialized

LVM-Version: 1.0.1-rc2      -> why is this an other version as reported
by kernel?

Does anyone know, how can I initialize the /dev/md0 device for te the lvm?

Thanks for your help,

Thorsten Sauter
viastore systems GmbH


--
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

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

end of thread, other threads:[~2001-09-04 23:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-04 14:35 [linux-lvm] SoftRaid and LVM Jean-Eric Cuendet
2001-09-04 14:43 ` Ray Miller
2001-09-04 15:03   ` svetljo
2001-09-04 15:36     ` Joe Thornber
2001-09-04 23:28       ` Mark van Walraven
  -- strict thread matches above, loose matches on Subject: below --
2001-09-04 15:46 Jean-Eric Cuendet
2001-09-04 15:58 ` svetljo
2001-09-04 16:03   ` svetljo
2001-09-04 13:42 Thorsten Sauter
2001-09-04 14:03 ` svetljo
2001-09-04 14:21   ` Thorsten Sauter
2001-09-04 14:57     ` svetljo

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.