Can't add LUN's to the iscsi target specifying the bstype as "aio"

Solution Unverified - Updated -

Issue

Trying to start tgtd with a target having a lun with backing store bstype as aio, fails with the following error.

#service tgtd start
Starting SCSI target daemon: [  OK  ]
tgtadm: invalid request
Command:
        tgtadm -C 0 --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/vgdata/wcrepo01  --bstype aio 
exited with code: 22.

Environment

  • Red Hat Enterprise Linux 6
  • scsi-target-utils-1.0.24-2.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.