i'm thinking about installing and setting up iscsitarget on my Debian squeeze box. so far, the examples i saw on various Google searches and the debian wiki: http://wiki.debian.org/SAN/iSCSI/iscsitarget set the path to unmounted devices like /dev/sda1 or /dev/sda. is it possible to set the path to a folder on a mounted filesystem instead? like: /home/iscsi_target
iscsi target to a folder of a mounted parition?
debian;networking;filesystems
No, it is not possible.  iSCSI exports a whole disk over the network for another machine to access directly, using its own filesystem drivers.  A directory is not a disk.If you want to share files and directories, then you need to use a network filesystem, like NFS or CIFS/Samba.