<?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: Linux Boot Options. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263216#M52733</link>
    <description>I still suggest you fix your boot dragginess issue with SAN LUNs enabled. I am seeing this issue in about 9 of 10 Colleaugues out there.&lt;BR /&gt;&lt;BR /&gt;Symptoms of a misconfigured LVM.CONF that drags down boot up times of SAN connected systems are those "Duplicate PVs" detected on boot up or doing LVM gyrations.&lt;BR /&gt;&lt;BR /&gt;Work also with your DBA to get your /etc/sysconfig/oracleasm config file to have ASMlib scan only what it should scan as well as "disk sting" within the Oracle ASM Instance.&lt;BR /&gt;&lt;BR /&gt;I forgot to add, sometimes the issue would be with "Ghost LUNS" being seen by the Linux scsi stack. We've bee bitten by this on XP Arrays... There is a setting in the hostgroup definition to do away with Ghost or zero sized LUNs being presented,&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Nov 2010 17:01:13 GMT</pubDate>
    <dc:creator>Zinky</dc:creator>
    <dc:date>2010-11-22T17:01:13Z</dc:date>
    <item>
      <title>Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263205#M52722</link>
      <description>Is there an option in RHEL5 to skip the SAN disks to speed up the boot so that it would scan only the internal disks? SAN is attached but we are not using them now.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Mike.</description>
      <pubDate>Wed, 17 Nov 2010 21:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263205#M52722</guid>
      <dc:creator>MSwift</dc:creator>
      <dc:date>2010-11-17T21:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263206#M52723</link>
      <description>if your talking about fsck running after "x" amount of boots, change the options in /etc/fstab</description>
      <pubDate>Thu, 18 Nov 2010 01:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263206#M52723</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2010-11-18T01:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263207#M52724</link>
      <description>also not sure of which stage in the boot process you're talking about. but you could for example build an initrd without fibre card modules.</description>
      <pubDate>Thu, 18 Nov 2010 09:00:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263207#M52724</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2010-11-18T09:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263208#M52725</link>
      <description>Here is our problem. We currently have SAN attached (for oracle pupose) but they are not used at the moment, they are just attached. Since RHEL 5 sees them it is scanning all the disks during the boot and this takes time. we just want to make sure the system boots fast. So, is there an option in the startup scripts or any other place to disable all the SAN so that the server could boot up fast!&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Thu, 18 Nov 2010 14:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263208#M52725</guid>
      <dc:creator>MSwift</dc:creator>
      <dc:date>2010-11-18T14:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263209#M52726</link>
      <description>If you don't like any of the suggestions so far, another option is to unplug the fibre cables.&lt;BR /&gt;&lt;BR /&gt;What does it matter how long it takes to boot? Once a server is up, the norm is not to reboot it often.</description>
      <pubDate>Thu, 18 Nov 2010 14:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263209#M52726</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2010-11-18T14:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263210#M52727</link>
      <description>I guess the "scan" you mention is the HBA detecting the LUNs available on the SAN, since if the disks are not used, there should be no mention of them in /etc/fstab and therefore the system should not be attempting to run a filesystem check.&lt;BR /&gt;&lt;BR /&gt;Things you might want to do:&lt;BR /&gt;&lt;BR /&gt;- If you have SAN switches, do you have zoning configured? If you haven't, each host might attempt to probe all the LUNs in the entire SAN... no wonder your boot is slow in that case!&lt;BR /&gt;&lt;BR /&gt;- If you want to completely disable the SAN functionality, the easiest way would be to disable the HBA driver modules. Edit /etc/modprobe.conf: comment out the "alias scsi_hostadapter* &lt;YOUR hba="" driver=""&gt;" lines, and add a line like "blacklist &lt;YOUR hba="" driver=""&gt;". Then run "depmod -a" and re-create your initrd (see "man mkinitrd" for examples).&lt;BR /&gt;&lt;BR /&gt;MK&lt;/YOUR&gt;&lt;/YOUR&gt;</description>
      <pubDate>Fri, 19 Nov 2010 07:38:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263210#M52727</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-19T07:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263211#M52728</link>
      <description>Hi  MS&lt;BR /&gt;&lt;BR /&gt;  I have used another way to tackle similar situation by disabling the fc device in bios.&lt;BR /&gt;This can be done only if the lun are just raw, and if any volume manager uses it/filesystem exists, the OS will throw error. &lt;BR /&gt;&lt;BR /&gt;I faced similar issue when I perform automated unattended OS "re-installation" of linux when disks and luns co-exist, the automated installation given me problems when it was not able to identify which device to use (disk or lun). I disabled the PCI device in bios and gone ahead with the installation and after the installation I enabled the PCI device to make use of the luns.&lt;BR /&gt;&lt;BR /&gt;Mine was an HP BL 460 G6 server with qlogic card where it can be disabled in bios.&lt;BR /&gt;Try if it is applicable for you too.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Jayakrishnan G Naik</description>
      <pubDate>Fri, 19 Nov 2010 08:03:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263211#M52728</guid>
      <dc:creator>Jayakrishnan G Naik</dc:creator>
      <dc:date>2010-11-19T08:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263212#M52729</link>
      <description>Thanks MK!&lt;BR /&gt;&lt;BR /&gt;The modified modprobe.conf, will it look like this?&lt;BR /&gt;alias eth0 bnx2&lt;BR /&gt;alias eth1 bnx2&lt;BR /&gt;alias eth2 e1000e&lt;BR /&gt;alias eth3 e1000e&lt;BR /&gt;alias scsi_hostadapter megaraid_sas&lt;BR /&gt;alias scsi_hostadapter1 ata_piix&lt;BR /&gt;#alias scsi_hostadapter2 qla2xxx&lt;BR /&gt;blacklist qla2xxx&lt;BR /&gt;alias scsi_hostadapter3 usb-storage&lt;BR /&gt;alias net-pf-10 off&lt;BR /&gt;alias ipv6 off&lt;BR /&gt;###BEGINPP&lt;BR /&gt;include /etc/modprobe.conf.pp&lt;BR /&gt;###ENDPP&lt;BR /&gt;&lt;BR /&gt;Also after running depmod -a, what would be the exact mkinitrd command to load the new module with the edited modprobe.conf file? This would really help..&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Mike.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Nov 2010 14:27:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263212#M52729</guid>
      <dc:creator>MSwift</dc:creator>
      <dc:date>2010-11-19T14:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263213#M52730</link>
      <description>Why don't you try to "fix" the issue with your SAN LUNs dragging your OS startup instead of completely masking them out?&lt;BR /&gt;&lt;BR /&gt;My systems have over 1000 HP StorageWorks LUNs (yes EVA/XPs), ASMLib used by Oracle and they still boot in under 15 minutes.&lt;BR /&gt;&lt;BR /&gt;We used to have the same issues as you likely are encountering and it was a wild journey for us finally fixing the issue. It used to take over an hour to never for our mega-SAN environments to boot.&lt;BR /&gt;&lt;BR /&gt;The fixes we've employed are as follows -- (Matti I think we should have a Linux Mega-SAN HOWTO and Fixes in the Linux threads to HELP out others):&lt;BR /&gt;&lt;BR /&gt;1.) LVM SCAN Filter needs to be fixed (modify your /etc/lvm/lvm.conf's filter line so LVM only scans the disks that it should scan)&lt;BR /&gt;&lt;BR /&gt;2.) ASM or ASMLib disktring or scan directives. Work with your DBA and come up with standards how Oracle should use your SAN LUNs -- use friendly multipath names to make it easy for ASM/ASMLib/Oracle to have a distinct disk string. ALso decide if you would want to partition your LUNs or use them whole...&lt;BR /&gt;&lt;BR /&gt;Fix the above 2 and your boot times will be acceptably "acceptable"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Nov 2010 15:15:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263213#M52730</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2010-11-22T15:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263214#M52731</link>
      <description>Good suggestion Alzhy! Still needed the exact mkinitrd command that Matti recommended.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Mon, 22 Nov 2010 16:15:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263214#M52731</guid>
      <dc:creator>MSwift</dc:creator>
      <dc:date>2010-11-22T16:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263215#M52732</link>
      <description>cd /boot&lt;BR /&gt;cp -p initrd-&lt;KERNEL&gt; initrd-&lt;KERNEL&gt;/BAK&lt;BR /&gt;mkinitrd -f -v initrd-&lt;KERNEL&gt; &lt;KERNEL&gt;&lt;BR /&gt;&lt;BR /&gt;where kernel is :  uname -r&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;/KERNEL&gt;&lt;/KERNEL&gt;&lt;/KERNEL&gt;&lt;/KERNEL&gt;</description>
      <pubDate>Mon, 22 Nov 2010 16:57:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263215#M52732</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2010-11-22T16:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263216#M52733</link>
      <description>I still suggest you fix your boot dragginess issue with SAN LUNs enabled. I am seeing this issue in about 9 of 10 Colleaugues out there.&lt;BR /&gt;&lt;BR /&gt;Symptoms of a misconfigured LVM.CONF that drags down boot up times of SAN connected systems are those "Duplicate PVs" detected on boot up or doing LVM gyrations.&lt;BR /&gt;&lt;BR /&gt;Work also with your DBA to get your /etc/sysconfig/oracleasm config file to have ASMlib scan only what it should scan as well as "disk sting" within the Oracle ASM Instance.&lt;BR /&gt;&lt;BR /&gt;I forgot to add, sometimes the issue would be with "Ghost LUNS" being seen by the Linux scsi stack. We've bee bitten by this on XP Arrays... There is a setting in the hostgroup definition to do away with Ghost or zero sized LUNs being presented,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Nov 2010 17:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263216#M52733</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2010-11-22T17:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263217#M52734</link>
      <description>Alzhy&lt;BR /&gt;&lt;BR /&gt;What is that setting?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian.</description>
      <pubDate>Wed, 08 Dec 2010 13:41:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263217#M52734</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2010-12-08T13:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263218#M52735</link>
      <description>That setting "varies" from SAN Array to another. On the HP Storageworks XP line - it is a HostGroup property -- ask your SAN admin if your array has that peculiarity.</description>
      <pubDate>Wed, 08 Dec 2010 17:17:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263218#M52735</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2010-12-08T17:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Boot Options.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263219#M52736</link>
      <description>closing now..Thanks all&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Wed, 08 Dec 2010 22:29:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-boot-options/m-p/5263219#M52736</guid>
      <dc:creator>MSwift</dc:creator>
      <dc:date>2010-12-08T22:29:12Z</dc:date>
    </item>
  </channel>
</rss>

