On Mon, Aug 3, 2015 at 11:13 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: > > > On 03/08/2015 09:47, Andrey Korolyov wrote: >> I`ve mistyped lun for tgtd upon volume hotplug, which resulted in an >> accidental crash, there is nothing but human factor. Until only LUN0 >> may possess such unusual properties, I`d vote to explicitly work it >> around instead of adding generic protection from volumes with >> advertized zero block size. > > It's only tgtd, as far as I know, that makes LUN0 special. With lio > (in-kernel target), for example, you can associate any kind of LUN to > any LUN number. > > Paolo
It`s quite controversial point, for example take a look on https://lkml.org/lkml/2012/11/27/330. Anyway, if the lio does provide storage on LUN0, my point from above is no longer valid, because I had no references from quick googling confirming such a possibility.