I successfully added an iSCSI target in VirtManager using '/dev/disk/by-path' 
as the Target Path, and can now see the LUN on that target in the Volumes 
listing.

However, I do not appear able to use this LUN as a location to store a file 
image when setting up a new VM.

If I use the path '/dev/disk/by-path/somepath/vm.img' as a storgae location and 
set an image size of say 20,000MB, I get a message saying that the requested 
size is greater than 1978MB (or a very similar number), which is of course 
true. But that LUN is 20GB in size.

Not finding any way around this, independently of VirtManager I mounted the 
iSCSI LUN to a point in the filesystem (/vmscsi), set the correct SELinux 
context on that mount point, and then set up that mount point as a simple FS 
(filesystem) storage location.

VM file images now happily install to that location, which is in effect the 
same location I was trying to use initially.

I must be missing something basic here, any comments?

Thanks again.

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to