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)

  • 相关阅读:
    316. 去除重复字母
    331. 验证二叉树的前序序列化
    225. 用队列实现栈
    197. 上升的温度
    178. 分数排名
    177. 第N高的薪水
    小程序导航
    css3、js动画特效
    背景透明css
    h5新标签IE8不兼容怎么办?
  • 原文地址:https://www.cnblogs.com/oskb/p/3310410.html
Copyright © 2011-2022 走看看