<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I am having an issue with Megacli when adding or removing virtual
    disks.  I will post a link to fpaste that has the issue shown.   <br>
    <br>
    In brief whenever i add, or remove, a virtual disk via MegaCli the
    attempt succeeds and the adapter is configured but the OS remounts
    dm-0 in read only.  dm-0 is my root lv.  This issue does not happen
    if i boot into the default, non Xen, CentOS kernel.  On stock CentOS
    kernel i can add and remove VD's all day without any issue at all.
    ONLY happens while booted up with the Xen kernel.<br>
    <br>
    I have been racking my brain trying to figure this out.  Any help is
    appreciated. <br>
    <br>
    My system:<br>
    <br>
    Dell Poweredge 2950 II <br>
    PERC 5/i Controller<br>
    <br>
    CentOS 6.7 <br>
    Xen Version: 4.4.3-1.el6<br>
    <br>
    <br>
    <br>
    <b>Fpaste showing the console log messages during the event:</b><br>
    <br>
    <a class="moz-txt-link-freetext"
      href="http://www.fpaste.org/277855/14445392/">http://www.fpaste.org/277855/14445392/</a><br>
    <br>
    <b>Full XL dump below:</b><br>
    <br>
    xl info<br>
    host                   : cmhinfra1.*<br>
    release                : 3.18.17-13.el6.x86_64<br>
    version                : #1 SMP Tue Jul 21 17:17:17 UTC 2015<br>
    machine                : x86_64<br>
    nr_cpus                : 8<br>
    max_cpu_id             : 7<br>
    nr_nodes               : 1<br>
    cores_per_socket       : 4<br>
    threads_per_core       : 1<br>
    cpu_mhz                : 1995<br>
    hw_caps                :
    bfebfbff:20100800:00000000:00000900:0004e33d:00000000:00000001:00000000<br>
    virt_caps              : hvm<br>
    total_memory           : 32762<br>
    free_memory            : 29340<br>
    sharing_freed_memory   : 0<br>
    sharing_used_memory    : 0<br>
    outstanding_claims     : 0<br>
    free_cpus              : 0<br>
    xen_major              : 4<br>
    xen_minor              : 4<br>
    xen_extra              : .3-1.el6<br>
    xen_version            : 4.4.3-1.el6<br>
    xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
    hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 <br>
    xen_scheduler          : credit<br>
    xen_pagesize           : 4096<br>
    platform_params        : virt_start=0xffff800000000000<br>
    xen_changeset          : Thu Apr 23 15:06:13 2015 +0100
    git:c5ec076-dirty<br>
    xen_commandline        : dom0_mem=1024M,max:1024M  loglvl=all
    guest_loglvl=all console=tty0 console=com2 com2=57600<br>
    cc_compiler            : gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)<br>
    cc_compile_by          : mockbuild<br>
    cc_compile_domain      : centos.org<br>
    cc_compile_date        : Tue Sep  8 15:31:24 UTC 2015<br>
    xend_config_format     : 4<br>
    <br>
    <br>
    <b>grub.conf:</b><br>
    <br>
    jeremym]# cat
    /etc/grub.conf                                                                                                                                                                  


    <br>
    # grub.conf generated by
    anaconda                                                                                                                                                                             


    <br>
    #                                                                                                                                                                                                             


    <br>
    # Note that you do not have to rerun grub after making changes to
    this
    file                                                                                                                                   


    <br>
    # NOTICE:  You have a /boot partition.  This means
    that                                                                                                                                                       


    <br>
    #          all kernel and initrd paths are relative to /boot/,
    eg.                                                                                                                                            


    <br>
    #          root
    (hd0,0)                                                                                                                                                                                       


    <br>
    #          kernel /vmlinuz-version ro
    root=/dev/mapper/vg_cmhinfra1-lv_root                                                                                                                                   


    <br>
    #          initrd
    /initrd-[generic-]version.img                                                                                                                                                               


    <br>
    #boot=/dev/sdb                                                                                                                                                                                                


    <br>
    default=0                                                                                                                                                                                                     


    <br>
    timeout=5                                                                                                                                                                                                     


    <br>
    #splashimage=(hd0,0)/grub/splash.xpm.gz                                                                                                                                                                       


    <br>
    #hiddenmenu                                                                                                                                                                                                   


    <br>
    serial --unit=1
    --speed=57600                                                                                                                                                                                 


    <br>
    terminal --timeout console
    serial                                                                                                                                                                             


    <br>
                                                                                                                                                                                                                  


    <br>
    title CentOS
    (3.18.17-13.el6.x86_64)                                                                                                                                                                          


    <br>
            root
    (hd0,0)                                                                                                                                                                                          


    <br>
            kernel /xen.gz  dom0_mem=1024M,max:1024M  loglvl=all
    guest_loglvl=all console=tty0 console=com2
    com2=57600                                                                                            

    <br>
            module /vmlinuz-3.18.17-13.el6.x86_64 ro
    root=/dev/mapper/vg_cmhinfra1-lv_root rd_LVM_LV=vg_cmhinfra1/lv_swap
    rd_LVM_LV=vg_cmhinfra1/lv_root console=hvc0 
    nomodset                                    <br>
            module 
    /initramfs-3.18.17-13.el6.x86_64.img                                                                                                                                                          


    <br>
    title CentOS
    (2.6.32-573.7.1.el6.x86_64)                                                                                                                                                                      


    <br>
            root
    (hd0,0)                                                                                                                                                                                          


    <br>
            kernel /vmlinuz-2.6.32-573.7.1.el6.x86_64 ro
    root=/dev/mapper/vg_cmhinfra1-lv_root rd_NO_LUKS  KEYBOARDTYPE=pc
    KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_cmhinfra1/lv_swap
    SYSFONT=latarcyrheb-sun16 crashkernel=auto
    rd_LVM_LV=vg_cmhinfra1/lv_root rd_NO_DM rhgb quiet
    console=ttyS1,57600 console=tty0<br>
    <br>
            initrd /initramfs-2.6.32-573.7.1.el6.x86_64.img<br>
  </body>
</html>