Resizing an iSCSI Target from the iscsitadm doesn't work. Since you're
using ZFS as the backing store I would suggest that you use ZFS's
shareiscsi feature which will enable the iSCSI target to pick up the
ZVOL size each time it's exported.

On 6/11/07, Steve Ladendorf <[EMAIL PROTECTED]> wrote:




Can someone please tell me what I am doing wrong?  I have been struggling
with trying to modify a zfs iSCSI target and can't figure out what I am
doing wrong.



Here is what I've been trying;



# iscsitadm modify target --size 15g test-zvol

iscsitadm: Error Missing iscsi name in target configuration

# iscsitadm modify target --size 15g
iqn.1986-03.com.sun:02:e951a9d7-8082-e11a-b3fa-b3c7954c0dab.test-zvol

iscsitadm: Error Target not found



I can do this without a problem so I'm pretty sure I have the target name
correct;

# iscsitadm modify target -l testacl test-zvol



Here is the output from list target;

# iscsitadm list target -v test-zvol

Target: test-zvol

    iSCSI Name:
iqn.1986-03.com.sun:02:e951a9d7-8082-e11a-b3fa-b3c7954c0dab.test-zvol

    Connections: 2

        Initiator:

    ACL list:

    TPGT list:

    LUN information:

        LUN: 0

            GUID: 01000014384e5add00002a0046656713

            VID: SUN

            PID: SOLARIS

            Type: disk

            Size:   10G

            Backing store: /dev/zvol/dsk/iscsi-pool1/tgt1

            Status: online





Thanks in advance for any help!


_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss




--
Rick McNeal

A good friend will come and bail you out of jail ... but, a true
friend will be sitting next to you saying, "Damn .. that was fun!"
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to