The process for creating LUNs on vFiler units is slightly different from creating LUNs on other storage systems.
Before You Begin
MultiStore vFiler technology is supported for the iSCSI protocol only. You must purchase a MultiStore license to create vFiler units. Then you can enable the iSCSI license for each vFiler to manage LUNs (and igroups) on a per vFiler basis.
Note: SnapDrive can only connect to and manage LUNs on the hosting storage system (vfiler0), not to vFiler units.
Use the following guidelines when creating LUNs on vFiler units.
- The vFiler unit access rights are enforced when the storage system processes iSCSI host requests.
- LUNs inherit vFiler unit ownership from the storage unit on which they are created. For example, if /vol/vfstore/vf1_0 is a qtree owned by vFiler unit vf1, all LUNs created in this qtree are owned by vf1.
- As vFiler unit ownership of storage changes, so does ownership of the storage’s LUNs.
Considerations
You can issue LUN subcommands using the following methods:
- From the default vFiler unit (vfiler0) on the hosting storage system, you can do the following:
- Enter the vfiler run * lun subcommand., which runs the lun subcommand on all vFiler units.
- Run a LUN subcommand on a specific vFiler unit. To access a specific vFiler unit, you change the vFiler unit context by entering the following commands: filer> vfiler context vfiler_namevfiler_name@filer> lun subcommand
- From non-default vFiler units, you can:
- Enter the vfiler run * lun command
Step
-
Enter the lun create command in the vFiler unit context that owns the storage, as follows: vfiler run vfiler_name lun create -s 2g -t os_type /vol/vfstore/vf1_0/lun0
Example
The following command creates a LUN on a vFiler unit at /vol/vfstore/vf1_0: vfiler run vf1 lun create -s 2g -t windows /vol/vfstore/vf1_0/lun0
See the Data ONTAP Multistore Management Guide for more information.