[Discuss] iscsitarget

Matthew Kowalski matt.kowalski at gmail.com
Mon Apr 30 23:22:16 EDT 2012


I'm playing with Ubuntu 12.04 LTS and iscsitarget with a Windows 7 initiator.

I was able to create a 20GB file with:

dd if=/dev/zero of=lun1.img bs=1024k count=20000

I can then mount that iSCSI target on my Windows 7 machine and see an
unallocated disk which I can format and use.  My question is how do I
expand the lun1.img file to grow the target to say 40GB, etc?

I can do this with a Synology NAS but I can't seem to figure it out
with Ubuntu.

Any ideas?

Thanks,
Matt



More information about the Discuss mailing list