h1. How to Create a File-Based SCSI Logical Unit
This procedure shows you how to create a regular, file-based SCSI logical unit, with a 10-Gbyte backing store.
# Initialize the file.
{code}
# mkfile 10g /lu_0_store
{code}
# Create a logical unit by using a backing store.
{code}
# sbdadm create-lu /lu_0_store
{code}
{code}
Created the following LU:
GUID DATA SIZE SOURCE
-------------------------------- ------------------- ----------------
6000ae4000144f972b2e486291410001 10737352704 /lu_0_store
{code}
# Verify the creation of the logical unit.
{code}
# sbdadm list -lu
{code}
h2. Where to Go Next
* [How to Make SCSI Logical Units Available]
* [How to Configure an iSCSI Target for Discovery]
This procedure shows you how to create a regular, file-based SCSI logical unit, with a 10-Gbyte backing store.
# Initialize the file.
{code}
# mkfile 10g /lu_0_store
{code}
# Create a logical unit by using a backing store.
{code}
# sbdadm create-lu /lu_0_store
{code}
{code}
Created the following LU:
GUID DATA SIZE SOURCE
-------------------------------- ------------------- ----------------
6000ae4000144f972b2e486291410001 10737352704 /lu_0_store
{code}
# Verify the creation of the logical unit.
{code}
# sbdadm list -lu
{code}
h2. Where to Go Next
* [How to Make SCSI Logical Units Available]
* [How to Configure an iSCSI Target for Discovery]