zoukankan      html  css  js  c++  java
  • Add LUN to ASM in Linux


    # Create new LUN for Linux in the AMS2100


    # echo "- - -" >/sys/class/scsi_host/host3/scan (rescan FC host adaptors for new LUNs)
    # echo "- - -" >/sys/class/scsi_host/host4/scan (rescan FC host adaptors for new LUNs)

    [Don't use this command, 'echo “1″ > /sys/class/fc_host/host0/issue_lip'; this caused a scsi_reset eventually leading to a host reboot  ]

    # multipath -v2 (print all info : detected paths, coalesced paths (ie multipaths) and device maps)

    # multipath -ll >/tmp/multipath.txt (collect all the mpath devices as these will be the unaliased devices)

    # cp /etc/multipath.conf /tmp/multipath.conf.1

    # vim /etc/multipath.conf (edit this file for the WWNN and alias of the new LUNs -DG1_21)

    # /etc/init.d/multipathd restart (restart multipath service, make new multipath alias effective)


    # parted (use parted as partition tool when > 2T)

    # select /dev/mpath/DG1_21 (choose a new multipath alias)

    # mklabel msdos

    # mkpart pri 63s 250G

    # exit

    # /etc/init.d/dgpart restart (make partition effective)

  • 相关阅读:
    Android 六种核心安全机制
    Android 网络通信 HTTP
    Android Thread和AsyncTask
    C#(少用的)
    Asp.net动态生成表单
    设计模式--职责链(学习)
    Extjs表单验证小结
    C#框架
    Javascript获取IFrame内容(兼容IE&FF)
    最近在忙淘宝店的事
  • 原文地址:https://www.cnblogs.com/oskb/p/3310410.html
Copyright © 2011-2022 走看看