CAM Target Layer, Linux and camcontrol readcap

Chuck Tuffli ctuffli at gmail.com
Wed Sep 26 14:29:10 UTC 2012


On Wed, Sep 26, 2012 at 1:33 AM, Nikolay Denev <ndenev at gmail.com> wrote:
> Hi,
>
> I'm running RELENG_9 and I'm trying to play with CTL.
> Initially I've setup an isp(4) interface in TARGET mode and tried to export a LUN to a directly connected
> Linux RHEL host, but for some reason that failed with the block backend (ramdisk was exported properly) :
>
> This is how I export the volume :
>
> zfs create -V1000G tank/oracle
> ctladm create -b block -o file=/dev/zvol/tank/oracle -S ZFSSERIAL001 -d ZFSLUN001
> ctladm port -o on
> ctladm realsync off

This is similar to what I do, but you might try turning off realsync
before turning the port on and only turning on the FC ports. I.e.

   ctladm realsync off
   ctladm port -o on -t fc

If that doesn't help, it would be interesting to see if something is stuck via

   ctladm dumpooa

---chuck


More information about the freebsd-stable mailing list