Linux on SAN and iSCSI

    版本為 14:38, 6 Oct 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    使用 Linux 在 SAN 的儲存架構下

    更多文章:

    Q & A

    Q: 如何找出 HBA Card 的 port WWN

    方法一:
    /sys/class/fc_host/{host#}/port_name

    #> cat /sys/class/fc_host/host5/port_name
    0x2100001b32837bcd
    

    方法二:
    /proc/scsi/{adapter-type}/{host#}

    #> cat /proc/scsi/qla2xxx/2
    
    SCSI Device Information:
    scsi-qla0-adapter-node=5001438004253c81;
    scsi-qla0-adapter-port=5001438004253c80; <---- WWN
    scsi-qla0-target-0=50001fe1500e28fd;
    scsi-qla0-target-1=50001fe1500e28f9;
    scsi-qla0-target-2=500a09829140a66c;
    
    Q: 如何查詢 mpathX 所對應的 Device Mapper(dm-X)
    Powered by MindTouch Core