分类: iscsi

  • Export disk volume from TrueNas via iSCSI protocol

    We can export an virtual volume (zvol) on TrueNas, thanks to the iSCSI protocol.

    Storage

    Create a pool

    Create a zvol from the pool

    Sharing / Block/Shars (iscsi)

    Target Global Configuration: Modify iqn if necessary

    Portals: Add a portal with IP 0.0.0.0

    Initiators Groups: Add a initiator with feature of “Allow All initiators”

    Authorized Access: No modification

    Targets: Add a target with the above portal id, initiator id

    Extents: Add a extent with created pool/zvol

    Associated Targets: Add an associated target with created target and extent

    Services

    Launch iscsi service, and start it automaticlly

  • VMware Storage Best Practices

    Patrick Carmichael   – Escalation Engineer, Global Support Services.
  • Install windows7 onto iscsi target: Server Setup

    A PC (IP=192.168.127.88) with ubuntu/debian installed is used as:

    TFTP server

            HTTP Server

            CIFS Server

            ISCSI Server (Target)

     

    TFTP server

    #  Setup tftp server

    apt-get install tftpd-hpa

    /etc/init.d/tftpd-hpa start

     

    #  Testing tftp server

    apt-get install tftp

    uname -a >/srv/tftp/test

    tftp 127.0.0.1

    >get test

    >quit

    diff test /srv/tftp/test

     

    # Install syslinux 4.x  (SYSLINUX 4.0.1 debian-20100714)

    apt-get install syslinux
    
    
    cp /usr/lib/syslinux/pxelinux.0 /srv/tftp/
    
    # copy other interested support files
    cp /usr/lib/syslinux/menu.c32 /srv/tftp
    cp /usr/lib/syslinux/memdisk /srv/tftp
    cp /usr/lib/syslinux/mboot.c32 /srv/tftp
    cp /usr/lib/syslinux/chain.c32 /srv/tftp
    mkdir -pv /srv/tftp/pxelinux.cfg

    To simplify the script across ubuntu and debian,  create the /tftp linkto the actual tftp root directory (/srv/tftp in case)

     

     

  • Install windows7 onto iscsi target: Overview

    Target:

    Install windows7 from ISO file on Cifs server, onto to the iscsi target.

    With the help of the following software:

       pxe/ipxe

       http

       cifs

       winpe

     

     

    Test Environment:

    Server:      Linux PC,  IP_Server=192.168.127.88

    Including tftp/samba/iscsc server

    Client:       Diskless Virtual Box on window7

    Router:     DDWRT with IP_router=192.168.127.2

     

    (更多…)