[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH 4/4] stub server side mount command



On Fri, May 10, 2013 at 01:37:41PM +0100, Richard W.M. Jones wrote:
> and it could do iscsi too with very minimal effort.  Are we really
> interested in iscsi?  If so I'll add it.

I've added iSCSI support:

https://github.com/libguestfs/libguestfs/commit/8b271101a1724bab926c65c77436d8128bf1c2df

However I can't get it to work.  Writes simply appear to be ignored
(not an error - just dropped on the floor).  I'm not sure if this is a
shortcoming of the qemu driver, or my iSCSI server, but it's not a
problem with libguestfs (which just passes the iSCSI connection
details over to qemu).

There are some actual shortcomings in the libguestfs implementation
though:

(1) Authentication is not supported.  We could add that fairly easily.

(2) ':' in target names is not supported.  qemu doesn't allow one to
pass ':' on the command line ordinarily, but for iscsi:// URIs it does
in fact allow it.  However libguestfs is overcautious in checking for
':' characters in filenames.  We should fix this.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]