On 10/26/2009 11:14 AM, Tomasz Chmielewski wrote: > > Works for me. > > If you do: > > tgt-admin -e -v > > Do you see the following output? > > > # Device /mnt/1/notape1 is used (already tgtd target?). > # Run 'lsof /mnt/1/notape1' to see the details. > # Skipping device /mnt/1/notape1 - it is in use. > # You can override it with --force or 'allow-in-use yes' config option. > > > By default, we don't allow to use one block device more than once, as > it can mean corruption when used by more than one initiator. > > > If this was the case for you, just add "allow-in-use yes" to the > target configuration: > > > <target iqn.2008-09.com.example:server.tape> > allow-in-use yes > <backing-store /mnt/1/notape> > lun 1 > (...) Hi Tomasz, yes, that was exactly it. I wasn't aware of the allow-in-use option, but it works. Now the only other thing left is the multiple element_type stuff used for the changer device. Albert -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html |