All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Migrate from LVM1 to LVM2...
@ 2003-09-19  9:01 Eddahbi Karim
  2003-09-19  9:10 ` Rickard Olsson
  0 siblings, 1 reply; 9+ messages in thread
From: Eddahbi Karim @ 2003-09-19  9:01 UTC (permalink / raw)
  To: linux-lvm

Hi,

I want to test 2.6 kernels, but I can't do it without migrate from LVM 1
to LVM 2.

So, I tried to find some documentations, but the only I can found is the
README of the LVM 2 package.

Is there a howto somewhere ?

Is there something I must do before migrate to LVM2 (I'll test LVM 2 on
a kernel 2.4.21 first).

Must I edit my init script to add new LVM commands after installing the
device-mapper, LVM2 and the new kernel patched for LVM2 ?

I'm working with a Gentoo system, vanilla source 2.4.21 + preempt.
gcc 3.2

Thank you.

-- 
ThE_TemPLaR

Fortune :
Vote for ME -- I'm well-tapered, half-cocked, ill-conceived and
TAX-DEFERRED!

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France

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

* Re: [linux-lvm] Migrate from LVM1 to LVM2...
  2003-09-19  9:01 [linux-lvm] Migrate from LVM1 to LVM2 Eddahbi Karim
@ 2003-09-19  9:10 ` Rickard Olsson
  2003-09-19  9:16   ` Svetoslav Slavtchev
  0 siblings, 1 reply; 9+ messages in thread
From: Rickard Olsson @ 2003-09-19  9:10 UTC (permalink / raw)
  To: linux-lvm

Eddahbi Karim wrote:

> I'm working with a Gentoo system, vanilla source 2.4.21 + preempt.
> gcc 3.2

I just compiled the device-mapper into the kernel (same place in 
menuconfig as RAID, EVMS and LVM - I used the 2.4.22-ac1 kernel), did an

emerge unmerge lvm-user

and

emerge lvm2

Note: You will need to either set the ACCEPT_KEYWORDS="~x86" flag in 
make.conf or on the commandline just prior to emerging lvm2 since LVM2 
is masked as experimental in Gentoo.

I had metadata problems so I didn't get LVM2 running perfectly, but the 
commands are basically the same as in LVM1 so you should not need to 
change any startup-files.

    / Rickard Olsson,IT-Konsult/
   / Telefon: +46 70 635 01 42/
  / http://www.webhackande.se/

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

* Re: [linux-lvm] Migrate from LVM1 to LVM2...
  2003-09-19  9:10 ` Rickard Olsson
@ 2003-09-19  9:16   ` Svetoslav Slavtchev
  2003-09-19  9:29     ` Rickard Olsson
  0 siblings, 1 reply; 9+ messages in thread
From: Svetoslav Slavtchev @ 2003-09-19  9:16 UTC (permalink / raw)
  To: linux-lvm

Quoting Rickard Olsson <richie@webhackande.se>:

> Eddahbi Karim wrote:
> 
> > I'm working with a Gentoo system, vanilla source 2.4.21 + preempt.
> > gcc 3.2
> 
> I just compiled the device-mapper into the kernel (same place in 
> menuconfig as RAID, EVMS and LVM - I used the 2.4.22-ac1 kernel), did an
> 
> emerge unmerge lvm-user
> 
> and
> 
> emerge lvm2
> 
> Note: You will need to either set the ACCEPT_KEYWORDS="~x86" flag in 
> make.conf or on the commandline just prior to emerging lvm2 since LVM2 
> is masked as experimental in Gentoo.
> 
> I had metadata problems so I didn't get LVM2 running perfectly, but the 
> commands are basically the same as in LVM1 so you should not need to 
> change any startup-files.

so your scripts are already for dm-mod ?-)
( happy Gentoo users :-) )

i think most distros will need sed '/lvm-mod/s/lvm-mod/dm-mod/'

svetljo 

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

* Re: [linux-lvm] Migrate from LVM1 to LVM2...
  2003-09-19  9:16   ` Svetoslav Slavtchev
@ 2003-09-19  9:29     ` Rickard Olsson
  2003-09-19  9:49       ` Svetoslav Slavtchev
  0 siblings, 1 reply; 9+ messages in thread
From: Rickard Olsson @ 2003-09-19  9:29 UTC (permalink / raw)
  To: linux-lvm

Svetoslav Slavtchev wrote:

> so your scripts are already for dm-mod ?-)

The LVM2 ebuild has device-mapper as a dependency and although I haven't 
checked what it does in detail, it seems to install properly.

 > ( happy Gentoo users :-) )

Well, we're forced to use devfs...

    / Rickard Olsson,IT-Konsult/
   / Telefon: +46 70 635 01 42/
  / http://www.webhackande.se/

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

* [linux-lvm] Migrate from LVM1 to LVM2...
@ 2003-09-19  9:35 Eddahbi Karim
  0 siblings, 0 replies; 9+ messages in thread
From: Eddahbi Karim @ 2003-09-19  9:35 UTC (permalink / raw)
  To: linux-lvm

Hi,

I want to test 2.6 kernels, but I can't do it without migrate from LVM 1
to LVM 2.

So, I tried to find some documentations, but the only I can found is the
README of the LVM 2 package.

Is there a howto somewhere ?

Is there something I must do before migrate to LVM2 (I'll test LVM 2 on
a kernel 2.4.21 first).

Must I edit my init script to add new LVM commands after installing the
device-mapper, LVM2 and the new kernel patched for LVM2 ?

I'm working with a Gentoo system, vanilla source 2.4.21 + preempt.
gcc 3.2

Thank you.

-- 
ThE_TemPLaR

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

* Re: [linux-lvm] Migrate from LVM1 to LVM2...
  2003-09-19  9:29     ` Rickard Olsson
@ 2003-09-19  9:49       ` Svetoslav Slavtchev
  2003-09-19  9:54         ` Rickard Olsson
  0 siblings, 1 reply; 9+ messages in thread
From: Svetoslav Slavtchev @ 2003-09-19  9:49 UTC (permalink / raw)
  To: linux-lvm

Quoting Rickard Olsson <richie@webhackande.se>:

> Svetoslav Slavtchev wrote:
> 
> > so your scripts are already for dm-mod ?-)
> 
> The LVM2 ebuild has device-mapper as a dependency and although I haven't 
> checked what it does in detail, it seems to install properly.

that's really nice :-)
 
>  > ( happy Gentoo users :-) )
> 
> Well, we're forced to use devfs...
> 

should this be really bad ?
i no devfs is depricated in 2.6, but i'm not that sure 
that udev is already usable

svetljo

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

* Re: [linux-lvm] Migrate from LVM1 to LVM2...
  2003-09-19  9:49       ` Svetoslav Slavtchev
@ 2003-09-19  9:54         ` Rickard Olsson
  2003-09-19 10:02           ` Svetoslav Slavtchev
  0 siblings, 1 reply; 9+ messages in thread
From: Rickard Olsson @ 2003-09-19  9:54 UTC (permalink / raw)
  To: linux-lvm

Svetoslav Slavtchev wrote:

> should this be really bad ?

It works fine, it's just a pain to type those long paths when doing a 
pvmove or somesuch operation.

/dev/ide/host0/bus0/target0/lun0/disc

vs

/dev/hda

Fortunately, the paths are firmly embedded in the character cache in my 
fingers by now. :-)

    / Rickard Olsson,IT-Konsult/
   / Telefon: +46 70 635 01 42/
  / http://www.webhackande.se/

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

* Re: [linux-lvm] Migrate from LVM1 to LVM2...
  2003-09-19  9:54         ` Rickard Olsson
@ 2003-09-19 10:02           ` Svetoslav Slavtchev
  2003-09-19 10:09             ` Rickard Olsson
  0 siblings, 1 reply; 9+ messages in thread
From: Svetoslav Slavtchev @ 2003-09-19 10:02 UTC (permalink / raw)
  To: linux-lvm

Quoting Rickard Olsson <richie@webhackande.se>:

> Svetoslav Slavtchev wrote:
> 
> > should this be really bad ?
> 
> It works fine, it's just a pain to type those long paths when doing a 
> pvmove or somesuch operation.
> 
> /dev/ide/host0/bus0/target0/lun0/disc
> 
> vs
> 
> /dev/hda
> 
> Fortunately, the paths are firmly embedded in the character cache in my 
> fingers by now. :-)

hm,
doesn't devfsd create the links ?

i think i had them OK with 2.6.0-test3bk7
on a Mandrake-9.1 with some small updates
( like initscripts, hotplug,devfsd ...)

svetljo

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

* Re: [linux-lvm] Migrate from LVM1 to LVM2...
  2003-09-19 10:02           ` Svetoslav Slavtchev
@ 2003-09-19 10:09             ` Rickard Olsson
  0 siblings, 0 replies; 9+ messages in thread
From: Rickard Olsson @ 2003-09-19 10:09 UTC (permalink / raw)
  To: linux-lvm

Svetoslav Slavtchev wrote:

> hm, doesn't devfsd create the links ?

It didn't use to before... I remember using something LVM 1.0.4 and 
Gentoo 1.2 and was forced to type the long format. I have just kept 
doing it.

*you wait, time passes*

It does create links now. :-) OK, I kinda like devfs a little more now, 
except all the LVM1 tools display the long format so I'll either have to 
translate or still type the long ones...

    / Rickard Olsson,IT-Konsult/
   / Telefon: +46 70 635 01 42/
  / http://www.webhackande.se/

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

end of thread, other threads:[~2003-09-19 10:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-19  9:01 [linux-lvm] Migrate from LVM1 to LVM2 Eddahbi Karim
2003-09-19  9:10 ` Rickard Olsson
2003-09-19  9:16   ` Svetoslav Slavtchev
2003-09-19  9:29     ` Rickard Olsson
2003-09-19  9:49       ` Svetoslav Slavtchev
2003-09-19  9:54         ` Rickard Olsson
2003-09-19 10:02           ` Svetoslav Slavtchev
2003-09-19 10:09             ` Rickard Olsson
  -- strict thread matches above, loose matches on Subject: below --
2003-09-19  9:35 Eddahbi Karim

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.