[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] v3 - Add exclusive locking option to block-iscsi
On 2016-05-12 21:02, Wei Liu wrote: Hi Steven On Mon, May 09, 2016 at 02:22:48PM +1000, Steven Haigh wrote:On 2016-05-05 15:52, Steven Haigh wrote: >On 2016-05-05 12:32, Steven Haigh wrote: >>Overview >> >>If you're using iSCSI, you can mount a target by multiple Dom0 >>machines on the same target. For non-cluster aware filesystems, this >>can lead to disk corruption and general bad times by all. The iSCSI >>protocol allows the use of persistent reservations as per the SCSI >>disk spec. Low level SCSI commands for locking are handled by the >>sg_persist program (bundled with sg3_utils package in EL). >> >>The aim of this patch is to create a 'locktarget=y' option specified >>within the disk 'target' command for iSCSI to lock the target in >>exclusive mode on VM start with a key generated from the local systems >>IP, and release this lock on the shutdown of the DomU. >> >>Example Config: >>disk = >>['script=block-iscsi,vdev=xvda,target=iqn=iqn.1986-03.com.sun:02:mytarget,portal=iscsi.example.com,locktarget=y']You seem to suggest an extension (locktarget) to disk spec as well but you patch doesn't contain modification to docs/txt/misc/xl-disk-configuration.txt. Correct. There is no documentation for the existing block-iscsi script within xl-disk-configuration.txt. In fact, there is no mention at all regarding block-iscsi in any of the documentation that I can see. -- Steven Haigh Email: netwiz@xxxxxxxxx Web: https://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |