CAM Target Layer available
julian at freebsd.org
Thu Jan 5 09:03:11 UTC 2012
On 1/4/12 8:39 PM, Kenneth D. Merry wrote:
> The CAM Target Layer (CTL) is now available for testing. I am planning to
> commit it to to head next week, barring any major objections.
> CTL is a disk and processor device emulation subsystem originally written
> for Copan Systems under Linux starting in 2003. It has been shipping in
> Copan (now SGI) products since 2005.
> It was ported to FreeBSD in 2008, and thanks to an agreement between SGI
> (who acquired Copan's assets in 2010) and Spectra Logic in 2010, CTL is
> available under a BSD-style license. The intent behind the agreement was
> that Spectra would work to get CTL into the FreeBSD tree.
> - Note that the ramdisk backend is a "fake" ramdisk. That is, it is
> backed by a small amount of RAM that is used for all I/O requests. This
> is useful for performance testing, but not for any data integrity tests.
so, If I read this correctly, I should be able to export a fusion-io
flash card with
ctladm create -b block -o file=/dev/fio0 ??
> - To add a LUN with the block/file backend:
> truncate -s +1T myfile
> ctladm create -b block -o file=myfile
> ctladm port -o on
More information about the freebsd-current