/usr/bin/tgt-setup-lun: illegal option -- - usage: tgt-setup-lun -n tgt_name -d dev -b bs_name -B block_size -t transport -C control_port [initiator_IP1 initiator_IP2 ...] defaults: backing store: rdwr transport: iscsi initiator: ALL control port: - examples: tgt-setup-lun -n tgt-1 -d /dev/sdb1 192.168.1.2 tgt-setup-lun -n tgt-2 -d /tmp/null -b null -t iser tgt-setup-lun -n tgt-3 -d ~/disk3.bin -b rdwr 192.168.1.2 192.168.1.3 WARNING: Please remember to set blocksize to 4096 for newer Advanced Format (4K) disks larger than 2TB. Otherwise, your existing filesystems will not be readable.