All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: RE: [linux-lvm] vg availability during boot
@ 2009-09-15 17:35 Till Wimmer
  2009-09-15 21:40 ` Ray Morris
  2009-09-15 22:03 ` Larsen, Peter
  0 siblings, 2 replies; 3+ messages in thread
From: Till Wimmer @ 2009-09-15 17:35 UTC (permalink / raw)
  To: LVM general discussion and development

> Did you rebuild initrd? During boot, initrd uses staticly linked modules to load what otherwise would be kernel modules. It does, if LVM is enabled, do a vgchange -y a as part of that process. Since LVM is part of the default initrd, it may be the drivers for your SAN that you need to get in place - remember to include the high-end Ethernet drivers too that your NAS (I presume?) uses. 
>
Hi,

i have a quite similar problem with my server. But in my case, it occurs from time to time only.
Before i had another issue with mounting the root partition because of swapped SCSI IDs (sda becomes sdb, sdc, becomes sda, and so on). But i could solve this with ext2fs labels.

I'm using Debian Lenny.

Is the vgchange -ay in initrd executed for every volume group or is this hard coded by update-initrd?

Could the swapping of SCSI-IDs be the reason for this issue, too?


Thank you,
TW

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

* Re: RE: [linux-lvm] vg availability during boot
  2009-09-15 17:35 RE: [linux-lvm] vg availability during boot Till Wimmer
@ 2009-09-15 21:40 ` Ray Morris
  2009-09-15 22:03 ` Larsen, Peter
  1 sibling, 0 replies; 3+ messages in thread
From: Ray Morris @ 2009-09-15 21:40 UTC (permalink / raw)
  To: LVM general discussion and development

   I spent four days messing with this before I found 
this procedure for rebuilding initrd, which worked for me.
This howto talks specifically about switching to RAID, but
it also worked for me switching to LVM on RAID:
http://www.howtoforge.com/software-raid1-grub-boot-fedora-8
--
Ray Morris
support@bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php


On 09/15/2009 12:35:18 PM, Till Wimmer wrote:
> > Did you rebuild initrd? During boot, initrd uses staticly linked
> modules to load what otherwise would be kernel modules. It does, if
> LVM is enabled, do a vgchange -y a as part of that process. Since LVM
> is part of the default initrd, it may be the drivers for your SAN 
> that
> you need to get in place - remember to include the high-end Ethernet
> drivers too that your NAS (I presume?) uses. 
> >
> Hi,
> 
> i have a quite similar problem with my server. But in my case, it
> occurs from time to time only.
> Before i had another issue with mounting the root partition because 
> of
> swapped SCSI IDs (sda becomes sdb, sdc, becomes sda, and so on). But 
> i
> could solve this with ext2fs labels.
> 
> I'm using Debian Lenny.
> 
> Is the vgchange -ay in initrd executed for every volume group or is
> this hard coded by update-initrd?
> 
> Could the swapping of SCSI-IDs be the reason for this issue, too?
> 
> 
> Thank you,
> TW
> 
> 
> _______________________________________________
> 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] 3+ messages in thread

* RE: RE: [linux-lvm] vg availability during boot
  2009-09-15 17:35 RE: [linux-lvm] vg availability during boot Till Wimmer
  2009-09-15 21:40 ` Ray Morris
@ 2009-09-15 22:03 ` Larsen, Peter
  1 sibling, 0 replies; 3+ messages in thread
From: Larsen, Peter @ 2009-09-15 22:03 UTC (permalink / raw)
  To: LVM general discussion and development

That's another good reason to rely on UUID instead of the /dev device name. If you see how MD does things, and LVM internally, you'll find all device references are by UUID. Why not use that more foolproof method? As long as the device is online, it doesn't matter what bus id it gets. 

--  
   Peter H. Larsen

-----Original Message-----
From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Till Wimmer
Sent: Tuesday, September 15, 2009 1:35 PM
To: LVM general discussion and development
Subject: Re: RE: [linux-lvm] vg availability during boot

> Did you rebuild initrd? During boot, initrd uses staticly linked modules to load what otherwise would be kernel modules. It does, if LVM is enabled, do a vgchange -y a as part of that process. Since LVM is part of the default initrd, it may be the drivers for your SAN that you need to get in place - remember to include the high-end Ethernet drivers too that your NAS (I presume?) uses. 
>
Hi,

i have a quite similar problem with my server. But in my case, it occurs from time to time only.
Before i had another issue with mounting the root partition because of swapped SCSI IDs (sda becomes sdb, sdc, becomes sda, and so on). But i could solve this with ext2fs labels.

I'm using Debian Lenny.

Is the vgchange -ay in initrd executed for every volume group or is this hard coded by update-initrd?

Could the swapping of SCSI-IDs be the reason for this issue, too?


Thank you,
TW


_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2009-09-15 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 17:35 RE: [linux-lvm] vg availability during boot Till Wimmer
2009-09-15 21:40 ` Ray Morris
2009-09-15 22:03 ` Larsen, Peter

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.