Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2020 09:23:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 251181] [iscsi][doc] ctladm.8 misleading examples
Message-ID:  <bug-251181-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251181

            Bug ID: 251181
           Summary: [iscsi][doc] ctladm.8 misleading examples
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: rm@FreeBSD.org
                CC: doc@FreeBSD.org

Created attachment 219725
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219725&action=
=3Dedit
screenshot of a problem

May be I'm missing something, but it looks like something else supposed to =
be
used as a backing store pathname in examples (see screenshot attached)


Here is what in ctladm.8 man-page (/usr/src/usr.sbin/ctladm/ctladm.8):

Create a LUN using the block backend, and specify the file
.Pa src/usr.sbin/ctladm/ctladm.8
as the backing store.
The size of the LUN will be derived from the size of the file.
.Pp
.Dl ctladm create -b block -o file=3Dsrc/usr.sbin/ctladm/ctladm.8
.Pp
Create a LUN using the block backend, specify the file
.Pa src/usr.sbin/ctladm/ctladm.8
as the backing store, and specify the
.Tn SCSI
VPD page 0x80 and 0x83 serial number
.Fl ( S )
and device ID
.Fl ( d ) .
.Pp
.Dl ctladm create -b block -o file=3Dsrc/usr.sbin/ctladm/ctladm.8 -S MYSERI=
AL321
-d MYDEVID123
.Pp


PS. For some reason bugzilla fails to generate Preview when clicking Preview
tab here.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251181-9>