* [linux-lvm] Recognizing VG in another machine
@ 2006-02-14 0:40 Garcia JR
2006-02-16 12:32 ` Heinz Mauelshagen
0 siblings, 1 reply; 5+ messages in thread
From: Garcia JR @ 2006-02-14 0:40 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]
Hi PPL, little question.
Supposing i have 1 HD with 2 pvs (hda1 and hda3) in VG named VG01 and LV
named lv01 working successfully in MACHINE1.
root@solid:/etc/lvmconf# lvscan
lvscan -- ACTIVE "/dev/vg01/lv01" [704 MB]
lvscan -- 1 logical volumes with 704 MB total in 1 volume group
lvscan -- 1 active logical volumes
root@solid:/etc/lvmconf# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hda1" of VG "vg01" [1.41 GB / 1.41 GB free]
pvscan -- ACTIVE PV "/dev/hda3" of VG "vg01" [1.41 GB / 736 MB free]
pvscan -- total: 2 [2.91 GB] / in use: 2 [2.91 GB] / in no VG: 0 [0]
Supposing again: MACHINE1 is down and I need to put VG above in another
server, named MACHINE2. I Will remove HD from MACHINE1 and put in MACHINE2.
What the nexts steps i will have to follow to make VG be recognized by
MACHINE2 exactly how was in MACHINE1 without lose data?
regards,
[-- Attachment #2: Type: text/html, Size: 1292 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Recognizing VG in another machine
2006-02-14 0:40 [linux-lvm] Recognizing VG in another machine Garcia JR
@ 2006-02-16 12:32 ` Heinz Mauelshagen
2006-02-17 14:04 ` [linux-lvm] Booting into LVM Roger Lucas
0 siblings, 1 reply; 5+ messages in thread
From: Heinz Mauelshagen @ 2006-02-16 12:32 UTC (permalink / raw)
To: LVM general discussion and development
On Mon, Feb 13, 2006 at 09:40:54PM -0300, Garcia JR wrote:
> Hi PPL, little question.
>
> Supposing i have 1 HD with 2 pvs (hda1 and hda3) in VG named VG01 and LV
> named lv01 working successfully in MACHINE1.
>
> root@solid:/etc/lvmconf# lvscan
> lvscan -- ACTIVE "/dev/vg01/lv01" [704 MB]
> lvscan -- 1 logical volumes with 704 MB total in 1 volume group
> lvscan -- 1 active logical volumes
>
> root@solid:/etc/lvmconf# pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- ACTIVE PV "/dev/hda1" of VG "vg01" [1.41 GB / 1.41 GB free]
> pvscan -- ACTIVE PV "/dev/hda3" of VG "vg01" [1.41 GB / 736 MB free]
> pvscan -- total: 2 [2.91 GB] / in use: 2 [2.91 GB] / in no VG: 0 [0]
>
> Supposing again: MACHINE1 is down and I need to put VG above in another
> server, named MACHINE2. I Will remove HD from MACHINE1 and put in MACHINE2.
>
> What the nexts steps i will have to follow to make VG be recognized by
> MACHINE2 exactly how was in MACHINE1 without lose data?
vgscan ; vgchange -ay
presumably the filter in /etc/lvm/lvm.conf includes /dev/hd* (which it
does by default).
>
> regards,
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
Cluster and Storage Development 56242 Marienrachdorf
Germany
Mauelshagen@RedHat.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 5+ messages in thread
* [linux-lvm] Booting into LVM
2006-02-16 12:32 ` Heinz Mauelshagen
@ 2006-02-17 14:04 ` Roger Lucas
2006-02-17 14:11 ` Graham Wood
0 siblings, 1 reply; 5+ messages in thread
From: Roger Lucas @ 2006-02-17 14:04 UTC (permalink / raw)
To: 'LVM general discussion and development'
I am trying to boot into LVM and am having some problems. Here is a
summary:
I have a server with a hardware RAID system (which provides logical SCSI
disks) which I want to have running as early as possible in the boot
process. I cannot boot directly into it, so I have a small (32MB) IDE-FLASH
device onto which I wish to put a standard Linux boot partition. My plan is
to install LVM onto the (large) RAID system and use logical volumes for "/",
"/var/", etc.
I did a "stock" Debian install and it all worked fine. The boot partition
is on the IDE-FLASH disk and all the other partitions are via LVM on logical
volumes from the 4TB RAID array. Unfortunately, the kernel is 2.6.8. I
need to run 2.6.14 so I built up a new kernel image using the original
sources and a load of patches that I needed. This kernel image works fine
on other machines, but it will not boot on this machine. It complains that
it cannot mount "mapper/root" when the Grub line is "root=/dev/mapper/root".
My guess is that LVM isn't being loaded/started/configured correctly at boot
time or that there is some problem with "/dev"...
Can anyone shed any light on this?
Thanks,
Roger
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Booting into LVM
2006-02-17 14:04 ` [linux-lvm] Booting into LVM Roger Lucas
@ 2006-02-17 14:11 ` Graham Wood
2006-02-17 14:50 ` Roger Lucas
0 siblings, 1 reply; 5+ messages in thread
From: Graham Wood @ 2006-02-17 14:11 UTC (permalink / raw)
To: LVM general discussion and development
Roger Lucas wrote:
> My guess is that LVM isn't being loaded/started/configured correctly at boot
> time or that there is some problem with "/dev"...
>
> Can anyone shed any light on this?
>
I believe that 2.6.14 is after devfs stopped being supported, so you're
going to have to go with udev instead - which also means that mkinitrd
isn't going to work either. (I think there's lvm2 compatability issues
as well, but I just went for Sid instead of trying to get sarge working
with a new kernel)
If you google for 'debian sarge udev' there are quite a few pages that
give details about what needs to be done - although they may not be
exactly what you're after...
If that isn't the answer then I'm sure we can help you work through it :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [linux-lvm] Booting into LVM
2006-02-17 14:11 ` Graham Wood
@ 2006-02-17 14:50 ` Roger Lucas
0 siblings, 0 replies; 5+ messages in thread
From: Roger Lucas @ 2006-02-17 14:50 UTC (permalink / raw)
To: 'LVM general discussion and development'
Hi Graham,
Thanks for the quick reply. I had missed the whole "no devfs if >= 2.6.14"
problem, although significant Google-ing had already been done :-)
I'm following through everything now.
Thanks again,
Roger
> -----Original Message-----
> From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com]
> On Behalf Of Graham Wood
> Sent: 17 February 2006 14:12
> To: LVM general discussion and development
> Subject: Re: [linux-lvm] Booting into LVM
>
> Roger Lucas wrote:
> > My guess is that LVM isn't being loaded/started/configured correctly at
> boot
> > time or that there is some problem with "/dev"...
> >
> > Can anyone shed any light on this?
> >
> I believe that 2.6.14 is after devfs stopped being supported, so you're
> going to have to go with udev instead - which also means that mkinitrd
> isn't going to work either. (I think there's lvm2 compatability issues
> as well, but I just went for Sid instead of trying to get sarge working
> with a new kernel)
>
> If you google for 'debian sarge udev' there are quite a few pages that
> give details about what needs to be done - although they may not be
> exactly what you're after...
>
> If that isn't the answer then I'm sure we can help you work through it :)
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-02-17 14:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14 0:40 [linux-lvm] Recognizing VG in another machine Garcia JR
2006-02-16 12:32 ` Heinz Mauelshagen
2006-02-17 14:04 ` [linux-lvm] Booting into LVM Roger Lucas
2006-02-17 14:11 ` Graham Wood
2006-02-17 14:50 ` Roger Lucas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).