<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LVM  Problem vg01 will not auto activate in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053540#M29671</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;As I'm 6,000 miles from the systems in question the emergency mode boot will need to take some time.&lt;BR /&gt;&lt;BR /&gt;I have a network console hung off the system but I have to go through a lengthy configuration process before I can do this work remotely.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 13 Aug 2007 06:12:54 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-08-13T06:12:54Z</dc:date>
    <item>
      <title>LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053533#M29664</link>
      <description>I added a SATA disk to two systems in a cluster.&lt;BR /&gt;&lt;BR /&gt;I used the same methodology on both.&lt;BR /&gt;&lt;BR /&gt;fdsik&lt;BR /&gt;partprobe&lt;BR /&gt;vgcreate&lt;BR /&gt;lvcreate&lt;BR /&gt;mkfs.ext3&lt;BR /&gt;&lt;BR /&gt;As a matter of fact I cut and pasted the code from one system to the other.&lt;BR /&gt;&lt;BR /&gt;The second system refuses to activate vg01 at start.&lt;BR /&gt;&lt;BR /&gt;I see nothing in dmesg and even tried using the lvm.conf file from the good system on the bad.&lt;BR /&gt;&lt;BR /&gt;All I have to do is run:&lt;BR /&gt;vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;and all is good on the second system.&lt;BR /&gt;&lt;BR /&gt;I know I can kludge this with a script and run the vgchange and mount commands and the system will function normally.&lt;BR /&gt;&lt;BR /&gt;I'm wondering however if I can make changes to the lvm configuration to make this happen.&lt;BR /&gt;&lt;BR /&gt;I've done the production process on the troublesome server twice, beginning to end, including fdisk.&lt;BR /&gt;&lt;BR /&gt;I'm looking for suggestions.&lt;BR /&gt;&lt;BR /&gt;Good after activate:&lt;BR /&gt;[root@rosh var]# vgdisplay -v vg01&lt;BR /&gt;    Using volume group(s) on command line&lt;BR /&gt;    Finding volume group "vg01"&lt;BR /&gt;  --- Volume group ---&lt;BR /&gt;  VG Name               vg01&lt;BR /&gt;  System ID&lt;BR /&gt;  Format                lvm2&lt;BR /&gt;  Metadata Areas        1&lt;BR /&gt;  Metadata Sequence No  2&lt;BR /&gt;  VG Access             read/write&lt;BR /&gt;  VG Status             resizable&lt;BR /&gt;  MAX LV                0&lt;BR /&gt;  Cur LV                1&lt;BR /&gt;  Open LV               0&lt;BR /&gt;  Max PV                0&lt;BR /&gt;  Cur PV                1&lt;BR /&gt;  Act PV                1&lt;BR /&gt;  VG Size               465.76 GB&lt;BR /&gt;  PE Size               4.00 KB&lt;BR /&gt;  Total PE              122095952&lt;BR /&gt;  Alloc PE / Size       122095952 / 465.76 GB&lt;BR /&gt;  Free  PE / Size       0 / 0&lt;BR /&gt;  VG UUID               Astawq-3RcG-9sHy-BNQY-45t8-zVi6-LlIB8N&lt;BR /&gt;&lt;BR /&gt;  --- Logical volume ---&lt;BR /&gt;  LV Name                /dev/vg01/share2&lt;BR /&gt;  VG Name                vg01&lt;BR /&gt;  LV UUID                Ltr2cw-msmr-QFz8-JbfY-Xiht-s4yJ-sBTy4n&lt;BR /&gt;  LV Write Access        read/write&lt;BR /&gt;  LV Status              available&lt;BR /&gt;  # open                 0&lt;BR /&gt;  LV Size                465.76 GB&lt;BR /&gt;  Current LE             122095952&lt;BR /&gt;  Segments               1&lt;BR /&gt;  Allocation             inherit&lt;BR /&gt;  Read ahead sectors     0&lt;BR /&gt;  Block device           253:5&lt;BR /&gt;&lt;BR /&gt;  --- Physical volumes ---&lt;BR /&gt;  PV Name               /dev/sda1&lt;BR /&gt;  PV UUID               2N4UGV-2Oql-a531-3WII-kkpj-r1yQ-hh3TGx&lt;BR /&gt;  PV Status             allocatable&lt;BR /&gt;  Total PE / Free PE    122095952 / 0&lt;BR /&gt;&lt;BR /&gt;After boot&lt;BR /&gt;  LV Status              NOT available&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vg01 fixes it.&lt;BR /&gt;&lt;BR /&gt;Let me know what you think.&lt;BR /&gt;&lt;BR /&gt;RH4 update 5 Centos, fully up to date, though I'm going to yum the system again.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 11 Aug 2007 15:22:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053533#M29664</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-11T15:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053534#M29665</link>
      <description>Does using the static vgscan do the same?&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;/sbin/lvm.static vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;There shouldn't be any reason for it not to, but this is what's used in the boot-up sequence, so it's worth the check.&lt;BR /&gt;&lt;BR /&gt;The other quick thought off the top of my head is that it somehow became exported.  An 'lvscan' will show this.  That being said, I wouldn't think you could 'vgchange' it at all if it was inactive, so that's probably not it (although it might be worth vgexporting it and vgimporting it again just to poke all the configs).&lt;BR /&gt;&lt;BR /&gt;You could try doing a regeration of the LVM config using 'vgscan -v'.  It should re-write the lvmtab and conf stuff.&lt;BR /&gt;&lt;BR /&gt;You say it's a SATA disk.  It looks as if 'sda1' is the LVM partition.  Are there other partitions on the disk that are being used for other purposes?  Is it possible the driver for the SATA controller hasn't loaded for some reason prior to one of the automated vgchange's? (i.e. not in the initrd/modprobe.conf).&lt;BR /&gt;&lt;BR /&gt;.. Well, I'm pretty much rambling now .. ;)  Hopefully one of these ideas will give it a kick-in-the-pants.. ;)</description>
      <pubDate>Sat, 11 Aug 2007 19:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053534#M29665</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-08-11T19:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053535#M29666</link>
      <description>I'll give it a try today.&lt;BR /&gt;&lt;BR /&gt;Fortuneately its not production yet and can be rebooted easily.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 12 Aug 2007 02:50:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053535#M29666</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-12T02:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053536#M29667</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;More full data.&lt;BR /&gt;&lt;BR /&gt;/sbin/lvm.static vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;works. Apparently this command is not being executed at startup.&lt;BR /&gt;&lt;BR /&gt;Must be some way to force it.&lt;BR /&gt;&lt;BR /&gt;vgscan -v &lt;BR /&gt;first run:&lt;BR /&gt;[root@rosh ~]# vgscan -v&lt;BR /&gt;    Wiping cache of LVM-capable devices&lt;BR /&gt;    Wiping internal VG cache&lt;BR /&gt;  Reading all physical volumes.  This may take a while...&lt;BR /&gt;    Finding all volume groups&lt;BR /&gt;    Finding volume group "vg00"&lt;BR /&gt;    Fixing up missing format1 size (111.59 GB) for PV /dev/md1&lt;BR /&gt;  Found volume group "vg00" using metadata type lvm2&lt;BR /&gt;    Finding volume group "vg01"&lt;BR /&gt;  Found volume group "vg01" using metadata type lvm2&lt;BR /&gt;&lt;BR /&gt;second run:&lt;BR /&gt;[root@rosh ~]# vgscan -v&lt;BR /&gt;    Wiping cache of LVM-capable devices&lt;BR /&gt;    Wiping internal VG cache&lt;BR /&gt;  Reading all physical volumes.  This may take a while...&lt;BR /&gt;    Finding all volume groups&lt;BR /&gt;    Finding volume group "vg00"&lt;BR /&gt;    Fixing up missing format1 size (111.59 GB) for PV /dev/md1&lt;BR /&gt;  Found volume group "vg00" using metadata type lvm2&lt;BR /&gt;    Finding volume group "vg01"&lt;BR /&gt;  Found volume group "vg01" using metadata type lvm2&lt;BR /&gt;&lt;BR /&gt;Something is getting fixed but the fix is not being saved.&lt;BR /&gt;&lt;BR /&gt;After restart vg01 is not activated.&lt;BR /&gt;&lt;BR /&gt;The disk has no other partitions on it.&lt;BR /&gt;&lt;BR /&gt;fdisk -l is a little squirrely on both systems:&lt;BR /&gt;&lt;BR /&gt;[root@rosh ~]# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/hda: 120.0 GB, 120034123776 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 14593 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/hda1   *           1          26      208813+  fd  Linux raid autodetect&lt;BR /&gt;/dev/hda2              27       14593   117009427+  fd  Linux raid autodetect&lt;BR /&gt;&lt;BR /&gt;Disk /dev/hdb: 120.0 GB, 120034123776 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 14593 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/hdb1   *           1          26      208813+  fd  Linux raid autodetect&lt;BR /&gt;/dev/hdb2              27       14593   117009427+  fd  Linux raid autodetect&lt;BR /&gt;&lt;BR /&gt;Disk /dev/md0: 213 MB, 213712896 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 52176 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;    Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;&lt;BR /&gt;Disk /dev/md1: 119.8 GB, 119817568256 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 29252336 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/md1 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0: 536 MB, 536870912 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 131072 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-1: 114.0 GB, 114030542848 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 27839488 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-1 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-2: 3145 MB, 3145728000 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 768000 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-2 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-3: 1048 MB, 1048576000 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 256000 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-3 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-4: 1048 MB, 1048576000 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 256000 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-4 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 500.1 GB, 500107862016 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 60801 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/sda1               1       60801   488384001   8e  Linux LVM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Stuart is correct, the disk is /dev/sda1&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 12 Aug 2007 09:48:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053536#M29667</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-12T09:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053537#M29668</link>
      <description>Contents of '/etc/modprobe.conf', and are the SATA controller/lvm modules in the initrd for your kernel?</description>
      <pubDate>Sun, 12 Aug 2007 15:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053537#M29668</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-08-12T15:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053538#M29669</link>
      <description>modprobe.conf&lt;BR /&gt;# Same as working system in cluster&lt;BR /&gt;alias bond0 bonding&lt;BR /&gt;# options bond0 miimon=200 mode=active-active&lt;BR /&gt;options bond0 miimon=200 mode=0&lt;BR /&gt;alias eth0 e1000&lt;BR /&gt;alias eth1 e1000&lt;BR /&gt;alias eth2 tg3&lt;BR /&gt;alias scsi_hostadapter ata_piix&lt;BR /&gt;alias usb-controller ehci-hcd&lt;BR /&gt;alias usb-controller1 uhci-hcd&lt;BR /&gt;&lt;BR /&gt;from the initrd config file.&lt;BR /&gt;&lt;BR /&gt;# CONFIG_BLK_DEV_IDE_SATA is not set&lt;BR /&gt;#&lt;BR /&gt;CONFIG_ATA=m&lt;BR /&gt;CONFIG_SATA_AHCI=m&lt;BR /&gt;CONFIG_SATA_SVW=m&lt;BR /&gt;CONFIG_ATA_PIIX=m&lt;BR /&gt;CONFIG_SATA_MV=m&lt;BR /&gt;CONFIG_SATA_NV=m&lt;BR /&gt;CONFIG_PDC_ADMA=m&lt;BR /&gt;CONFIG_SATA_QSTOR=m&lt;BR /&gt;CONFIG_SATA_PROMISE=m&lt;BR /&gt;CONFIG_SATA_SX4=m&lt;BR /&gt;CONFIG_SATA_SIL=m&lt;BR /&gt;CONFIG_SATA_SIL24=m&lt;BR /&gt;CONFIG_SATA_SIS=m&lt;BR /&gt;CONFIG_SATA_ULI=m&lt;BR /&gt;CONFIG_SATA_VIA=m&lt;BR /&gt;CONFIG_SATA_VITESSE=m&lt;BR /&gt;CONFIG_SATA_INTEL_COMBINED=y&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Aug 2007 02:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053538#M29669</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-13T02:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053539#M29670</link>
      <description>Well, things aren't making sense now.&lt;BR /&gt;&lt;BR /&gt;The presence of the ata_piix listed in the modprobe.conf should mean that the driver is present, if not at the initial phase, and the second run of vgscanning.&lt;BR /&gt;&lt;BR /&gt;If we look at the order of things in 'rc.sysinit', we first loop through the modules.conf at line 179.  The first vgchange is at line 511.&lt;BR /&gt;&lt;BR /&gt;So either the driver isn't getting loaded at this stage (unlikely, but easy to check), or the '/dev' isn't being populated correctly:&lt;BR /&gt;&lt;BR /&gt;Line 496 : if [ -c /dev/mapper/control ]&lt;BR /&gt;&lt;BR /&gt;It should be there at this point, but it might not be in the static 'dev' structure.&lt;BR /&gt;&lt;BR /&gt;Line 534 : [ -e /dev/.devfsd ] &amp;amp;&amp;amp; mount -f -t devfs devfs /dev&lt;BR /&gt;&lt;BR /&gt;Remount with devfs if it's configured to do so.  This should do the dynamic mapper stuff so it should exist later.. maybe..&lt;BR /&gt;&lt;BR /&gt;The later attempt to vgchange is at line 570, surrounded by:&lt;BR /&gt;&lt;BR /&gt;Line 552 : if [ -f /etc/mdadm.conf ]&lt;BR /&gt;&lt;BR /&gt;and another mapper check at line 555.&lt;BR /&gt;&lt;BR /&gt;I guess one way to see what's occuring is to throw a '-x' at the top of rc.sysinit, but it'll get really messy.&lt;BR /&gt;&lt;BR /&gt;Try booting into 'emergency' (not single) and manually walking the following steps:&lt;BR /&gt;&lt;BR /&gt;ls -ld /dev/mapper/control&lt;BR /&gt;/sbin/modprobe ata_piix&lt;BR /&gt;/sbin/lvm.static vgchange -a y&lt;BR /&gt;&lt;BR /&gt;See what errors these steps throw.</description>
      <pubDate>Mon, 13 Aug 2007 05:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053539#M29670</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-08-13T05:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053540#M29671</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;As I'm 6,000 miles from the systems in question the emergency mode boot will need to take some time.&lt;BR /&gt;&lt;BR /&gt;I have a network console hung off the system but I have to go through a lengthy configuration process before I can do this work remotely.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Aug 2007 06:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053540#M29671</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-13T06:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053541#M29672</link>
      <description>[root@rosh ~]# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/hda: 120.0 GB, 120034123776 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 14593 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/hda1   *           1          26      208813+  fd  Linux raid autodetect&lt;BR /&gt;/dev/hda2              27       14593   117009427+  fd  Linux raid autodetect&lt;BR /&gt;&lt;BR /&gt;Disk /dev/hdb: 120.0 GB, 120034123776 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 14593 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/hdb1   *           1          26      208813+  fd  Linux raid autodetect&lt;BR /&gt;/dev/hdb2              27       14593   117009427+  fd  Linux raid autodetect&lt;BR /&gt;&lt;BR /&gt;Disk /dev/md0: 213 MB, 213712896 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 52176 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;    Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;&lt;BR /&gt;Disk /dev/md1: 119.8 GB, 119817568256 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 29252336 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/md1 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0: 536 MB, 536870912 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 131072 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-1: 114.0 GB, 114030542848 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 27839488 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-1 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-2: 3145 MB, 3145728000 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 768000 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-2 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-3: 1048 MB, 1048576000 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 256000 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-3 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-4: 1048 MB, 1048576000 bytes&lt;BR /&gt;2 heads, 4 sectors/track, 256000 cylinders&lt;BR /&gt;Units = cylinders of 8 * 512 = 4096 bytes&lt;BR /&gt;&lt;BR /&gt;     Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 500.1 GB, 500107862016 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 60801 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The /dev/dm-4 stuff is happening on both servers and is probably coming from the adapter card.&lt;BR /&gt;&lt;BR /&gt;Just thought it might be helpful.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Aug 2007 07:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053541#M29672</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-13T07:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053542#M29673</link>
      <description>Sorry, thought it was local to you.&lt;BR /&gt;&lt;BR /&gt;Quick tests to do in the mean time.&lt;BR /&gt;&lt;BR /&gt;Throw markers into rc.sysinit around the vgchange lines to make sure it's actually getting executed, and do the 'ls -ld' there too.  See what's there.  Also verify that the 'ata_piix' is loaded with 'lsmod' at this point.  It should be from all that's been shown.&lt;BR /&gt;&lt;BR /&gt;See if you can trap any errors from the vgchange (&amp;gt; and 2&amp;gt;, with an 'echo $?' for good measure).  Throw a '-v' (verbose) on it too.  Maybe it is throwing an error, we're just not seeing it (pretty much none of the rc.sysinit output is captured).&lt;BR /&gt;&lt;BR /&gt;As it's using devfs, it's sorta hard to check the contents of '/dev/' without doing funny buggers, but at the moment, it's pointing towards being that.&lt;BR /&gt;&lt;BR /&gt;That being said, the second pass (which looks for the mdadm.conf) should have caught it.&lt;BR /&gt;&lt;BR /&gt;Once the system boots, the vgchange works without issue, which points towards the driver being correctly loaded as well, and as far as I'm aware, there isn't a 2nd pass to load SCSI drivers later on in the boot process.&lt;BR /&gt;&lt;BR /&gt;Rambling musing again..  Gotta stop that ;)</description>
      <pubDate>Mon, 13 Aug 2007 07:45:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053542#M29673</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-08-13T07:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053543#M29674</link>
      <description>There are some things that are not pretty whell documented.&lt;BR /&gt;&lt;BR /&gt;Fist, ensure that you used lvmconf to enable cluster locking.&lt;BR /&gt;&lt;BR /&gt;lvmconf --enable-cluster&lt;BR /&gt;&lt;BR /&gt;Then, ensure that the volume group has the "clusted" attribute:&lt;BR /&gt;&lt;BR /&gt;vgchange -cy &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if it helps.&lt;/VGNAME&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:33:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053543#M29674</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-08-13T08:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053544#M29675</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Thank's Ivan.&lt;BR /&gt;&lt;BR /&gt;There is disk on both servers but none of the storage is actually shared. We use rsync to keep the two nodes up to date.&lt;BR /&gt;&lt;BR /&gt;I'm going to try to debug the startup.&lt;BR /&gt;&lt;BR /&gt;If I find nothing, I'm looking for ideas on where the best place to put the kludge is.&lt;BR /&gt;&lt;BR /&gt;Yes, a shell script, activated at startup that does one little thing:&lt;BR /&gt;vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Aug 2007 10:08:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053544#M29675</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-13T10:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053545#M29676</link>
      <description>&lt;!--!*#--&gt;If you haven't compiled a custom kernel whith built-in support for LVM and MD meta devices&lt;BR /&gt;then most likely the driver is loaded as a module and VGs get activated early at system boot from within your initial RAM disk.&lt;BR /&gt;You can easily check by inspecting the init script of your initrd.&lt;BR /&gt;&lt;BR /&gt;# zcat /boot/initrd-$(uname -r).img|cpio -ivt init&lt;BR /&gt;-rwxr-xr-x   1 root     root         1369 Jan 18  2007 init&lt;BR /&gt;4544 blocks&lt;BR /&gt;&lt;BR /&gt;Copy this file in somewhere and open it in a pager or editor.&lt;BR /&gt;But usually it contains an activation of all VGs.&lt;BR /&gt;&lt;BR /&gt;# grep insmod init&lt;BR /&gt;insmod /lib/scsi_mod.ko &lt;BR /&gt;insmod /lib/sd_mod.ko &lt;BR /&gt;insmod /lib/mptbase.ko &lt;BR /&gt;insmod /lib/mptscsih.ko &lt;BR /&gt;insmod /lib/dm-mod.ko &lt;BR /&gt;insmod /lib/jbd.ko &lt;BR /&gt;insmod /lib/ext3.ko &lt;BR /&gt;insmod /lib/dm-mirror.ko &lt;BR /&gt;insmod /lib/dm-zero.ko &lt;BR /&gt;insmod /lib/dm-snapshot.ko &lt;BR /&gt;&lt;BR /&gt;# grep lvm init&lt;BR /&gt;lvm vgscan&lt;BR /&gt;lvm vgchange -ay&lt;BR /&gt;lvm vgmknodes&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 03:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053545#M29676</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-08-16T03:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053546#M29677</link>
      <description>Thanks Ralph,&lt;BR /&gt;&lt;BR /&gt;I've been backed up with functionity issues the past few days.&lt;BR /&gt;&lt;BR /&gt;I will get back to this and assign points.&lt;BR /&gt;&lt;BR /&gt;I'm guessing we'll find that the initrd is fine, but maybe not. I know how to create a new one if necessary.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 16 Aug 2007 07:50:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053546#M29677</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-16T07:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053547#M29678</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Performed &lt;BR /&gt;&lt;BR /&gt;zcat /boot/initrd-2.6.9-55.EL.img | cpio -ivt &amp;gt; init &lt;BR /&gt;&lt;BR /&gt;[root@rosh ~]#  grep insmod init&lt;BR /&gt;-rwxr-xr-x   1 root     root       388320 Aug  6 08:46 bin/insmod&lt;BR /&gt;[root@rosh ~]#  grep lvm init&lt;BR /&gt;-r-xr-xr-x   1 root     root      1261836 Aug  6 08:46 bin/lvm&lt;BR /&gt;drwxr-xr-x   2 root     root            0 Aug  6 08:46 etc/lvm&lt;BR /&gt;-rw-r--r--   1 root     root        14654 Aug  6 08:46 etc/lvm/lvm.conf&lt;BR /&gt;&lt;BR /&gt;The results are the same on both system.&lt;BR /&gt;&lt;BR /&gt;Nothing in the boot.log&lt;BR /&gt;&lt;BR /&gt;Performing a boot with a couple of set -x/set +x bracked around cricial lvm code.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Aug 2007 07:56:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053547#M29678</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-22T07:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053548#M29679</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I hacked it.&lt;BR /&gt;&lt;BR /&gt;/etc/rc.sysinit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;at the bottom.&lt;BR /&gt;&lt;BR /&gt;/sbin/vgchange -a y vg01&lt;BR /&gt;/bin/mount /dev/vg01/share2 /storage&lt;BR /&gt;&lt;BR /&gt;I wonder if there is not a better way or place to do this.&lt;BR /&gt;&lt;BR /&gt;If I set up an NFS share on /storage, I'm wondering if it will work. My assumption based on the RHCE and such is that sysinit runs runs before the nfs service so my hack is reasonable.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 27 Aug 2007 03:53:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053548#M29679</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-27T03:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053549#M29680</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;When this happened on a private system, being ethical, I never considered checking with Red Hat Support via the service agreements with our office. That would be unethical.&lt;BR /&gt;&lt;BR /&gt;However a week ago, we had the exact same problem at work. I have filed a case with Red Hat and they believe the problem is a bug. The work systems were pure RH, not CentOS, but a RH bug is a CentOS bug and vice versa.&lt;BR /&gt;&lt;BR /&gt;I shall report further results and any fixes they provide when it happens.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 03 Oct 2007 03:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053549#M29680</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-10-03T03:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: LVM  Problem vg01 will not auto activate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053550#M29681</link>
      <description>Solution on a SAN environment at work.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in /etc/modprobe.conf&lt;BR /&gt;Change:&lt;BR /&gt;alias scsi_hostadapter2 qla2322&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;alias scsi_hostadapter2 qla2400&lt;BR /&gt;&lt;BR /&gt; mkinitrd -f initrd-$(uname -r).img $(uname -r)&lt;BR /&gt;&lt;BR /&gt;reboot&lt;BR /&gt;&lt;BR /&gt;I need to configure remote serial console on the system before I even think about trying this on the two Centos systems that inspired this thread.&lt;BR /&gt;&lt;BR /&gt;Wondering If I'd change modprobe.conf or merely mkinitrd and see what happens.&lt;BR /&gt;&lt;BR /&gt;Shmuel</description>
      <pubDate>Mon, 15 Oct 2007 10:17:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-problem-vg01-will-not-auto-activate/m-p/4053550#M29681</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-10-15T10:17:47Z</dc:date>
    </item>
  </channel>
</rss>

