[stgt] [PATCH 1/1] Add DISK media support to TGTIMG

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Mon Apr 5 08:26:59 CEST 2010

On Mon, 5 Apr 2010 16:09:05 +1000
ronnie sahlberg <ronniesahlberg at gmail.com> wrote:

> >> -     dd if=/dev/zero bs=1k count=1 seek=1048575 of=/tmp/tid1lun1
> >> +     ./tgtimg --op new --device-type disk --type disk --size 1024 \
> >> +              --file /tmp/tid1lun1
> >
> > The operations are slightly different. The previous operation using dd
> > creates a sparse file. tgtimg doesn't.
> >
> > Worth adding the sparse option to tgtimg? I'm not sure.
> ((there is no sense code for "filesystem full))

t10 invented sense code like that for thin provisioning support?
(needs to check the latest spec though).

> I can add a --sparse if you want one.

Let's wait until someone asks for. Advanced users can use a sparse
file anyway.
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

More information about the stgt mailing list